List Issue Events For A Repository
Lists events for a repository.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_ISSUE_EVENTS_FOR_A_REPOSITORY])
Issues List Events For Repo
Lists events for a repository.<<DEPRECATED use list_issue_events_for_a_repository>>
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_ISSUES_LIST_EVENTS_FOR_REPO])
Get An Issue Event
Gets a single event by the event id.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_GET_AN_ISSUE_EVENT])
Get An Issue
GitHub API marks issue transfers with `301`, restricts access with `404`,
signals deletions with `410`, and tracks updates via the `issues` webhook.
PRs are tagged as issues with a `pull_reque
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_GET_AN_ISSUE])
Issues Get
GitHub API marks issue transfers with `301`, restricts access with `404`,
signals deletions with `410`, and tracks updates via the `issues` webhook.
PRs are tagged as issues with a `pull_reque
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_ISSUES_GET])
Update An Issue
Issue owners and users with push access can edit issues. The endpoint supports
different media types for markdown formatting, including raw, text, HTML
representations, and a combination of al
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_UPDATE_AN_ISSUE])
Add Assignees To An Issue
Adds up to 10 assignees to an issue. Users already assigned to an issue
are not replaced.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_ADD_ASSIGNEES_TO_AN_ISSUE])
Remove Assignees From An Issue
Removes one or more assignees from an issue.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_REMOVE_ASSIGNEES_FROM_AN_ISSUE])
Check If A User Can Be Assigned To A Issue
Checks if a user has permission to be assigned to a specific issue. If the
`assignee` can be assigned to this issue, a `204` status code with no content
is returned. Otherwise a `404` status c
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_CHECK_IF_A_USER_CAN_BE_ASSIGNED_TO_A_ISSUE])
List Issue Events
Lists all events for an issue.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_ISSUE_EVENTS])
List Labels For An Issue
Lists all labels for an issue.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_LABELS_FOR_AN_ISSUE])
Add Labels To An Issue
Adds labels to an issue. If you provide an empty array of labels, all labels
are removed from the issue.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_ADD_LABELS_TO_AN_ISSUE])
Set Labels For An Issue
Removes any previous labels and sets the new labels for an issue.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_SET_LABELS_FOR_AN_ISSUE])
Remove All Labels From An Issue
Removes all labels from an issue.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_REMOVE_ALL_LABELS_FROM_AN_ISSUE])
Remove A Label From An Issue
Removes the specified label from the issue, and returns the remaining labels
on the issue. This endpoint returns a `404 Not Found` status if the label
does not exist.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_REMOVE_A_LABEL_FROM_AN_ISSUE])
Lock An Issue
Users with push access can lock conversations in issues or pull requests.
Without parameters, set `Content-Length` to zero. More info at GitHub's
REST API guide.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LOCK_AN_ISSUE])
Unlock An Issue
Users with push access can unlock an issue's conversation.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_UNLOCK_AN_ISSUE])
List Timeline Events For An Issue
List all timeline events for an issue.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_TIMELINE_EVENTS_FOR_AN_ISSUE])
List Labels For A Repository
Lists all labels for a repository.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_LABELS_FOR_A_REPOSITORY])
Create A Label
Creates a label for the specified repository with the given name and color.
The name and color parameters are required. The color must be a valid [hexadecimal
color code](http://www.color-hex.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_CREATE_A_LABEL])
Get A Label
Gets a label using the given name.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_GET_A_LABEL])
Update A Label
Updates a label using the given label name.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_UPDATE_A_LABEL])
Delete A Label
Deletes a label using the given label name.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_DELETE_A_LABEL])
List Milestones
Lists milestones for a repository.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_MILESTONES])
Create A Milestone
Creates a milestone.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_CREATE_A_MILESTONE])
Get A Milestone
Gets a milestone using the given milestone number.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_GET_A_MILESTONE])
Update A Milestone
Update a milestone in a GitHub repo by specifying its number. Supports changing
its title, state, description, and due date. Refer to [GitHub Docs](https://docs.github.com/rest/issues/milestones#u
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_UPDATE_A_MILESTONE])
Delete A Milestone
Deletes a milestone using the given milestone number.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_DELETE_A_MILESTONE])
List Labels For Issues In A Milestone
Lists labels for issues in a milestone.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_LABELS_FOR_ISSUES_IN_A_MILESTONE])