This documentation describes the Gitea API.
/api/v1325 endpoints available
/orgsGet list of organizations
/orgsCreate an organization
/userGet the authenticated user
/versionReturns the version of the Gitea application
/markdownRender a markdown document as HTML
/nodeinfoReturns the nodeinfo of the Gitea application
/user/keysList the authenticated user's public keys
/user/keysCreate a public key
/user/orgsList the current user's organizations
/admin/cronList cron tasks
/admin/orgsList all organizations
/orgs/{org}Get an organization
/orgs/{org}Edit an organization
/orgs/{org}Delete an organization
/teams/{id}Get a team
/teams/{id}Edit a team
/teams/{id}Delete a team
/user/reposList the repos that the authenticated user owns
/user/reposCreate a repository
/user/teamsList all the teams a user belongs to
/user/timesList the current user's tracked times
/admin/hooksList system's webhooks
/admin/hooksCreate a hook
/admin/usersList all users
/admin/usersCreate a user
/settings/uiGet instance's global settings for ui
/user/emailsList the authenticated user's email addresses
/user/emailsAdd email addresses
/user/emailsDelete email addresses
/markdown/rawRender raw markdown as HTML
/repos/searchSearch for repositories
/settings/apiGet instance's global settings for api
/user/starredThe repos that the authenticated user has starred
/users/searchSearch for users
/notificationsList users's notification threads
/notificationsMark notification threads as read, pinned or unread
/repos/migrateMigrate a remote git repository
/topics/searchsearch topics via keyword
/user/gpg_keysList the authenticated user's GPG keys
/user/gpg_keysCreate a GPG key
/user/settingsGet user settings
/user/settingsUpdate user settings
/user/followersList the authenticated user's followers
/user/followingList the users that the authenticated user is following
/user/keys/{id}Get a public key
/user/keys/{id}Delete a public key
/admin/unadoptedList unadopted repositories
/org/{org}/reposCreate a repository in an organization
/signing-key.gpgGet default signing-key.gpg
/admin/hooks/{id}Get a hook
/admin/hooks/{id}Update a hook
/amdin/hooks/{id}Delete a hook
/orgs/{org}/hooksList an organization's webhooks
/orgs/{org}/hooksCreate a hook
/orgs/{org}/reposList an organization's repos
/orgs/{org}/reposCreate a repository in an organization
/orgs/{org}/teamsList an organization's teams
/orgs/{org}/teamsCreate a team
/packages/{owner}Gets all packages of an owner
/teams/{id}/reposList a team's repos
/user/stopwatchesGet list of all existing stopwatches
/users/{username}Get a user
/admin/cron/{task}Run cron task
/notifications/newCheck if unread notifications exist
/orgs/{org}/labelsList an organization's labels
/orgs/{org}/labelsCreate a label for an organization
/repositories/{id}Get a repository by id
/orgs/{org}/membersList an organization's members
/teams/{id}/membersList a team's members
/user/gpg_key_tokenGet a Token to verify
/user/gpg_keys/{id}Get a GPG key
/user/gpg_keys/{id}Remove a GPG key
/user/subscriptionsList repositories watched by the authenticated user
/repos/issues/searchSearch for issues across the repositories that the user has access to
/settings/attachmentGet instance's global settings for Attachment
/settings/repositoryGet instance's global settings for repositories
/user/gpg_key_verifyVerify a GPG key
/repos/{owner}/{repo}Get a repository
/repos/{owner}/{repo}Edit a repository's properties. Only fields that are set will be changed.
/repos/{owner}/{repo}Delete a repository
/orgs/{org}/hooks/{id}Get a hook
/orgs/{org}/hooks/{id}Update a hook
/orgs/{org}/hooks/{id}Delete a hook
/users/{username}/keysList the given user's public keys
/users/{username}/orgsList a user's organizations
/admin/users/{username}Edit an existing user
/admin/users/{username}Delete a user
/orgs/{org}/labels/{id}Get a single label
/orgs/{org}/labels/{id}Update a label
/orgs/{org}/labels/{id}Delete a label
/users/{username}/reposList the repos owned by the given user
/orgs/{org}/teams/searchSearch for teams within an organization
/users/{username}/tokensList the authenticated user's access tokens
/users/{username}/tokensCreate an access token
/user/applications/oauth2List the authenticated user's oauth2 applications
/user/applications/oauth2creates a new OAuth2 application
/users/{username}/heatmapGet a user's heatmap
/users/{username}/starredThe repos that the given user has starred
/orgs/{org}/public_membersList an organization's public members
/repos/{owner}/{repo}/keysList a repository's keys
/repos/{owner}/{repo}/keysAdd a key to a repository
/repos/{owner}/{repo}/tagsList a repository's tags
/repos/{owner}/{repo}/tagsCreate a new git tag in a repository
/user/following/{username}Check whether a user is followed by the authenticated user
/user/following/{username}Follow a user
/user/following/{username}Unfollow a user
/users/{username}/gpg_keysList the given user's GPG keys
/notifications/threads/{id}Get notification thread by ID
/notifications/threads/{id}Mark notification thread as read by ID
/repos/{owner}/{repo}/forksList a repository's forks
/repos/{owner}/{repo}/forksFork a repository
/repos/{owner}/{repo}/hooksList the hooks in a repository
/repos/{owner}/{repo}/hooksCreate a hook
/repos/{owner}/{repo}/pullsList a repo's pull requests
/repos/{owner}/{repo}/pullsCreate a pull request
/repos/{owner}/{repo}/teamsList a repository's teams
/repos/{owner}/{repo}/timesList a repo's tracked times
/users/{username}/followersList the given user's followers
/users/{username}/followingList the users that the given user is following
/activitypub/user/{username}Returns the Person actor for a user
/admin/users/{username}/keysAdd a public key on behalf of a user
/admin/users/{username}/orgsCreate an organization
/repos/{owner}/{repo}/issuesList a repository's issues
/repos/{owner}/{repo}/issuesCreate an issue. If using deadline only the date will be taken into account, and time of day ignored.
/repos/{owner}/{repo}/labelsGet all of a repository's labels
/repos/{owner}/{repo}/labelsCreate a label
/repos/{owner}/{repo}/topicsGet list of topics that a repository has
/repos/{owner}/{repo}/topicsReplace list of topics for a repository
/user/starred/{owner}/{repo}Whether the authenticated is starring the repo
/user/starred/{owner}/{repo}Star the given repo
/user/starred/{owner}/{repo}Unstar the given repo
/admin/users/{username}/reposCreate a repository on behalf of a user
/repos/{owner}/{repo}/commitsGet a list of all commits from a repository
/orgs/{org}/members/{username}Check if a user is a member of an organization
/orgs/{org}/members/{username}Remove a member from an organization
/repos/{owner}/{repo}/branchesList a repository's branches
/repos/{owner}/{repo}/branchesCreate a branch
/repos/{owner}/{repo}/contentsGets the metadata of all the entries of the root dir
/repos/{owner}/{repo}/git/refsGet specified ref or filtered repository's refs
/repos/{owner}/{repo}/releasesList a repo's releases
/repos/{owner}/{repo}/releasesCreate a release
/repos/{owner}/{repo}/transferTransfer a repo ownership
/repos/{owner}/{repo}/wiki/newCreate a wiki page
/teams/{id}/members/{username}List a particular member of team
/teams/{id}/members/{username}Add a team member
/teams/{id}/members/{username}Remove a team member
/teams/{id}/repos/{org}/{repo}List a particular repo of team
/teams/{id}/repos/{org}/{repo}Add a repository to a team
/teams/{id}/repos/{org}/{repo}Remove a repository from a team
/user/applications/oauth2/{id}get an OAuth2 Application
/user/applications/oauth2/{id}update an OAuth2 Application, this includes regenerating the client secret
/user/applications/oauth2/{id}delete an OAuth2 Application
/admin/unadopted/{owner}/{repo}Adopt unadopted files as a repository
/admin/unadopted/{owner}/{repo}Delete unadopted files
/repos/{owner}/{repo}/assigneesReturn all users that have write access and can be assigned to issues
/repos/{owner}/{repo}/diffpatchApply diff patch to repository
/repos/{owner}/{repo}/hooks/gitList the Git hooks in a repository
/repos/{owner}/{repo}/keys/{id}Get a repository's key by id
/repos/{owner}/{repo}/keys/{id}Delete a key from a repository
/repos/{owner}/{repo}/languagesGet languages and number of bytes of code written
/repos/{owner}/{repo}/reviewersReturn all users that can be requested to review in this repo
/users/{username}/subscriptionsList the repositories watched by a user
/repos/{owner}/{repo}/hooks/{id}Get a hook
/repos/{owner}/{repo}/hooks/{id}Edit a hook in a repository
/repos/{owner}/{repo}/hooks/{id}Delete a hook in a repository
/repos/{owner}/{repo}/milestonesGet all of a repository's opened milestones
/repos/{owner}/{repo}/milestonesCreate a milestone
/repos/{owner}/{repo}/stargazersList a repo's stargazers
/repos/{owner}/{repo}/tags/{tag}Get the tag of a repository by tag name
/repos/{owner}/{repo}/tags/{tag}Delete a repository's tag by name
/repos/{owner}/{repo}/wiki/pagesGet all wiki pages
/users/{username}/tokens/{token}delete an access token
/admin/users/{username}/keys/{id}Delete a user's public key
/repos/{owner}/{repo}/labels/{id}Get a single label
/repos/{owner}/{repo}/labels/{id}Update a label
/repos/{owner}/{repo}/labels/{id}Delete a label
/repos/{owner}/{repo}/mirror-syncSync a mirrored repository
/repos/{owner}/{repo}/subscribersList a repo's watchers
/activitypub/user/{username}/inboxSend to the inbox
/repos/{owner}/{repo}/push_mirrorsGet all push mirrors of the repository
/repos/{owner}/{repo}/push_mirrorsadd a push mirror to the repository
/repos/{owner}/{repo}/subscriptionCheck if the current user is watching a repo
/repos/{owner}/{repo}/subscriptionWatch a repo
/repos/{owner}/{repo}/subscriptionUnwatch a repo
/repos/{owner}/{repo}/teams/{team}Check if a team is assigned to a repository
/repos/{owner}/{repo}/teams/{team}Add a team to a repository
/repos/{owner}/{repo}/teams/{team}Delete a team from a repository
/repos/{owner}/{repo}/times/{user}List a user's tracked times in a repo
/repos/{owner}/{repo}/collaboratorsList a repository's collaborators
/repos/{owner}/{repo}/notificationsList users's notification threads on a specific repo
/repos/{owner}/{repo}/notificationsMark notification threads as read, pinned or unread on a specific repo
/repos/{owner}/{repo}/pulls/{index}Get a pull request
/repos/{owner}/{repo}/pulls/{index}Update a pull request. If using deadline only the date will be taken into account, and time of day ignored.
/repos/{owner}/{repo}/releases/{id}Get a release
/repos/{owner}/{repo}/releases/{id}Update a release
/repos/{owner}/{repo}/releases/{id}Delete a release
/repos/{owner}/{repo}/git/refs/{ref}Get specified ref or filtered repository's refs
/repos/{owner}/{repo}/git/tags/{sha}Gets the tag object of an annotated tag (not lightweight tags)
/repos/{owner}/{repo}/hooks/git/{id}Get a Git hook
/repos/{owner}/{repo}/hooks/git/{id}Edit a Git hook in a repository
/repos/{owner}/{repo}/hooks/git/{id}Delete a Git hook in a repository
/repos/{owner}/{repo}/issues/{index}Get an issue
/repos/{owner}/{repo}/issues/{index}Edit an issue. If using deadline only the date will be taken into account, and time of day ignored.
/repos/{owner}/{repo}/issues/{index}Delete an issue
/repos/{owner}/{repo}/raw/{filepath}Get a file from a repository
/repos/{owner}/{repo}/statuses/{sha}Get a commit's statuses
/repos/{owner}/{repo}/statuses/{sha}Create a commit status
/repos/{owner}/{repo}/topics/{topic}Add a topic to a repository
/repos/{owner}/{repo}/topics/{topic}Delete a topic from a repository
/users/{username}/following/{target}Check if one user is following another user
/orgs/{org}/public_members/{username}Check if a user is a public member of an organization
/orgs/{org}/public_members/{username}Publicize a user's membership
/orgs/{org}/public_members/{username}Conceal a user's membership
/repos/{owner}/{repo}/git/blobs/{sha}Gets the blob of a repository.
/repos/{owner}/{repo}/git/notes/{sha}Get a note corresponding to a single commit from a repository
/repos/{owner}/{repo}/git/trees/{sha}Gets the tree of a repository.
/repos/{owner}/{repo}/issue_templatesGet available issue templates for a repository
/repos/{owner}/{repo}/issues/commentsList all comments in a repository
/repos/{owner}/{repo}/milestones/{id}Get a milestone
/repos/{owner}/{repo}/milestones/{id}Update a milestone
/repos/{owner}/{repo}/milestones/{id}Delete a milestone
/repos/{owner}/{repo}/releases/latestGets the most recent non-prerelease, non-draft release of a repository, sorted by created_at
/repos/{owner}/{repo}/signing-key.gpgGet signing-key.gpg for given repository
/repos/{owner}/{repo}/transfer/acceptAccept a repo transfer
/repos/{owner}/{repo}/transfer/rejectReject a repo transfer
/repos/{owner}/{repo}/hooks/{id}/testsTest a push webhook
/repos/{owner}/{repo}/media/{filepath}Get a file or it's LFS object from a repository
/repos/{owner}/{repo}/archive/{archive}Get an archive of a repository
/repos/{owner}/{repo}/branches/{branch}Retrieve a specific branch from a repository, including its effective branch protection
/repos/{owner}/{repo}/branches/{branch}Delete a specific branch from a repository
/repos/{owner}/{repo}/git/commits/{sha}Get a single commit from a repository
/repos/{owner}/{repo}/push_mirrors-syncSync all push mirrored repository
/repos/{owner}/{repo}/branch_protectionsList branch protections for a repository
/repos/{owner}/{repo}/branch_protectionsCreate a branch protections for a repository
/users/{username}/orgs/{org}/permissionsGet user permissions in organization
/packages/{owner}/{type}/{name}/{version}Gets a package
/packages/{owner}/{type}/{name}/{version}Delete a package
/repos/{owner}/{repo}/contents/{filepath}Gets the metadata and contents (if a file) of an entry in a repository, or a list of entries if a dir
/repos/{owner}/{repo}/contents/{filepath}Update a file in a repository
/repos/{owner}/{repo}/contents/{filepath}Create a file in a repository
/repos/{owner}/{repo}/contents/{filepath}Delete a file in a repository
/repos/{owner}/{repo}/pulls/{index}/filesGet changed files for a pull request
/repos/{owner}/{repo}/pulls/{index}/mergeCheck if a pull request has been merged
/repos/{owner}/{repo}/pulls/{index}/mergeMerge a pull request
/repos/{owner}/{repo}/pulls/{index}/mergeCancel the scheduled auto merge for the given pull request
/repos/{owner}/{repo}/push_mirrors/{name}Get push mirror of the repository by remoteName
/repos/{owner}/{repo}/push_mirrors/{name}deletes a push mirror from a repository by remoteName
/repos/{owner}/{repo}/releases/tags/{tag}Get a release by tag name
/repos/{owner}/{repo}/releases/tags/{tag}Delete a release by tag name
/repos/{owner}/{repo}/commits/{ref}/statusGet a commit's combined status, by branch/tag/commit reference
/repos/{owner}/{repo}/issues/comments/{id}Get a comment
/repos/{owner}/{repo}/issues/comments/{id}Edit a comment
/repos/{owner}/{repo}/issues/comments/{id}Delete a comment
/repos/{owner}/{repo}/issues/{index}/timesList an issue's tracked times
/repos/{owner}/{repo}/issues/{index}/timesAdd tracked time to a issue
/repos/{owner}/{repo}/issues/{index}/timesReset a tracked time of an issue
/repos/{owner}/{repo}/pulls/{index}/updateMerge PR's baseBranch into headBranch
/repos/{owner}/{repo}/releases/{id}/assetsList release's attachments
/repos/{owner}/{repo}/releases/{id}/assetsCreate a release attachment
/repos/{owner}/{repo}/wiki/page/{pageName}Get a wiki page
/repos/{owner}/{repo}/wiki/page/{pageName}Edit a wiki page
/repos/{owner}/{repo}/wiki/page/{pageName}Delete a wiki page
/repos/{owner}/{repo}/issues/{index}/assetsList issue's attachments
/repos/{owner}/{repo}/issues/{index}/assetsCreate an issue attachment
/repos/{owner}/{repo}/issues/{index}/labelsGet an issue's labels
/repos/{owner}/{repo}/issues/{index}/labelsReplace an issue's labels
/repos/{owner}/{repo}/issues/{index}/labelsAdd a label to an issue
/repos/{owner}/{repo}/issues/{index}/labelsRemove all labels from an issue
/repos/{owner}/{repo}/pulls/{index}/commitsGet commits for a pull request
/repos/{owner}/{repo}/pulls/{index}/reviewsList all reviews for a pull request
/repos/{owner}/{repo}/pulls/{index}/reviewsCreate a review to an pull request
/repos/{owner}/{repo}/commits/{ref}/statusesGet a commit's statuses, by branch/tag/commit reference
/repos/{owner}/{repo}/editorconfig/{filepath}Get the EditorConfig definitions of a file in a repository
/repos/{owner}/{repo}/issues/{index}/commentsList all comments on an issue
/repos/{owner}/{repo}/issues/{index}/commentsAdd a comment to an issue
/repos/{owner}/{repo}/issues/{index}/deadlineSet an issue deadline. If set to null, the deadline is deleted. If using deadline only the date will be taken into account, and time of day ignored.
/repos/{owner}/{repo}/issues/{index}/timelineList all comments and events on an issue
/repos/{owner}/{repo}/issues/{index}/reactionsGet a list reactions of an issue
/repos/{owner}/{repo}/issues/{index}/reactionsAdd a reaction to an issue
/repos/{owner}/{repo}/issues/{index}/reactionsRemove a reaction from an issue
/repos/{owner}/{repo}/pulls/{index}.{diffType}Get a pull request diff or patch
/packages/{owner}/{type}/{name}/{version}/filesGets all files of a package
/repos/{owner}/{repo}/branch_protections/{name}Get a specific branch protection for the repository
/repos/{owner}/{repo}/branch_protections/{name}Edit a branch protections for a repository. Only fields that are set will be changed
/repos/{owner}/{repo}/branch_protections/{name}Delete a specific branch protection for the repository
/repos/{owner}/{repo}/issues/{index}/times/{id}Delete specific tracked time
/repos/{owner}/{repo}/wiki/revisions/{pageName}Get revisions of a wiki page
/repos/{owner}/{repo}/issues/{index}/labels/{id}Remove a label from an issue
/repos/{owner}/{repo}/pulls/{index}/reviews/{id}Get a specific review for a pull request
/repos/{owner}/{repo}/pulls/{index}/reviews/{id}Submit a pending review to an pull request
/repos/{owner}/{repo}/pulls/{index}/reviews/{id}Delete a specific review from a pull request
/repos/{template_owner}/{template_repo}/generateCreate a repository using a template
/repos/{owner}/{repo}/issues/comments/{id}/assetsList comment's attachments
/repos/{owner}/{repo}/issues/comments/{id}/assetsCreate a comment attachment
/repos/{owner}/{repo}/collaborators/{collaborator}Check if a user is a collaborator of a repository
/repos/{owner}/{repo}/collaborators/{collaborator}Add a collaborator to a repository
/repos/{owner}/{repo}/collaborators/{collaborator}Delete a collaborator from a repository
/repos/{owner}/{repo}/git/commits/{sha}.{diffType}Get a commit's diff or patch
/repos/{owner}/{repo}/issues/{index}/comments/{id}Edit a comment
/repos/{owner}/{repo}/issues/{index}/comments/{id}Delete a comment
/repos/{owner}/{repo}/issues/{index}/subscriptionsGet users who subscribed on an issue.
/repos/{owner}/{repo}/issues/{index}/stopwatch/stopStop an issue's existing stopwatch.
/repos/{owner}/{repo}/issues/comments/{id}/reactionsGet a list of reactions from a comment of an issue
/repos/{owner}/{repo}/issues/comments/{id}/reactionsAdd a reaction to a comment of an issue
/repos/{owner}/{repo}/issues/comments/{id}/reactionsRemove a reaction from a comment of an issue
/repos/{owner}/{repo}/issues/{index}/stopwatch/startStart stopwatch on an issue.
/repos/{owner}/{repo}/issues/{index}/stopwatch/deleteDelete an issue's existing stopwatch.
/repos/{owner}/{repo}/pulls/{index}/requested_reviewerscreate review requests for a pull request
/repos/{owner}/{repo}/pulls/{index}/requested_reviewerscancel review requests for a pull request
/repos/{owner}/{repo}/issues/{index}/subscriptions/checkCheck if user is subscribed to an issue
/repos/{owner}/{repo}/issues/{index}/subscriptions/{user}Subscribe user to issue
/repos/{owner}/{repo}/issues/{index}/subscriptions/{user}Unsubscribe user from issue
/repos/{owner}/{repo}/pulls/{index}/reviews/{id}/commentsGet a specific review for a pull request
/repos/{owner}/{repo}/releases/{id}/assets/{attachment_id}Get a release attachment
/repos/{owner}/{repo}/releases/{id}/assets/{attachment_id}Edit a release attachment
/repos/{owner}/{repo}/releases/{id}/assets/{attachment_id}Delete a release attachment
/repos/{owner}/{repo}/issues/{index}/assets/{attachment_id}Get an issue attachment
/repos/{owner}/{repo}/issues/{index}/assets/{attachment_id}Edit an issue attachment
/repos/{owner}/{repo}/issues/{index}/assets/{attachment_id}Delete an issue attachment
/repos/{owner}/{repo}/pulls/{index}/reviews/{id}/dismissalsDismiss a review for a pull request
/repos/{owner}/{repo}/collaborators/{collaborator}/permissionGet repository permissions for a user
/repos/{owner}/{repo}/pulls/{index}/reviews/{id}/undismissalsCancel to dismiss a review for a pull request
/repos/{owner}/{repo}/issues/comments/{id}/assets/{attachment_id}Get a comment attachment
/repos/{owner}/{repo}/issues/comments/{id}/assets/{attachment_id}Edit a comment attachment
/repos/{owner}/{repo}/issues/comments/{id}/assets/{attachment_id}Delete a comment attachment
This documentation describes the Gitea API.
/api/v1325 endpoints available
/orgsGet list of organizations
/orgsCreate an organization
/userGet the authenticated user
/versionReturns the version of the Gitea application
/markdownRender a markdown document as HTML
/nodeinfoReturns the nodeinfo of the Gitea application
/user/keysList the authenticated user's public keys
/user/keysCreate a public key
/user/orgsList the current user's organizations
/admin/cronList cron tasks
/admin/orgsList all organizations
/orgs/{org}Get an organization
/orgs/{org}Edit an organization
/orgs/{org}Delete an organization
/teams/{id}Get a team
/teams/{id}Edit a team
/teams/{id}Delete a team
/user/reposList the repos that the authenticated user owns
/user/reposCreate a repository
/user/teamsList all the teams a user belongs to
/user/timesList the current user's tracked times
/admin/hooksList system's webhooks
/admin/hooksCreate a hook
/admin/usersList all users
/admin/usersCreate a user
/settings/uiGet instance's global settings for ui
/user/emailsList the authenticated user's email addresses
/user/emailsAdd email addresses
/user/emailsDelete email addresses
/markdown/rawRender raw markdown as HTML
/repos/searchSearch for repositories
/settings/apiGet instance's global settings for api
/user/starredThe repos that the authenticated user has starred
/users/searchSearch for users
/notificationsList users's notification threads
/notificationsMark notification threads as read, pinned or unread
/repos/migrateMigrate a remote git repository
/topics/searchsearch topics via keyword
/user/gpg_keysList the authenticated user's GPG keys
/user/gpg_keysCreate a GPG key
/user/settingsGet user settings
/user/settingsUpdate user settings
/user/followersList the authenticated user's followers
/user/followingList the users that the authenticated user is following
/user/keys/{id}Get a public key
/user/keys/{id}Delete a public key
/admin/unadoptedList unadopted repositories
/org/{org}/reposCreate a repository in an organization
/signing-key.gpgGet default signing-key.gpg
/admin/hooks/{id}Get a hook
/admin/hooks/{id}Update a hook
/amdin/hooks/{id}Delete a hook
/orgs/{org}/hooksList an organization's webhooks
/orgs/{org}/hooksCreate a hook
/orgs/{org}/reposList an organization's repos
/orgs/{org}/reposCreate a repository in an organization
/orgs/{org}/teamsList an organization's teams
/orgs/{org}/teamsCreate a team
/packages/{owner}Gets all packages of an owner
/teams/{id}/reposList a team's repos
/user/stopwatchesGet list of all existing stopwatches
/users/{username}Get a user
/admin/cron/{task}Run cron task
/notifications/newCheck if unread notifications exist
/orgs/{org}/labelsList an organization's labels
/orgs/{org}/labelsCreate a label for an organization
/repositories/{id}Get a repository by id
/orgs/{org}/membersList an organization's members
/teams/{id}/membersList a team's members
/user/gpg_key_tokenGet a Token to verify
/user/gpg_keys/{id}Get a GPG key
/user/gpg_keys/{id}Remove a GPG key
/user/subscriptionsList repositories watched by the authenticated user
/repos/issues/searchSearch for issues across the repositories that the user has access to
/settings/attachmentGet instance's global settings for Attachment
/settings/repositoryGet instance's global settings for repositories
/user/gpg_key_verifyVerify a GPG key
/repos/{owner}/{repo}Get a repository
/repos/{owner}/{repo}Edit a repository's properties. Only fields that are set will be changed.
/repos/{owner}/{repo}Delete a repository
/orgs/{org}/hooks/{id}Get a hook
/orgs/{org}/hooks/{id}Update a hook
/orgs/{org}/hooks/{id}Delete a hook
/users/{username}/keysList the given user's public keys
/users/{username}/orgsList a user's organizations
/admin/users/{username}Edit an existing user
/admin/users/{username}Delete a user
/orgs/{org}/labels/{id}Get a single label
/orgs/{org}/labels/{id}Update a label
/orgs/{org}/labels/{id}Delete a label
/users/{username}/reposList the repos owned by the given user
/orgs/{org}/teams/searchSearch for teams within an organization
/users/{username}/tokensList the authenticated user's access tokens
/users/{username}/tokensCreate an access token
/user/applications/oauth2List the authenticated user's oauth2 applications
/user/applications/oauth2creates a new OAuth2 application
/users/{username}/heatmapGet a user's heatmap
/users/{username}/starredThe repos that the given user has starred
/orgs/{org}/public_membersList an organization's public members
/repos/{owner}/{repo}/keysList a repository's keys
/repos/{owner}/{repo}/keysAdd a key to a repository
/repos/{owner}/{repo}/tagsList a repository's tags
/repos/{owner}/{repo}/tagsCreate a new git tag in a repository
/user/following/{username}Check whether a user is followed by the authenticated user
/user/following/{username}Follow a user
/user/following/{username}Unfollow a user
/users/{username}/gpg_keysList the given user's GPG keys
/notifications/threads/{id}Get notification thread by ID
/notifications/threads/{id}Mark notification thread as read by ID
/repos/{owner}/{repo}/forksList a repository's forks
/repos/{owner}/{repo}/forksFork a repository
/repos/{owner}/{repo}/hooksList the hooks in a repository
/repos/{owner}/{repo}/hooksCreate a hook
/repos/{owner}/{repo}/pullsList a repo's pull requests
/repos/{owner}/{repo}/pullsCreate a pull request
/repos/{owner}/{repo}/teamsList a repository's teams
/repos/{owner}/{repo}/timesList a repo's tracked times
/users/{username}/followersList the given user's followers
/users/{username}/followingList the users that the given user is following
/activitypub/user/{username}Returns the Person actor for a user
/admin/users/{username}/keysAdd a public key on behalf of a user
/admin/users/{username}/orgsCreate an organization
/repos/{owner}/{repo}/issuesList a repository's issues
/repos/{owner}/{repo}/issuesCreate an issue. If using deadline only the date will be taken into account, and time of day ignored.
/repos/{owner}/{repo}/labelsGet all of a repository's labels
/repos/{owner}/{repo}/labelsCreate a label
/repos/{owner}/{repo}/topicsGet list of topics that a repository has
/repos/{owner}/{repo}/topicsReplace list of topics for a repository
/user/starred/{owner}/{repo}Whether the authenticated is starring the repo
/user/starred/{owner}/{repo}Star the given repo
/user/starred/{owner}/{repo}Unstar the given repo
/admin/users/{username}/reposCreate a repository on behalf of a user
/repos/{owner}/{repo}/commitsGet a list of all commits from a repository
/orgs/{org}/members/{username}Check if a user is a member of an organization
/orgs/{org}/members/{username}Remove a member from an organization
/repos/{owner}/{repo}/branchesList a repository's branches
/repos/{owner}/{repo}/branchesCreate a branch
/repos/{owner}/{repo}/contentsGets the metadata of all the entries of the root dir
/repos/{owner}/{repo}/git/refsGet specified ref or filtered repository's refs
/repos/{owner}/{repo}/releasesList a repo's releases
/repos/{owner}/{repo}/releasesCreate a release
/repos/{owner}/{repo}/transferTransfer a repo ownership
/repos/{owner}/{repo}/wiki/newCreate a wiki page
/teams/{id}/members/{username}List a particular member of team
/teams/{id}/members/{username}Add a team member
/teams/{id}/members/{username}Remove a team member
/teams/{id}/repos/{org}/{repo}List a particular repo of team
/teams/{id}/repos/{org}/{repo}Add a repository to a team
/teams/{id}/repos/{org}/{repo}Remove a repository from a team
/user/applications/oauth2/{id}get an OAuth2 Application
/user/applications/oauth2/{id}update an OAuth2 Application, this includes regenerating the client secret
/user/applications/oauth2/{id}delete an OAuth2 Application
/admin/unadopted/{owner}/{repo}Adopt unadopted files as a repository
/admin/unadopted/{owner}/{repo}Delete unadopted files
/repos/{owner}/{repo}/assigneesReturn all users that have write access and can be assigned to issues
/repos/{owner}/{repo}/diffpatchApply diff patch to repository
/repos/{owner}/{repo}/hooks/gitList the Git hooks in a repository
/repos/{owner}/{repo}/keys/{id}Get a repository's key by id
/repos/{owner}/{repo}/keys/{id}Delete a key from a repository
/repos/{owner}/{repo}/languagesGet languages and number of bytes of code written
/repos/{owner}/{repo}/reviewersReturn all users that can be requested to review in this repo
/users/{username}/subscriptionsList the repositories watched by a user
/repos/{owner}/{repo}/hooks/{id}Get a hook
/repos/{owner}/{repo}/hooks/{id}Edit a hook in a repository
/repos/{owner}/{repo}/hooks/{id}Delete a hook in a repository
/repos/{owner}/{repo}/milestonesGet all of a repository's opened milestones
/repos/{owner}/{repo}/milestonesCreate a milestone
/repos/{owner}/{repo}/stargazersList a repo's stargazers
/repos/{owner}/{repo}/tags/{tag}Get the tag of a repository by tag name
/repos/{owner}/{repo}/tags/{tag}Delete a repository's tag by name
/repos/{owner}/{repo}/wiki/pagesGet all wiki pages
/users/{username}/tokens/{token}delete an access token
/admin/users/{username}/keys/{id}Delete a user's public key
/repos/{owner}/{repo}/labels/{id}Get a single label
/repos/{owner}/{repo}/labels/{id}Update a label
/repos/{owner}/{repo}/labels/{id}Delete a label
/repos/{owner}/{repo}/mirror-syncSync a mirrored repository
/repos/{owner}/{repo}/subscribersList a repo's watchers
/activitypub/user/{username}/inboxSend to the inbox
/repos/{owner}/{repo}/push_mirrorsGet all push mirrors of the repository
/repos/{owner}/{repo}/push_mirrorsadd a push mirror to the repository
/repos/{owner}/{repo}/subscriptionCheck if the current user is watching a repo
/repos/{owner}/{repo}/subscriptionWatch a repo
/repos/{owner}/{repo}/subscriptionUnwatch a repo
/repos/{owner}/{repo}/teams/{team}Check if a team is assigned to a repository
/repos/{owner}/{repo}/teams/{team}Add a team to a repository
/repos/{owner}/{repo}/teams/{team}Delete a team from a repository
/repos/{owner}/{repo}/times/{user}List a user's tracked times in a repo
/repos/{owner}/{repo}/collaboratorsList a repository's collaborators
/repos/{owner}/{repo}/notificationsList users's notification threads on a specific repo
/repos/{owner}/{repo}/notificationsMark notification threads as read, pinned or unread on a specific repo
/repos/{owner}/{repo}/pulls/{index}Get a pull request
/repos/{owner}/{repo}/pulls/{index}Update a pull request. If using deadline only the date will be taken into account, and time of day ignored.
/repos/{owner}/{repo}/releases/{id}Get a release
/repos/{owner}/{repo}/releases/{id}Update a release
/repos/{owner}/{repo}/releases/{id}Delete a release
/repos/{owner}/{repo}/git/refs/{ref}Get specified ref or filtered repository's refs
/repos/{owner}/{repo}/git/tags/{sha}Gets the tag object of an annotated tag (not lightweight tags)
/repos/{owner}/{repo}/hooks/git/{id}Get a Git hook
/repos/{owner}/{repo}/hooks/git/{id}Edit a Git hook in a repository
/repos/{owner}/{repo}/hooks/git/{id}Delete a Git hook in a repository
/repos/{owner}/{repo}/issues/{index}Get an issue
/repos/{owner}/{repo}/issues/{index}Edit an issue. If using deadline only the date will be taken into account, and time of day ignored.
/repos/{owner}/{repo}/issues/{index}Delete an issue
/repos/{owner}/{repo}/raw/{filepath}Get a file from a repository
/repos/{owner}/{repo}/statuses/{sha}Get a commit's statuses
/repos/{owner}/{repo}/statuses/{sha}Create a commit status
/repos/{owner}/{repo}/topics/{topic}Add a topic to a repository
/repos/{owner}/{repo}/topics/{topic}Delete a topic from a repository
/users/{username}/following/{target}Check if one user is following another user
/orgs/{org}/public_members/{username}Check if a user is a public member of an organization
/orgs/{org}/public_members/{username}Publicize a user's membership
/orgs/{org}/public_members/{username}Conceal a user's membership
/repos/{owner}/{repo}/git/blobs/{sha}Gets the blob of a repository.
/repos/{owner}/{repo}/git/notes/{sha}Get a note corresponding to a single commit from a repository
/repos/{owner}/{repo}/git/trees/{sha}Gets the tree of a repository.
/repos/{owner}/{repo}/issue_templatesGet available issue templates for a repository
/repos/{owner}/{repo}/issues/commentsList all comments in a repository
/repos/{owner}/{repo}/milestones/{id}Get a milestone
/repos/{owner}/{repo}/milestones/{id}Update a milestone
/repos/{owner}/{repo}/milestones/{id}Delete a milestone
/repos/{owner}/{repo}/releases/latestGets the most recent non-prerelease, non-draft release of a repository, sorted by created_at
/repos/{owner}/{repo}/signing-key.gpgGet signing-key.gpg for given repository
/repos/{owner}/{repo}/transfer/acceptAccept a repo transfer
/repos/{owner}/{repo}/transfer/rejectReject a repo transfer
/repos/{owner}/{repo}/hooks/{id}/testsTest a push webhook
/repos/{owner}/{repo}/media/{filepath}Get a file or it's LFS object from a repository
/repos/{owner}/{repo}/archive/{archive}Get an archive of a repository
/repos/{owner}/{repo}/branches/{branch}Retrieve a specific branch from a repository, including its effective branch protection
/repos/{owner}/{repo}/branches/{branch}Delete a specific branch from a repository
/repos/{owner}/{repo}/git/commits/{sha}Get a single commit from a repository
/repos/{owner}/{repo}/push_mirrors-syncSync all push mirrored repository
/repos/{owner}/{repo}/branch_protectionsList branch protections for a repository
/repos/{owner}/{repo}/branch_protectionsCreate a branch protections for a repository
/users/{username}/orgs/{org}/permissionsGet user permissions in organization
/packages/{owner}/{type}/{name}/{version}Gets a package
/packages/{owner}/{type}/{name}/{version}Delete a package
/repos/{owner}/{repo}/contents/{filepath}Gets the metadata and contents (if a file) of an entry in a repository, or a list of entries if a dir
/repos/{owner}/{repo}/contents/{filepath}Update a file in a repository
/repos/{owner}/{repo}/contents/{filepath}Create a file in a repository
/repos/{owner}/{repo}/contents/{filepath}Delete a file in a repository
/repos/{owner}/{repo}/pulls/{index}/filesGet changed files for a pull request
/repos/{owner}/{repo}/pulls/{index}/mergeCheck if a pull request has been merged
/repos/{owner}/{repo}/pulls/{index}/mergeMerge a pull request
/repos/{owner}/{repo}/pulls/{index}/mergeCancel the scheduled auto merge for the given pull request
/repos/{owner}/{repo}/push_mirrors/{name}Get push mirror of the repository by remoteName
/repos/{owner}/{repo}/push_mirrors/{name}deletes a push mirror from a repository by remoteName
/repos/{owner}/{repo}/releases/tags/{tag}Get a release by tag name
/repos/{owner}/{repo}/releases/tags/{tag}Delete a release by tag name
/repos/{owner}/{repo}/commits/{ref}/statusGet a commit's combined status, by branch/tag/commit reference
/repos/{owner}/{repo}/issues/comments/{id}Get a comment
/repos/{owner}/{repo}/issues/comments/{id}Edit a comment
/repos/{owner}/{repo}/issues/comments/{id}Delete a comment
/repos/{owner}/{repo}/issues/{index}/timesList an issue's tracked times
/repos/{owner}/{repo}/issues/{index}/timesAdd tracked time to a issue
/repos/{owner}/{repo}/issues/{index}/timesReset a tracked time of an issue
/repos/{owner}/{repo}/pulls/{index}/updateMerge PR's baseBranch into headBranch
/repos/{owner}/{repo}/releases/{id}/assetsList release's attachments
/repos/{owner}/{repo}/releases/{id}/assetsCreate a release attachment
/repos/{owner}/{repo}/wiki/page/{pageName}Get a wiki page
/repos/{owner}/{repo}/wiki/page/{pageName}Edit a wiki page
/repos/{owner}/{repo}/wiki/page/{pageName}Delete a wiki page
/repos/{owner}/{repo}/issues/{index}/assetsList issue's attachments
/repos/{owner}/{repo}/issues/{index}/assetsCreate an issue attachment
/repos/{owner}/{repo}/issues/{index}/labelsGet an issue's labels
/repos/{owner}/{repo}/issues/{index}/labelsReplace an issue's labels
/repos/{owner}/{repo}/issues/{index}/labelsAdd a label to an issue
/repos/{owner}/{repo}/issues/{index}/labelsRemove all labels from an issue
/repos/{owner}/{repo}/pulls/{index}/commitsGet commits for a pull request
/repos/{owner}/{repo}/pulls/{index}/reviewsList all reviews for a pull request
/repos/{owner}/{repo}/pulls/{index}/reviewsCreate a review to an pull request
/repos/{owner}/{repo}/commits/{ref}/statusesGet a commit's statuses, by branch/tag/commit reference
/repos/{owner}/{repo}/editorconfig/{filepath}Get the EditorConfig definitions of a file in a repository
/repos/{owner}/{repo}/issues/{index}/commentsList all comments on an issue
/repos/{owner}/{repo}/issues/{index}/commentsAdd a comment to an issue
/repos/{owner}/{repo}/issues/{index}/deadlineSet an issue deadline. If set to null, the deadline is deleted. If using deadline only the date will be taken into account, and time of day ignored.
/repos/{owner}/{repo}/issues/{index}/timelineList all comments and events on an issue
/repos/{owner}/{repo}/issues/{index}/reactionsGet a list reactions of an issue
/repos/{owner}/{repo}/issues/{index}/reactionsAdd a reaction to an issue
/repos/{owner}/{repo}/issues/{index}/reactionsRemove a reaction from an issue
/repos/{owner}/{repo}/pulls/{index}.{diffType}Get a pull request diff or patch
/packages/{owner}/{type}/{name}/{version}/filesGets all files of a package
/repos/{owner}/{repo}/branch_protections/{name}Get a specific branch protection for the repository
/repos/{owner}/{repo}/branch_protections/{name}Edit a branch protections for a repository. Only fields that are set will be changed
/repos/{owner}/{repo}/branch_protections/{name}Delete a specific branch protection for the repository
/repos/{owner}/{repo}/issues/{index}/times/{id}Delete specific tracked time
/repos/{owner}/{repo}/wiki/revisions/{pageName}Get revisions of a wiki page
/repos/{owner}/{repo}/issues/{index}/labels/{id}Remove a label from an issue
/repos/{owner}/{repo}/pulls/{index}/reviews/{id}Get a specific review for a pull request
/repos/{owner}/{repo}/pulls/{index}/reviews/{id}Submit a pending review to an pull request
/repos/{owner}/{repo}/pulls/{index}/reviews/{id}Delete a specific review from a pull request
/repos/{template_owner}/{template_repo}/generateCreate a repository using a template
/repos/{owner}/{repo}/issues/comments/{id}/assetsList comment's attachments
/repos/{owner}/{repo}/issues/comments/{id}/assetsCreate a comment attachment
/repos/{owner}/{repo}/collaborators/{collaborator}Check if a user is a collaborator of a repository
/repos/{owner}/{repo}/collaborators/{collaborator}Add a collaborator to a repository
/repos/{owner}/{repo}/collaborators/{collaborator}Delete a collaborator from a repository
/repos/{owner}/{repo}/git/commits/{sha}.{diffType}Get a commit's diff or patch
/repos/{owner}/{repo}/issues/{index}/comments/{id}Edit a comment
/repos/{owner}/{repo}/issues/{index}/comments/{id}Delete a comment
/repos/{owner}/{repo}/issues/{index}/subscriptionsGet users who subscribed on an issue.
/repos/{owner}/{repo}/issues/{index}/stopwatch/stopStop an issue's existing stopwatch.
/repos/{owner}/{repo}/issues/comments/{id}/reactionsGet a list of reactions from a comment of an issue
/repos/{owner}/{repo}/issues/comments/{id}/reactionsAdd a reaction to a comment of an issue
/repos/{owner}/{repo}/issues/comments/{id}/reactionsRemove a reaction from a comment of an issue
/repos/{owner}/{repo}/issues/{index}/stopwatch/startStart stopwatch on an issue.
/repos/{owner}/{repo}/issues/{index}/stopwatch/deleteDelete an issue's existing stopwatch.
/repos/{owner}/{repo}/pulls/{index}/requested_reviewerscreate review requests for a pull request
/repos/{owner}/{repo}/pulls/{index}/requested_reviewerscancel review requests for a pull request
/repos/{owner}/{repo}/issues/{index}/subscriptions/checkCheck if user is subscribed to an issue
/repos/{owner}/{repo}/issues/{index}/subscriptions/{user}Subscribe user to issue
/repos/{owner}/{repo}/issues/{index}/subscriptions/{user}Unsubscribe user from issue
/repos/{owner}/{repo}/pulls/{index}/reviews/{id}/commentsGet a specific review for a pull request
/repos/{owner}/{repo}/releases/{id}/assets/{attachment_id}Get a release attachment
/repos/{owner}/{repo}/releases/{id}/assets/{attachment_id}Edit a release attachment
/repos/{owner}/{repo}/releases/{id}/assets/{attachment_id}Delete a release attachment
/repos/{owner}/{repo}/issues/{index}/assets/{attachment_id}Get an issue attachment
/repos/{owner}/{repo}/issues/{index}/assets/{attachment_id}Edit an issue attachment
/repos/{owner}/{repo}/issues/{index}/assets/{attachment_id}Delete an issue attachment
/repos/{owner}/{repo}/pulls/{index}/reviews/{id}/dismissalsDismiss a review for a pull request
/repos/{owner}/{repo}/collaborators/{collaborator}/permissionGet repository permissions for a user
/repos/{owner}/{repo}/pulls/{index}/reviews/{id}/undismissalsCancel to dismiss a review for a pull request
/repos/{owner}/{repo}/issues/comments/{id}/assets/{attachment_id}Get a comment attachment
/repos/{owner}/{repo}/issues/comments/{id}/assets/{attachment_id}Edit a comment attachment
/repos/{owner}/{repo}/issues/comments/{id}/assets/{attachment_id}Delete a comment attachment