No description
activitypub
ActivitypubPerson
Returns the Person actor for a user
GET:/activitypub/user-id/{user-id}
No description
activitypub
ActivitypubPersonInbox
Send to the inbox
POST:/activitypub/user-id/{user-id}/inbox
No description
admin
AdminAddUserBadges
Add a badge to a user
POST:/admin/users/{username}/badges
No description
admin
AdminAdoptRepository
Adopt unadopted files as a repository
POST:/admin/unadopted/{owner}/{repo}
No description
admin
AdminCreateHook
Create a hook
POST:/admin/hooks
No description
admin
AdminCreateOrg
Create an organization
POST:/admin/users/{username}/orgs
No description
admin
AdminCreatePublicKey
Add a public key on behalf of a user
POST:/admin/users/{username}/keys
No description
admin
AdminCreateRepo
Create a repository on behalf of a user
POST:/admin/users/{username}/repos
No description
admin
AdminCreateUser
Create a user
POST:/admin/users
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
admin
AdminCronList
List cron tasks
GET:/admin/cron
No description
admin
AdminCronRun
Run cron task
POST:/admin/cron/{task}
No description
admin
AdminDeleteHook
Delete a hook
DELETE:/admin/hooks/{id}
No description
admin
AdminDeleteUnadoptedRepository
Delete unadopted files
DELETE:/admin/unadopted/{owner}/{repo}
No description
Optional
query: { Optional
purge?: booleanpurge the user from the system completely
admin
AdminDeleteUser
Delete a user
DELETE:/admin/users/{username}
No description
admin
AdminDeleteUserBadges
Remove a badge from a user
DELETE:/admin/users/{username}/badges
No description
admin
AdminDeleteUserPublicKey
Delete a user's public key
DELETE:/admin/users/{username}/keys/{id}
No description
admin
AdminEditHook
Update a hook
PATCH:/admin/hooks/{id}
No description
admin
AdminEditUser
Edit an existing user
PATCH:/admin/users/{username}
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
admin
AdminGetAllEmails
List all emails
GET:/admin/emails
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
admin
AdminGetAllOrgs
List all organizations
GET:/admin/orgs
No description
admin
AdminGetHook
Get a hook
GET:/admin/hooks/{id}
No description
admin
AdminGetRunnerRegistrationToken
Get an global actions runner registration token
GET:/admin/runners/registration-token
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
admin
AdminListHooks
List system's webhooks
GET:/admin/hooks
No description
admin
AdminListUserBadges
List a user's badges
GET:/admin/users/{username}/badges
No description
admin
AdminRenameUser
Rename a user
POST:/admin/users/{username}/rename
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
Optional
q?: stringkeyword
admin
AdminSearchEmails
Search all emails
GET:/admin/emails/search
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
login_user's login name to search for
Optional
page?: numberpage number of results to return (1-based)
Optional
source_ID of the user's login source to search for
int64
admin
AdminSearchUsers
Search users according filter conditions
GET:/admin/users
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
Optional
pattern?: stringpattern of repositories to search for
admin
AdminUnadoptedList
List unadopted repositories
GET:/admin/unadopted
No description
miscellaneous
GetGitignoreTemplateInfo
Returns information about a gitignore template
GET:/gitignore/templates/{name}
No description
miscellaneous
ListGitignoresTemplates
Returns a list of all gitignore templates
GET:/gitignore/templates
No description
miscellaneous
GetLabelTemplateInfo
Returns all labels in a template
GET:/label/templates/{name}
No description
miscellaneous
ListLabelTemplates
Returns a list of all label templates
GET:/label/templates
No description
miscellaneous
GetLicenseTemplateInfo
Returns information about a license template
GET:/licenses/{name}
No description
miscellaneous
ListLicenseTemplates
Returns a list of all license templates
GET:/licenses
No description
miscellaneous
RenderMarkdown
Render a markdown document as HTML
POST:/markdown
No description
miscellaneous
RenderMarkdownRaw
Render raw markdown as HTML
POST:/markdown/raw
No description
miscellaneous
RenderMarkup
Render a markup document as HTML
POST:/markup
No description
miscellaneous
GetNodeInfo
Returns the nodeinfo of the Gitea application
GET:/nodeinfo
No description
Optional
query: { Optional
all?: booleanIf true, show notifications marked as read. Default value is false
Optional
before?: stringOnly show notifications updated before the given time. This is a timestamp in RFC 3339 format
date-time
Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
Optional
since?: stringOnly show notifications updated after the given time. This is a timestamp in RFC 3339 format
date-time
Optional
status-Show notifications with the provided status types. Options are: unread, read and/or pinned. Defaults to unread & pinned.
Optional
subject-filter notifications by subject type
notification
NotifyGetList
List users's notification threads
GET:/notifications
No description
notification
NotifyGetThread
Get notification thread by ID
GET:/notifications/threads/{id}
No description
notification
NotifyNewAvailable
Check if unread notifications exist
GET:/notifications/new
No description
Optional
query: { Optional
all?: stringIf true, mark all notifications on this repo. Default value is false
Optional
last_Describes the last point that notifications were checked. Anything updated since this time will not be updated.
date-time
Optional
status-Mark notifications with the provided status types. Options are: unread, read and/or pinned. Defaults to unread.
Optional
to-Status to mark notifications as, Defaults to read.
notification
NotifyReadList
Mark notification threads as read, pinned or unread
PUT:/notifications
No description
Optional
query: { Optional
to-Status to mark notifications as
"read"
notification
NotifyReadThread
Mark notification thread as read by ID
PATCH:/notifications/threads/{id}
No description
organization
CreateOrgRepoDeprecated
Create a repository in an organization
POST:/org/{org}/repos
No description
organization
CreateOrgRepo
Create a repository in an organization
POST:/orgs/{org}/repos
No description
organization
CreateOrgVariable
Create an org-level variable
POST:/orgs/{org}/actions/variables/{variablename}
No description
organization
DeleteOrgSecret
Delete a secret in an organization
DELETE:/orgs/{org}/actions/secrets/{secretname}
No description
organization
DeleteOrgVariable
Delete an org-level variable
DELETE:/orgs/{org}/actions/variables/{variablename}
No description
organization
GetOrgVariable
Get an org-level variable
GET:/orgs/{org}/actions/variables/{variablename}
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
organization
GetOrgVariablesList
Get an org-level variables list
GET:/orgs/{org}/actions/variables
No description
organization
OrgConcealMember
Conceal a user's membership
DELETE:/orgs/{org}/public_members/{username}
No description
organization
OrgCreate
Create an organization
POST:/orgs
No description
organization
OrgCreateHook
Create a hook
POST:/orgs/{org}/hooks
No description
organization
OrgCreateLabel
Create a label for an organization
POST:/orgs/{org}/labels
No description
organization
OrgCreateTeam
Create a team
POST:/orgs/{org}/teams
No description
organization
OrgDelete
Delete an organization
DELETE:/orgs/{org}
No description
organization
OrgDeleteAvatar
Delete Avatar
DELETE:/orgs/{org}/avatar
No description
organization
OrgDeleteHook
Delete a hook
DELETE:/orgs/{org}/hooks/{id}
No description
organization
OrgDeleteLabel
Delete a label
DELETE:/orgs/{org}/labels/{id}
No description
organization
OrgDeleteMember
Remove a member from an organization
DELETE:/orgs/{org}/members/{username}
No description
organization
OrgEdit
Edit an organization
PATCH:/orgs/{org}
No description
organization
OrgEditHook
Update a hook
PATCH:/orgs/{org}/hooks/{id}
No description
organization
OrgEditLabel
Update a label
PATCH:/orgs/{org}/labels/{id}
No description
organization
OrgGet
Get an organization
GET:/orgs/{org}
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
organization
OrgGetAll
Get list of organizations
GET:/orgs
No description
organization
OrgGetHook
Get a hook
GET:/orgs/{org}/hooks/{id}
No description
organization
OrgGetLabel
Get a single label
GET:/orgs/{org}/labels/{id}
No description
organization
OrgGetRunnerRegistrationToken
Get an organization's actions runner registration token
GET:/orgs/{org}/actions/runners/registration-token
No description
organization
OrgIsMember
Check if a user is a member of an organization
GET:/orgs/{org}/members/{username}
No description
organization
OrgIsPublicMember
Check if a user is a public member of an organization
GET:/orgs/{org}/public_members/{username}
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
organization
OrgListActionsSecrets
List an organization's actions secrets
GET:/orgs/{org}/actions/secrets
No description
Optional
query: { Optional
date?: stringthe date of the activities to be found
date
Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
organization
OrgListActivityFeeds
List an organization's activity feeds
GET:/orgs/{org}/activities/feeds
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
organization
OrgListHooks
List an organization's webhooks
GET:/orgs/{org}/hooks
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
organization
OrgListLabels
List an organization's labels
GET:/orgs/{org}/labels
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
organization
OrgListMembers
List an organization's members
GET:/orgs/{org}/members
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
organization
OrgListPublicMembers
List an organization's public members
GET:/orgs/{org}/public_members
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
organization
OrgListRepos
List an organization's repos
GET:/orgs/{org}/repos
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
organization
OrgListTeams
List an organization's teams
GET:/orgs/{org}/teams
No description
organization
OrgPublicizeMember
Publicize a user's membership
PUT:/orgs/{org}/public_members/{username}
No description
organization
OrgUpdateAvatar
Update Avatar
POST:/orgs/{org}/avatar
No description
Optional
query: { Optional
note?: stringoptional note for the block
organization
OrganizationBlockUser
Block a user
PUT:/orgs/{org}/blocks/{username}
No description
organization
OrganizationCheckUserBlock
Check if a user is blocked by the organization
GET:/orgs/{org}/blocks/{username}
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
organization
OrganizationListBlocks
List users blocked by the organization
GET:/orgs/{org}/blocks
No description
organization
OrganizationUnblockUser
Unblock a user
DELETE:/orgs/{org}/blocks/{username}
No description
Optional
query: { Optional
include_include search within team description (defaults to true)
Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
Optional
q?: stringkeywords to search
organization
TeamSearch
Search for teams within an organization
GET:/orgs/{org}/teams/search
No description
organization
UpdateOrgSecret
Create or Update a secret value in an organization
PUT:/orgs/{org}/actions/secrets/{secretname}
No description
organization
UpdateOrgVariable
Update an org-level variable
PUT:/orgs/{org}/actions/variables/{variablename}
No description
package
DeletePackage
Delete a package
DELETE:/packages/{owner}/{type}/{name}/{version}
No description
package
GetPackage
Gets a package
GET:/packages/{owner}/{type}/{name}/{version}
No description
package
ListPackageFiles
Gets all files of a package
GET:/packages/{owner}/{type}/{name}/{version}/files
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
Optional
q?: stringname filter
Optional
type?: "alpine" | "cargo" | "chef" | "composer" | "conan" | "conda" | "container" | "cran" | "debian" | "generic" | "go" | "helm" | "maven" | "npm" | "nuget" | "pub" | "pypi" | "rpm" | "rubygems" | "swift" | "vagrant"package type filter
package
ListPackages
Gets all packages of an owner
GET:/packages/{owner}
No description
repository
AcceptRepoTransfer
Accept a repo transfer
POST:/repos/{owner}/{repo}/transfer/accept
No description
repository
CreateFork
Fork a repository
POST:/repos/{owner}/{repo}/forks
No description
repository
CreateRepoVariable
Create a repo-level variable
POST:/repos/{owner}/{repo}/actions/variables/{variablename}
No description
repository
DeleteRepoSecret
Delete a secret in a repository
DELETE:/repos/{owner}/{repo}/actions/secrets/{secretname}
No description
repository
DeleteRepoVariable
Delete a repo-level variable
DELETE:/repos/{owner}/{repo}/actions/variables/{variablename}
No description
repository
GenerateRepo
Create a repository using a template
POST:/repos/{template_owner}/{template_repo}/generate
No description
repository
GetAnnotatedTag
Gets the tag object of an annotated tag (not lightweight tags)
GET:/repos/{owner}/{repo}/git/tags/{sha}
No description
repository
GetBlob
Gets the blob of a repository.
GET:/repos/{owner}/{repo}/git/blobs/{sha}
No description
repository
GetRepoVariable
Get a repo-level variable
GET:/repos/{owner}/{repo}/actions/variables/{variablename}
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
repository
GetRepoVariablesList
Get repo-level variables list
GET:/repos/{owner}/{repo}/actions/variables
No description
Optional
query: { Optional
page?: numberpage number; the 'truncated' field in the response will be true if there are still more items after this page, false if the last page
Optional
per_number of items per page
Optional
recursive?: booleanshow all directories and files
repository
GetTree
Gets the tree of a repository.
GET:/repos/{owner}/{repo}/git/trees/{sha}
No description
issue
IssueAddLabel
Add a label to an issue
POST:/repos/{owner}/{repo}/issues/{index}/labels
No description
issue
IssueAddSubscription
Subscribe user to issue
PUT:/repos/{owner}/{repo}/issues/{index}/subscriptions/{user}
No description
issue
IssueAddTime
Add tracked time to a issue
POST:/repos/{owner}/{repo}/issues/{index}/times
No description
issue
IssueCheckSubscription
Check if user is subscribed to an issue
GET:/repos/{owner}/{repo}/issues/{index}/subscriptions/check
No description
issue
IssueClearLabels
Remove all labels from an issue
DELETE:/repos/{owner}/{repo}/issues/{index}/labels
No description
issue
IssueCreateComment
Add a comment to an issue
POST:/repos/{owner}/{repo}/issues/{index}/comments
No description
issue
IssueCreateIssue
Create an issue. If using deadline only the date will be taken into account, and time of day ignored.
POST:/repos/{owner}/{repo}/issues
No description
attachment to upload
Optional
query: { Optional
name?: stringname of the attachment
issue
IssueCreateIssueAttachment
Create an issue attachment
POST:/repos/{owner}/{repo}/issues/{index}/assets
No description
issue
IssueCreateIssueBlocking
Block the issue given in the body by the issue in path
POST:/repos/{owner}/{repo}/issues/{index}/blocks
No description
attachment to upload
Optional
query: { Optional
name?: stringname of the attachment
issue
IssueCreateIssueCommentAttachment
Create a comment attachment
POST:/repos/{owner}/{repo}/issues/comments/{id}/assets
No description
issue
IssueCreateIssueDependencies
Make the issue in the url depend on the issue in the form.
POST:/repos/{owner}/{repo}/issues/{index}/dependencies
No description
issue
IssueCreateLabel
Create a label
POST:/repos/{owner}/{repo}/labels
No description
issue
IssueCreateMilestone
Create a milestone
POST:/repos/{owner}/{repo}/milestones
No description
issue
IssueDelete
Delete an issue
DELETE:/repos/{owner}/{repo}/issues/{index}
No description
issue
IssueDeleteComment
Delete a comment
DELETE:/repos/{owner}/{repo}/issues/comments/{id}
No description
issue
IssueDeleteCommentDeprecated
Delete a comment
DELETE:/repos/{owner}/{repo}/issues/{index}/comments/{id}
No description
issue
IssueDeleteCommentReaction
Remove a reaction from a comment of an issue
DELETE:/repos/{owner}/{repo}/issues/comments/{id}/reactions
No description
issue
IssueDeleteIssueAttachment
Delete an issue attachment
DELETE:/repos/{owner}/{repo}/issues/{index}/assets/{attachment_id}
No description
issue
IssueDeleteIssueCommentAttachment
Delete a comment attachment
DELETE:/repos/{owner}/{repo}/issues/comments/{id}/assets/{attachment_id}
No description
issue
IssueDeleteIssueReaction
Remove a reaction from an issue
DELETE:/repos/{owner}/{repo}/issues/{index}/reactions
No description
issue
IssueDeleteLabel
Delete a label
DELETE:/repos/{owner}/{repo}/labels/{id}
No description
issue
IssueDeleteMilestone
Delete a milestone
DELETE:/repos/{owner}/{repo}/milestones/{id}
No description
issue
IssueDeleteStopWatch
Delete an issue's existing stopwatch.
DELETE:/repos/{owner}/{repo}/issues/{index}/stopwatch/delete
No description
issue
IssueDeleteSubscription
Unsubscribe user from issue
DELETE:/repos/{owner}/{repo}/issues/{index}/subscriptions/{user}
No description
issue
IssueDeleteTime
Delete specific tracked time
DELETE:/repos/{owner}/{repo}/issues/{index}/times/{id}
No description
issue
IssueEditComment
Edit a comment
PATCH:/repos/{owner}/{repo}/issues/comments/{id}
No description
issue
IssueEditCommentDeprecated
Edit a comment
PATCH:/repos/{owner}/{repo}/issues/{index}/comments/{id}
No description
issue
IssueEditIssue
Edit an issue. If using deadline only the date will be taken into account, and time of day ignored.
PATCH:/repos/{owner}/{repo}/issues/{index}
No description
issue
IssueEditIssueAttachment
Edit an issue attachment
PATCH:/repos/{owner}/{repo}/issues/{index}/assets/{attachment_id}
No description
issue
IssueEditIssueCommentAttachment
Edit a comment attachment
PATCH:/repos/{owner}/{repo}/issues/comments/{id}/assets/{attachment_id}
No description
issue
IssueEditIssueDeadline
Set 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.
POST:/repos/{owner}/{repo}/issues/{index}/deadline
No description
issue
IssueEditLabel
Update a label
PATCH:/repos/{owner}/{repo}/labels/{id}
No description
issue
IssueEditMilestone
Update a milestone
PATCH:/repos/{owner}/{repo}/milestones/{id}
No description
issue
IssueGetComment
Get a comment
GET:/repos/{owner}/{repo}/issues/comments/{id}
No description
issue
IssueGetCommentReactions
Get a list of reactions from a comment of an issue
GET:/repos/{owner}/{repo}/issues/comments/{id}/reactions
No description
Optional
query: { Optional
before?: stringif provided, only comments updated before the provided time are returned.
date-time
Optional
since?: stringif provided, only comments updated since the specified time are returned.
date-time
issue
IssueGetComments
List all comments on an issue
GET:/repos/{owner}/{repo}/issues/{index}/comments
No description
Optional
query: { Optional
before?: stringif provided, only comments updated before the provided time are returned.
date-time
Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
Optional
since?: stringif provided, only comments updated since the specified time are returned.
date-time
issue
IssueGetCommentsAndTimeline
List all comments and events on an issue
GET:/repos/{owner}/{repo}/issues/{index}/timeline
No description
issue
IssueGetIssue
Get an issue
GET:/repos/{owner}/{repo}/issues/{index}
No description
issue
IssueGetIssueAttachment
Get an issue attachment
GET:/repos/{owner}/{repo}/issues/{index}/assets/{attachment_id}
No description
issue
IssueGetIssueCommentAttachment
Get a comment attachment
GET:/repos/{owner}/{repo}/issues/comments/{id}/assets/{attachment_id}
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
issue
IssueGetIssueReactions
Get a list reactions of an issue
GET:/repos/{owner}/{repo}/issues/{index}/reactions
No description
issue
IssueGetLabel
Get a single label
GET:/repos/{owner}/{repo}/labels/{id}
No description
issue
IssueGetLabels
Get an issue's labels
GET:/repos/{owner}/{repo}/issues/{index}/labels
No description
issue
IssueGetMilestone
Get a milestone
GET:/repos/{owner}/{repo}/milestones/{id}
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
name?: stringfilter by milestone name
Optional
page?: numberpage number of results to return (1-based)
Optional
state?: stringMilestone state, Recognized values are open, closed and all. Defaults to "open"
issue
IssueGetMilestonesList
Get all of a repository's opened milestones
GET:/repos/{owner}/{repo}/milestones
No description
Optional
query: { Optional
before?: stringif provided, only comments updated before the provided time are returned.
date-time
Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
Optional
since?: stringif provided, only comments updated since the provided time are returned.
date-time
issue
IssueGetRepoComments
List all comments in a repository
GET:/repos/{owner}/{repo}/issues/comments
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
issue
IssueListBlocks
List issues that are blocked by this issue
GET:/repos/{owner}/{repo}/issues/{index}/blocks
No description
issue
IssueListIssueAttachments
List issue's attachments
GET:/repos/{owner}/{repo}/issues/{index}/assets
No description
issue
IssueListIssueCommentAttachments
List comment's attachments
GET:/repos/{owner}/{repo}/issues/comments/{id}/assets
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
issue
IssueListIssueDependencies
List an issue's dependencies, i.e all issues that block this issue.
GET:/repos/{owner}/{repo}/issues/{index}/dependencies
No description
Optional
query: { Optional
assigned_Only show items for which the given user is assigned
Optional
before?: stringOnly show items updated before the given time. This is a timestamp in RFC 3339 format
date-time
Optional
created_Only show items which were created by the given user
Optional
labels?: stringcomma separated list of labels. Fetch only issues that have any of this labels. Non existent labels are discarded
Optional
limit?: numberpage size of results
Optional
mentioned_Only show items in which the given user was mentioned
Optional
milestones?: stringcomma separated list of milestone names or ids. It uses names and fall back to ids. Fetch only issues that have any of this milestones. Non existent milestones are discarded
Optional
page?: numberpage number of results to return (1-based)
Optional
q?: stringsearch string
Optional
since?: stringOnly show items updated after the given time. This is a timestamp in RFC 3339 format
date-time
Optional
state?: "open" | "closed" | "all"whether issue is open or closed
Optional
type?: "issues" | "pulls"filter by type (issues / pulls) if set
issue
IssueListIssues
List a repository's issues
GET:/repos/{owner}/{repo}/issues
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
issue
IssueListLabels
Get all of a repository's labels
GET:/repos/{owner}/{repo}/labels
No description
issue
IssuePostCommentReaction
Add a reaction to a comment of an issue
POST:/repos/{owner}/{repo}/issues/comments/{id}/reactions
No description
issue
IssuePostIssueReaction
Add a reaction to an issue
POST:/repos/{owner}/{repo}/issues/{index}/reactions
No description
issue
IssueRemoveIssueBlocking
Unblock the issue given in the body by the issue in path
DELETE:/repos/{owner}/{repo}/issues/{index}/blocks
No description
issue
IssueRemoveIssueDependencies
Remove an issue dependency
DELETE:/repos/{owner}/{repo}/issues/{index}/dependencies
No description
issue
IssueRemoveLabel
Remove a label from an issue
DELETE:/repos/{owner}/{repo}/issues/{index}/labels/{id}
No description
issue
IssueReplaceLabels
Replace an issue's labels
PUT:/repos/{owner}/{repo}/issues/{index}/labels
No description
issue
IssueResetTime
Reset a tracked time of an issue
DELETE:/repos/{owner}/{repo}/issues/{index}/times
No description
Optional
query: { Optional
assigned?: booleanfilter (issues / pulls) assigned to you, default is false
Optional
before?: stringOnly show notifications updated before the given time. This is a timestamp in RFC 3339 format
date-time
Optional
created?: booleanfilter (issues / pulls) created by you, default is false
Optional
labels?: stringcomma separated list of labels. Fetch only issues that have any of this labels. Non existent labels are discarded
Optional
limit?: numberpage size of results
Optional
mentioned?: booleanfilter (issues / pulls) mentioning you, default is false
Optional
milestones?: stringcomma separated list of milestone names. Fetch only issues that have any of this milestones. Non existent are discarded
Optional
owner?: stringfilter by owner
Optional
page?: numberpage number of results to return (1-based)
Optional
priority_repository to prioritize in the results
int64
Optional
q?: stringsearch string
Optional
review_filter pulls requesting your review, default is false
Optional
reviewed?: booleanfilter pulls reviewed by you, default is false
Optional
since?: stringOnly show notifications updated after the given time. This is a timestamp in RFC 3339 format
date-time
Optional
state?: stringwhether issue is open or closed
Optional
team?: stringfilter by team (requires organization owner parameter to be provided)
Optional
type?: stringfilter by type (issues / pulls) if set
issue
IssueSearchIssues
Search for issues across the repositories that the user has access to
GET:/repos/issues/search
No description
issue
IssueStartStopWatch
Start stopwatch on an issue.
POST:/repos/{owner}/{repo}/issues/{index}/stopwatch/start
No description
issue
IssueStopStopWatch
Stop an issue's existing stopwatch.
POST:/repos/{owner}/{repo}/issues/{index}/stopwatch/stop
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
issue
IssueSubscriptions
Get users who subscribed on an issue.
GET:/repos/{owner}/{repo}/issues/{index}/subscriptions
No description
Optional
query: { Optional
before?: stringOnly show times updated before the given time. This is a timestamp in RFC 3339 format
date-time
Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
Optional
since?: stringOnly show times updated after the given time. This is a timestamp in RFC 3339 format
date-time
Optional
user?: stringoptional filter by user (available for issue managers)
issue
IssueTrackedTimes
List an issue's tracked times
GET:/repos/{owner}/{repo}/issues/{index}/times
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
repository
ListForks
List a repository's forks
GET:/repos/{owner}/{repo}/forks
No description
issue
MoveIssuePin
Moves the Pin to the given Position
PATCH:/repos/{owner}/{repo}/issues/{index}/pin/{position}
No description
Optional
query: { Optional
all?: booleanIf true, show notifications marked as read. Default value is false
Optional
before?: stringOnly show notifications updated before the given time. This is a timestamp in RFC 3339 format
date-time
Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
Optional
since?: stringOnly show notifications updated after the given time. This is a timestamp in RFC 3339 format
date-time
Optional
status-Show notifications with the provided status types. Options are: unread, read and/or pinned. Defaults to unread & pinned
Optional
subject-filter notifications by subject type
notification
NotifyGetRepoList
List users's notification threads on a specific repo
GET:/repos/{owner}/{repo}/notifications
No description
Optional
query: { Optional
all?: stringIf true, mark all notifications on this repo. Default value is false
Optional
last_Describes the last point that notifications were checked. Anything updated since this time will not be updated.
date-time
Optional
status-Mark notifications with the provided status types. Options are: unread, read and/or pinned. Defaults to unread.
Optional
to-Status to mark notifications as. Defaults to read.
notification
NotifyReadRepoList
Mark notification threads as read, pinned or unread on a specific repo
PUT:/repos/{owner}/{repo}/notifications
No description
issue
PinIssue
Pin an Issue
POST:/repos/{owner}/{repo}/issues/{index}/pin
No description
repository
RejectRepoTransfer
Reject a repo transfer
POST:/repos/{owner}/{repo}/transfer/reject
No description
repository
RepoAddCollaborator
Add a collaborator to a repository
PUT:/repos/{owner}/{repo}/collaborators/{collaborator}
No description
repository
RepoAddPushMirror
add a push mirror to the repository
POST:/repos/{owner}/{repo}/push_mirrors
No description
repository
RepoAddTeam
Add a team to a repository
PUT:/repos/{owner}/{repo}/teams/{team}
No description
repository
RepoAddTopic
Add a topic to a repository
PUT:/repos/{owner}/{repo}/topics/{topic}
No description
repository
RepoApplyDiffPatch
Apply diff patch to repository
POST:/repos/{owner}/{repo}/diffpatch
No description
repository
RepoCancelScheduledAutoMerge
Cancel the scheduled auto merge for the given pull request
DELETE:/repos/{owner}/{repo}/pulls/{index}/merge
No description
repository
RepoChangeFiles
Modify multiple files in a repository
POST:/repos/{owner}/{repo}/contents
No description
repository
RepoCheckCollaborator
Check if a user is a collaborator of a repository
GET:/repos/{owner}/{repo}/collaborators/{collaborator}
No description
repository
RepoCheckTeam
Check if a team is assigned to a repository
GET:/repos/{owner}/{repo}/teams/{team}
No description
repository
RepoCompareDiff
Get commit comparison information
GET:/repos/{owner}/{repo}/compare/{basehead}
No description
repository
RepoCreateBranch
Create a branch
POST:/repos/{owner}/{repo}/branches
No description
repository
RepoCreateBranchProtection
Create a branch protections for a repository
POST:/repos/{owner}/{repo}/branch_protections
No description
repository
RepoCreateFile
Create a file in a repository
POST:/repos/{owner}/{repo}/contents/{filepath}
No description
repository
RepoCreateHook
Create a hook
POST:/repos/{owner}/{repo}/hooks
No description
repository
RepoCreateKey
Add a key to a repository
POST:/repos/{owner}/{repo}/keys
No description
repository
RepoCreatePullRequest
Create a pull request
POST:/repos/{owner}/{repo}/pulls
No description
repository
RepoCreatePullReview
Create a review to an pull request
POST:/repos/{owner}/{repo}/pulls/{index}/reviews
No description
repository
RepoCreatePullReviewRequests
create review requests for a pull request
POST:/repos/{owner}/{repo}/pulls/{index}/requested_reviewers
No description
repository
RepoCreateRelease
Create a release
POST:/repos/{owner}/{repo}/releases
No description
Optional
attachment?: Fileattachment to upload
Optional
query: { Optional
name?: stringname of the attachment
repository
RepoCreateReleaseAttachment
Create a release attachment
POST:/repos/{owner}/{repo}/releases/{id}/assets
No description
repository
RepoCreateStatus
Create a commit status
POST:/repos/{owner}/{repo}/statuses/{sha}
No description
repository
RepoCreateTag
Create a new git tag in a repository
POST:/repos/{owner}/{repo}/tags
No description
repository
RepoCreateWikiPage
Create a wiki page
POST:/repos/{owner}/{repo}/wiki/new
No description
repository
RepoDelete
Delete a repository
DELETE:/repos/{owner}/{repo}
No description
repository
RepoDeleteAvatar
Delete avatar
DELETE:/repos/{owner}/{repo}/avatar
No description
repository
RepoDeleteBranch
Delete a specific branch from a repository
DELETE:/repos/{owner}/{repo}/branches/{branch}
No description
repository
RepoDeleteBranchProtection
Delete a specific branch protection for the repository
DELETE:/repos/{owner}/{repo}/branch_protections/{name}
No description
repository
RepoDeleteCollaborator
Delete a collaborator from a repository
DELETE:/repos/{owner}/{repo}/collaborators/{collaborator}
No description
repository
RepoDeleteFile
Delete a file in a repository
DELETE:/repos/{owner}/{repo}/contents/{filepath}
No description
repository
RepoDeleteGitHook
Delete a Git hook in a repository
DELETE:/repos/{owner}/{repo}/hooks/git/{id}
No description
repository
RepoDeleteHook
Delete a hook in a repository
DELETE:/repos/{owner}/{repo}/hooks/{id}
No description
repository
RepoDeleteKey
Delete a key from a repository
DELETE:/repos/{owner}/{repo}/keys/{id}
No description
repository
RepoDeletePullReview
Delete a specific review from a pull request
DELETE:/repos/{owner}/{repo}/pulls/{index}/reviews/{id}
No description
repository
RepoDeletePullReviewRequests
cancel review requests for a pull request
DELETE:/repos/{owner}/{repo}/pulls/{index}/requested_reviewers
No description
repository
RepoDeletePushMirror
deletes a push mirror from a repository by remoteName
DELETE:/repos/{owner}/{repo}/push_mirrors/{name}
No description
repository
RepoDeleteRelease
Delete a release
DELETE:/repos/{owner}/{repo}/releases/{id}
No description
repository
RepoDeleteReleaseAttachment
Delete a release attachment
DELETE:/repos/{owner}/{repo}/releases/{id}/assets/{attachment_id}
No description
repository
RepoDeleteReleaseByTag
Delete a release by tag name
DELETE:/repos/{owner}/{repo}/releases/tags/{tag}
No description
repository
RepoDeleteTag
Delete a repository's tag by name
DELETE:/repos/{owner}/{repo}/tags/{tag}
No description
repository
RepoDeleteTeam
Delete a team from a repository
DELETE:/repos/{owner}/{repo}/teams/{team}
No description
repository
RepoDeleteTopic
Delete a topic from a repository
DELETE:/repos/{owner}/{repo}/topics/{topic}
No description
repository
RepoDeleteWikiPage
Delete a wiki page
DELETE:/repos/{owner}/{repo}/wiki/page/{pageName}
No description
repository
RepoDismissPullReview
Dismiss a review for a pull request
POST:/repos/{owner}/{repo}/pulls/{index}/reviews/{id}/dismissals
No description
repository
RepoDownloadCommitDiffOrPatch
Get a commit's diff or patch
GET:/repos/{owner}/{repo}/git/commits/{sha}.{diffType}
No description
Optional
query: { Optional
binary?: booleanwhether to include binary file changes. if true, the diff is applicable with git apply
repository
RepoDownloadPullDiffOrPatch
Get a pull request diff or patch
GET:/repos/{owner}/{repo}/pulls/{index}.{diffType}
No description
repository
RepoEdit
Edit a repository's properties. Only fields that are set will be changed.
PATCH:/repos/{owner}/{repo}
No description
repository
RepoEditBranchProtection
Edit a branch protections for a repository. Only fields that are set will be changed
PATCH:/repos/{owner}/{repo}/branch_protections/{name}
No description
repository
RepoEditGitHook
Edit a Git hook in a repository
PATCH:/repos/{owner}/{repo}/hooks/git/{id}
No description
repository
RepoEditHook
Edit a hook in a repository
PATCH:/repos/{owner}/{repo}/hooks/{id}
No description
repository
RepoEditPullRequest
Update a pull request. If using deadline only the date will be taken into account, and time of day ignored.
PATCH:/repos/{owner}/{repo}/pulls/{index}
No description
repository
RepoEditRelease
Update a release
PATCH:/repos/{owner}/{repo}/releases/{id}
No description
repository
RepoEditReleaseAttachment
Edit a release attachment
PATCH:/repos/{owner}/{repo}/releases/{id}/assets/{attachment_id}
No description
repository
RepoEditWikiPage
Edit a wiki page
PATCH:/repos/{owner}/{repo}/wiki/page/{pageName}
No description
repository
RepoGet
Get a repository
GET:/repos/{owner}/{repo}
No description
Optional
query: { Optional
files?: booleaninclude a list of affected files for every commit (disable for speedup, default 'true')
Optional
limit?: numberpage size of results (ignored if used with 'path')
Optional
not?: stringcommits that match the given specifier will not be listed.
Optional
page?: numberpage number of results to return (1-based)
Optional
path?: stringfilepath of a file/dir
Optional
sha?: stringSHA or branch to start listing commits from (usually 'master')
Optional
stat?: booleaninclude diff stats for every commit (disable for speedup, default 'true')
Optional
verification?: booleaninclude verification for every commit (disable for speedup, default 'true')
repository
RepoGetAllCommits
Get a list of all commits from a repository
GET:/repos/{owner}/{repo}/commits
No description
repository
RepoGetArchive
Get an archive of a repository
GET:/repos/{owner}/{repo}/archive/{archive}
No description
repository
RepoGetAssignees
Return all users that have write access and can be assigned to issues
GET:/repos/{owner}/{repo}/assignees
No description
repository
RepoGetBranch
Retrieve a specific branch from a repository, including its effective branch protection
GET:/repos/{owner}/{repo}/branches/{branch}
No description
repository
RepoGetBranchProtection
Get a specific branch protection for the repository
GET:/repos/{owner}/{repo}/branch_protections/{name}
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
repository
RepoGetCombinedStatusByRef
Get a commit's combined status, by branch/tag/commit reference
GET:/repos/{owner}/{repo}/commits/{ref}/status
No description
repository
RepoGetCommitPullRequest
Get the pull request of the commit
GET:/repos/{owner}/{repo}/commits/{sha}/pull
No description
Optional
query: { Optional
ref?: stringThe name of the commit/branch/tag. Default the repository’s default branch (usually master)
repository
RepoGetContents
Gets the metadata and contents (if a file) of an entry in a repository, or a list of entries if a dir
GET:/repos/{owner}/{repo}/contents/{filepath}
No description
Optional
query: { Optional
ref?: stringThe name of the commit/branch/tag. Default the repository’s default branch (usually master)
repository
RepoGetContentsList
Gets the metadata of all the entries of the root dir
GET:/repos/{owner}/{repo}/contents
No description
Optional
query: { Optional
ref?: stringThe name of the commit/branch/tag. Default the repository’s default branch (usually master)
repository
RepoGetEditorConfig
Get the EditorConfig definitions of a file in a repository
GET:/repos/{owner}/{repo}/editorconfig/{filepath}
No description
repository
RepoGetGitHook
Get a Git hook
GET:/repos/{owner}/{repo}/hooks/git/{id}
No description
repository
RepoGetHook
Get a hook
GET:/repos/{owner}/{repo}/hooks/{id}
No description
repository
RepoGetIssueConfig
Returns the issue config for a repo
GET:/repos/{owner}/{repo}/issue_config
No description
repository
RepoGetIssueTemplates
Get available issue templates for a repository
GET:/repos/{owner}/{repo}/issue_templates
No description
repository
RepoGetKey
Get a repository's key by id
GET:/repos/{owner}/{repo}/keys/{id}
No description
repository
RepoGetLanguages
Get languages and number of bytes of code written
GET:/repos/{owner}/{repo}/languages
No description
repository
RepoGetLatestRelease
Gets the most recent non-prerelease, non-draft release of a repository, sorted by created_at
GET:/repos/{owner}/{repo}/releases/latest
No description
Optional
query: { Optional
files?: booleaninclude a list of affected files for every commit (disable for speedup, default 'true')
Optional
verification?: booleaninclude verification for every commit (disable for speedup, default 'true')
repository
RepoGetNote
Get a note corresponding to a single commit from a repository
GET:/repos/{owner}/{repo}/git/notes/{sha}
No description
repository
RepoGetPullRequest
Get a pull request
GET:/repos/{owner}/{repo}/pulls/{index}
No description
repository
RepoGetPullRequestByBaseHead
Get a pull request by base and head
GET:/repos/{owner}/{repo}/pulls/{base}/{head}
No description
Optional
query: { Optional
files?: booleaninclude a list of affected files for every commit (disable for speedup, default 'true')
Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
Optional
verification?: booleaninclude verification for every commit (disable for speedup, default 'true')
repository
RepoGetPullRequestCommits
Get commits for a pull request
GET:/repos/{owner}/{repo}/pulls/{index}/commits
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
Optional
skip-skip to given file
Optional
whitespace?: "ignore-all" | "ignore-change" | "ignore-eol" | "show-all"whitespace behavior
repository
RepoGetPullRequestFiles
Get changed files for a pull request
GET:/repos/{owner}/{repo}/pulls/{index}/files
No description
repository
RepoGetPullReview
Get a specific review for a pull request
GET:/repos/{owner}/{repo}/pulls/{index}/reviews/{id}
No description
repository
RepoGetPullReviewComments
Get a specific review for a pull request
GET:/repos/{owner}/{repo}/pulls/{index}/reviews/{id}/comments
No description
repository
RepoGetPushMirrorByRemoteName
Get push mirror of the repository by remoteName
GET:/repos/{owner}/{repo}/push_mirrors/{name}
No description
Optional
query: { Optional
ref?: stringThe name of the commit/branch/tag. Default the repository’s default branch (usually master)
repository
RepoGetRawFile
Get a file from a repository
GET:/repos/{owner}/{repo}/raw/{filepath}
No description
Optional
query: { Optional
ref?: stringThe name of the commit/branch/tag. Default the repository’s default branch (usually master)
repository
RepoGetRawFileOrLfs
Get a file or it's LFS object from a repository
GET:/repos/{owner}/{repo}/media/{filepath}
No description
repository
RepoGetRelease
Get a release
GET:/repos/{owner}/{repo}/releases/{id}
No description
repository
RepoGetReleaseAttachment
Get a release attachment
GET:/repos/{owner}/{repo}/releases/{id}/assets/{attachment_id}
No description
repository
RepoGetReleaseByTag
Get a release by tag name
GET:/repos/{owner}/{repo}/releases/tags/{tag}
No description
repository
RepoGetRepoPermissions
Get repository permissions for a user
GET:/repos/{owner}/{repo}/collaborators/{collaborator}/permission
No description
repository
RepoGetReviewers
Return all users that can be requested to review in this repo
GET:/repos/{owner}/{repo}/reviewers
No description
repository
RepoGetRunnerRegistrationToken
Get a repository's actions runner registration token
GET:/repos/{owner}/{repo}/runners/registration-token
No description
Optional
query: { Optional
files?: booleaninclude a list of affected files for every commit (disable for speedup, default 'true')
Optional
stat?: booleaninclude diff stats for every commit (disable for speedup, default 'true')
Optional
verification?: booleaninclude verification for every commit (disable for speedup, default 'true')
repository
RepoGetSingleCommit
Get a single commit from a repository
GET:/repos/{owner}/{repo}/git/commits/{sha}
No description
repository
RepoGetTag
Get the tag of a repository by tag name
GET:/repos/{owner}/{repo}/tags/{tag}
No description
repository
RepoGetWikiPage
Get a wiki page
GET:/repos/{owner}/{repo}/wiki/page/{pageName}
No description
Optional
query: { Optional
page?: numberpage number of results to return (1-based)
repository
RepoGetWikiPageRevisions
Get revisions of a wiki page
GET:/repos/{owner}/{repo}/wiki/revisions/{pageName}
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
repository
RepoGetWikiPages
Get all wiki pages
GET:/repos/{owner}/{repo}/wiki/pages
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
repository
RepoListActionsSecrets
List an repo's actions secrets
GET:/repos/{owner}/{repo}/actions/secrets
No description
Optional
query: { Optional
date?: stringthe date of the activities to be found
date
Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
repository
RepoListActivityFeeds
List a repository's activity feeds
GET:/repos/{owner}/{repo}/activities/feeds
No description
repository
RepoListAllGitRefs
Get specified ref or filtered repository's refs
GET:/repos/{owner}/{repo}/git/refs
No description
repository
RepoListBranchProtection
List branch protections for a repository
GET:/repos/{owner}/{repo}/branch_protections
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
repository
RepoListBranches
List a repository's branches
GET:/repos/{owner}/{repo}/branches
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
repository
RepoListCollaborators
List a repository's collaborators
GET:/repos/{owner}/{repo}/collaborators
No description
repository
RepoListGitHooks
List the Git hooks in a repository
GET:/repos/{owner}/{repo}/hooks/git
No description
repository
RepoListGitRefs
Get specified ref or filtered repository's refs
GET:/repos/{owner}/{repo}/git/refs/{ref}
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
repository
RepoListHooks
List the hooks in a repository
GET:/repos/{owner}/{repo}/hooks
No description
Optional
query: { Optional
fingerprint?: stringfingerprint of the key
Optional
key_the key_id to search for
Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
repository
RepoListKeys
List a repository's keys
GET:/repos/{owner}/{repo}/keys
No description
repository
RepoListPinnedIssues
List a repo's pinned issues
GET:/repos/{owner}/{repo}/issues/pinned
No description
repository
RepoListPinnedPullRequests
List a repo's pinned pull requests
GET:/repos/{owner}/{repo}/pulls/pinned
No description
Optional
query: { Optional
labels?: number[]Label IDs
Optional
limit?: numberpage size of results
Optional
milestone?: numberID of the milestone
int64
Optional
page?: numberpage number of results to return (1-based)
Optional
sort?: "oldest" | "recentupdate" | "leastupdate" | "mostcomment" | "leastcomment" | "priority"Type of sort
Optional
state?: "open" | "closed" | "all"State of pull request: open or closed (optional)
repository
RepoListPullRequests
List a repo's pull requests
GET:/repos/{owner}/{repo}/pulls
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
repository
RepoListPullReviews
List all reviews for a pull request
GET:/repos/{owner}/{repo}/pulls/{index}/reviews
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
repository
RepoListPushMirrors
Get all push mirrors of the repository
GET:/repos/{owner}/{repo}/push_mirrors
No description
repository
RepoListReleaseAttachments
List release's attachments
GET:/repos/{owner}/{repo}/releases/{id}/assets
No description
Optional
query: { Optional
draft?: booleanfilter (exclude / include) drafts, if you dont have repo write access none will show
Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
Optional
pre-filter (exclude / include) pre-releases
repository
RepoListReleases
List a repo's releases
GET:/repos/{owner}/{repo}/releases
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
repository
RepoListStargazers
List a repo's stargazers
GET:/repos/{owner}/{repo}/stargazers
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
Optional
sort?: "oldest" | "recentupdate" | "leastupdate" | "leastindex" | "highestindex"type of sort
Optional
state?: "error" | "pending" | "success" | "failure" | "warning"type of state
repository
RepoListStatuses
Get a commit's statuses
GET:/repos/{owner}/{repo}/statuses/{sha}
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
Optional
sort?: "oldest" | "recentupdate" | "leastupdate" | "leastindex" | "highestindex"type of sort
Optional
state?: "error" | "pending" | "success" | "failure" | "warning"type of state
repository
RepoListStatusesByRef
Get a commit's statuses, by branch/tag/commit reference
GET:/repos/{owner}/{repo}/commits/{ref}/statuses
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
repository
RepoListSubscribers
List a repo's watchers
GET:/repos/{owner}/{repo}/subscribers
No description
Optional
query: { Optional
limit?: numberpage size of results, default maximum page size is 50
Optional
page?: numberpage number of results to return (1-based)
repository
RepoListTags
List a repository's tags
GET:/repos/{owner}/{repo}/tags
No description
repository
RepoListTeams
List a repository's teams
GET:/repos/{owner}/{repo}/teams
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
repository
RepoListTopics
Get list of topics that a repository has
GET:/repos/{owner}/{repo}/topics
No description
repository
RepoMergePullRequest
Merge a pull request
POST:/repos/{owner}/{repo}/pulls/{index}/merge
No description
repository
RepoMigrate
Migrate a remote git repository
POST:/repos/migrate
No description
repository
RepoMirrorSync
Sync a mirrored repository
POST:/repos/{owner}/{repo}/mirror-sync
No description
repository
RepoNewPinAllowed
Returns if new Issue Pins are allowed
GET:/repos/{owner}/{repo}/new_pin_allowed
No description
repository
RepoPullRequestIsMerged
Check if a pull request has been merged
GET:/repos/{owner}/{repo}/pulls/{index}/merge
No description
repository
RepoPushMirrorSync
Sync all push mirrored repository
POST:/repos/{owner}/{repo}/push_mirrors-sync
No description
Optional
query: { Optional
archived?: booleanshow only archived, non-archived or all repositories (defaults to all)
Optional
exclusive?: booleanif uid
is given, search only for repos that the user owns
Optional
includeinclude search of keyword within repository description
Optional
is_show only pubic, private or all repositories (defaults to all)
Optional
limit?: numberpage size of results
Optional
mode?: stringtype of repository to search for. Supported values are "fork", "source", "mirror" and "collaborative"
Optional
order?: stringsort order, either "asc" (ascending) or "desc" (descending). Default is "asc", ignored if "sort" is not specified.
Optional
page?: numberpage number of results to return (1-based)
Optional
priority_repo owner to prioritize in the results
int64
Optional
private?: booleaninclude private repositories this user has access to (defaults to true)
Optional
q?: stringkeyword
Optional
sort?: stringsort repos by attribute. Supported values are "alpha", "created", "updated", "size", and "id". Default is "alpha"
Optional
starredsearch only for repos that the user with the given id has starred
int64
Optional
team_search only for repos that belong to the given team id
int64
Optional
template?: booleaninclude template repositories this user has access to (defaults to true)
Optional
topic?: booleanLimit search to repositories with keyword as topic
Optional
uid?: numbersearch only for repos that the user with the given id owns or contributes to
int64
repository
RepoSearch
Search for repositories
GET:/repos/search
No description
repository
RepoSigningKey
Get signing-key.gpg for given repository
GET:/repos/{owner}/{repo}/signing-key.gpg
No description
repository
RepoSubmitPullReview
Submit a pending review to an pull request
POST:/repos/{owner}/{repo}/pulls/{index}/reviews/{id}
No description
Optional
query: { Optional
ref?: stringThe name of the commit/branch/tag, indicates which commit will be loaded to the webhook payload.
repository
RepoTestHook
Test a push webhook
POST:/repos/{owner}/{repo}/hooks/{id}/tests
No description
Optional
query: { Optional
before?: stringOnly show times updated before the given time. This is a timestamp in RFC 3339 format
date-time
Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
Optional
since?: stringOnly show times updated after the given time. This is a timestamp in RFC 3339 format
date-time
Optional
user?: stringoptional filter by user (available for issue managers)
repository
RepoTrackedTimes
List a repo's tracked times
GET:/repos/{owner}/{repo}/times
No description
repository
RepoTransfer
Transfer a repo ownership
POST:/repos/{owner}/{repo}/transfer
No description
repository
RepoUnDismissPullReview
Cancel to dismiss a review for a pull request
POST:/repos/{owner}/{repo}/pulls/{index}/reviews/{id}/undismissals
No description
repository
RepoUpdateAvatar
Update avatar
POST:/repos/{owner}/{repo}/avatar
No description
repository
RepoUpdateFile
Update a file in a repository
PUT:/repos/{owner}/{repo}/contents/{filepath}
No description
Optional
query: { Optional
style?: "merge" | "rebase"how to update pull request
repository
RepoUpdatePullRequest
Merge PR's baseBranch into headBranch
POST:/repos/{owner}/{repo}/pulls/{index}/update
No description
repository
RepoUpdateTopics
Replace list of topics for a repository
PUT:/repos/{owner}/{repo}/topics
No description
repository
RepoValidateIssueConfig
Returns the validation information for a issue config
GET:/repos/{owner}/{repo}/issue_config/validate
No description
issue
UnpinIssue
Unpin an Issue
DELETE:/repos/{owner}/{repo}/issues/{index}/pin
No description
repository
UpdateRepoSecret
Create or Update a secret value in a repository
PUT:/repos/{owner}/{repo}/actions/secrets/{secretname}
No description
repository
UpdateRepoVariable
Update a repo-level variable
PUT:/repos/{owner}/{repo}/actions/variables/{variablename}
No description
repository
UserCurrentCheckSubscription
Check if the current user is watching a repo
GET:/repos/{owner}/{repo}/subscription
No description
repository
UserCurrentDeleteSubscription
Unwatch a repo
DELETE:/repos/{owner}/{repo}/subscription
No description
repository
UserCurrentPutSubscription
Watch a repo
PUT:/repos/{owner}/{repo}/subscription
No description
repository
UserTrackedTimes
List a user's tracked times in a repo
GET:/repos/{owner}/{repo}/times/{user}
No description
repository
RepoGetById
Get a repository by id
GET:/repositories/{id}
No description
settings
GetGeneralApiSettings
Get instance's global settings for api
GET:/settings/api
No description
settings
GetGeneralAttachmentSettings
Get instance's global settings for Attachment
GET:/settings/attachment
No description
settings
GetGeneralRepositorySettings
Get instance's global settings for repositories
GET:/settings/repository
No description
settings
GetGeneralUiSettings
Get instance's global settings for ui
GET:/settings/ui
No description
miscellaneous
GetSigningKey
Get default signing-key.gpg
GET:/signing-key.gpg
No description
organization
OrgAddTeamMember
Add a team member
PUT:/teams/{id}/members/{username}
No description
organization
OrgAddTeamRepository
Add a repository to a team
PUT:/teams/{id}/repos/{org}/{repo}
No description
organization
OrgDeleteTeam
Delete a team
DELETE:/teams/{id}
No description
organization
OrgEditTeam
Edit a team
PATCH:/teams/{id}
No description
organization
OrgGetTeam
Get a team
GET:/teams/{id}
No description
Optional
query: { Optional
date?: stringthe date of the activities to be found
date
Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
organization
OrgListTeamActivityFeeds
List a team's activity feeds
GET:/teams/{id}/activities/feeds
No description
organization
OrgListTeamMember
List a particular member of team
GET:/teams/{id}/members/{username}
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
organization
OrgListTeamMembers
List a team's members
GET:/teams/{id}/members
No description
organization
OrgListTeamRepo
List a particular repo of team
GET:/teams/{id}/repos/{org}/{repo}
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
organization
OrgListTeamRepos
List a team's repos
GET:/teams/{id}/repos
No description
organization
OrgRemoveTeamMember
Remove a team member
DELETE:/teams/{id}/members/{username}
This does not delete the repository, it only removes the repository from the team.
organization
OrgRemoveTeamRepository
Remove a repository from a team
DELETE:/teams/{id}/repos/{org}/{repo}
No description
Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
keywords to search
repository
TopicSearch
search topics via keyword
GET:/topics/search
No description
repository, user
CreateCurrentUserRepo
Create a repository
POST:/user/repos
No description
user
CreateUserVariable
Create a user-level variable
POST:/user/actions/variables/{variablename}
No description
user
DeleteUserSecret
Delete a secret in a user scope
DELETE:/user/actions/secrets/{secretname}
No description
user
DeleteUserVariable
Delete a user-level variable which is created by current doer
DELETE:/user/actions/variables/{variablename}
No description
user
GetUserSettings
Get user settings
GET:/user/settings
No description
user
GetUserVariable
Get a user-level variable which is created by current doer
GET:/user/actions/variables/{variablename}
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
user
GetUserVariablesList
Get the user-level list of variables which is created by current doer
GET:/user/actions/variables
No description
user
GetVerificationToken
Get a Token to verify
GET:/user/gpg_key_token
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
organization
OrgListCurrentUserOrgs
List the current user's organizations
GET:/user/orgs
No description
user
UpdateUserSecret
Create or Update a secret value in a user scope
PUT:/user/actions/secrets/{secretname}
No description
user
UpdateUserSettings
Update user settings
PATCH:/user/settings
No description
user
UpdateUserVariable
Update a user-level variable which is created by current doer
PUT:/user/actions/variables/{variablename}
No description
user
UserAddEmail
Add email addresses
POST:/user/emails
No description
Optional
query: { Optional
note?: stringoptional note for the block
user
UserBlockUser
Block a user
PUT:/user/blocks/{username}
No description
user
UserCheckUserBlock
Check if a user is blocked by the authenticated user
GET:/user/blocks/{username}
No description
user
UserCreateHook
Create a hook
POST:/user/hooks
No description
user
UserCreateOAuth2Application
creates a new OAuth2 application
POST:/user/applications/oauth2
No description
user
UserCurrentCheckFollowing
Check whether a user is followed by the authenticated user
GET:/user/following/{username}
No description
user
UserCurrentCheckStarring
Whether the authenticated is starring the repo
GET:/user/starred/{owner}/{repo}
No description
user
UserCurrentDeleteFollow
Unfollow a user
DELETE:/user/following/{username}
No description
user
UserCurrentDeleteGpgKey
Remove a GPG key
DELETE:/user/gpg_keys/{id}
No description
user
UserCurrentDeleteKey
Delete a public key
DELETE:/user/keys/{id}
No description
user
UserCurrentDeleteStar
Unstar the given repo
DELETE:/user/starred/{owner}/{repo}
No description
user
UserCurrentGetGpgKey
Get a GPG key
GET:/user/gpg_keys/{id}
No description
user
UserCurrentGetKey
Get a public key
GET:/user/keys/{id}
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
user
UserCurrentListFollowers
List the authenticated user's followers
GET:/user/followers
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
user
UserCurrentListFollowing
List the users that the authenticated user is following
GET:/user/following
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
user
UserCurrentListGpgKeys
List the authenticated user's GPG keys
GET:/user/gpg_keys
No description
Optional
query: { Optional
fingerprint?: stringfingerprint of the key
Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
user
UserCurrentListKeys
List the authenticated user's public keys
GET:/user/keys
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
user
UserCurrentListRepos
List the repos that the authenticated user owns
GET:/user/repos
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
user
UserCurrentListStarred
The repos that the authenticated user has starred
GET:/user/starred
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
user
UserCurrentListSubscriptions
List repositories watched by the authenticated user
GET:/user/subscriptions
No description
user
UserCurrentPostGpgKey
Create a GPG key
POST:/user/gpg_keys
No description
user
UserCurrentPostKey
Create a public key
POST:/user/keys
No description
user
UserCurrentPutFollow
Follow a user
PUT:/user/following/{username}
No description
user
UserCurrentPutStar
Star the given repo
PUT:/user/starred/{owner}/{repo}
No description
Optional
query: { Optional
before?: stringOnly show times updated before the given time. This is a timestamp in RFC 3339 format
date-time
Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
Optional
since?: stringOnly show times updated after the given time. This is a timestamp in RFC 3339 format
date-time
user
UserCurrentTrackedTimes
List the current user's tracked times
GET:/user/times
No description
user
UserDeleteAvatar
Delete Avatar
DELETE:/user/avatar
No description
user
UserDeleteEmail
Delete email addresses
DELETE:/user/emails
No description
user
UserDeleteHook
Delete a hook
DELETE:/user/hooks/{id}
No description
user
UserDeleteOAuth2Application
delete an OAuth2 Application
DELETE:/user/applications/oauth2/{id}
No description
user
UserEditHook
Update a hook
PATCH:/user/hooks/{id}
No description
user
UserGetCurrent
Get the authenticated user
GET:/user
No description
user
UserGetHook
Get a hook
GET:/user/hooks/{id}
No description
user
UserGetOAuth2Application
get an OAuth2 Application
GET:/user/applications/oauth2/{id}
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
user
UserGetOauth2Application
List the authenticated user's oauth2 applications
GET:/user/applications/oauth2
No description
user
UserGetRunnerRegistrationToken
Get an user's actions runner registration token
GET:/user/actions/runners/registration-token
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
user
UserGetStopWatches
Get list of all existing stopwatches
GET:/user/stopwatches
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
user
UserListBlocks
List users blocked by the authenticated user
GET:/user/blocks
No description
user
UserListEmails
List the authenticated user's email addresses
GET:/user/emails
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
user
UserListHooks
List the authenticated user's webhooks
GET:/user/hooks
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
user
UserListTeams
List all the teams a user belongs to
GET:/user/teams
No description
user
UserUnblockUser
Unblock a user
DELETE:/user/blocks/{username}
No description
user
UserUpdateAvatar
Update Avatar
POST:/user/avatar
No description
user
UserUpdateOAuth2Application
update an OAuth2 Application, this includes regenerating the client secret
PATCH:/user/applications/oauth2/{id}
No description
user
UserVerifyGpgKey
Verify a GPG key
POST:/user/gpg_key_verify
No description
organization
OrgGetUserPermissions
Get user permissions in organization
GET:/users/{username}/orgs/{org}/permissions
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
organization
OrgListUserOrgs
List a user's organizations
GET:/users/{username}/orgs
No description
user
UserCheckFollowing
Check if one user is following another user
GET:/users/{username}/following/{target}
No description
user
UserCreateToken
Create an access token
POST:/users/{username}/tokens
No description
user
UserDeleteAccessToken
delete an access token
DELETE:/users/{username}/tokens/{token}
No description
user
UserGet
Get a user
GET:/users/{username}
No description
user
UserGetHeatmapData
Get a user's heatmap
GET:/users/{username}/heatmap
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
user
UserGetTokens
List the authenticated user's access tokens
GET:/users/{username}/tokens
No description
Optional
query: { Optional
date?: stringthe date of the activities to be found
date
Optional
limit?: numberpage size of results
Optional
only-if true, only show actions performed by the requested user
Optional
page?: numberpage number of results to return (1-based)
user
UserListActivityFeeds
List a user's activity feeds
GET:/users/{username}/activities/feeds
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
user
UserListFollowers
List the given user's followers
GET:/users/{username}/followers
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
user
UserListFollowing
List the users that the given user is following
GET:/users/{username}/following
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
user
UserListGpgKeys
List the given user's GPG keys
GET:/users/{username}/gpg_keys
No description
Optional
query: { Optional
fingerprint?: stringfingerprint of the key
Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
user
UserListKeys
List the given user's public keys
GET:/users/{username}/keys
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
user
UserListRepos
List the repos owned by the given user
GET:/users/{username}/repos
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
user
UserListStarred
The repos that the given user has starred
GET:/users/{username}/starred
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
user
UserListSubscriptions
List the repositories watched by a user
GET:/users/{username}/subscriptions
No description
Optional
query: { Optional
limit?: numberpage size of results
Optional
page?: numberpage number of results to return (1-based)
Optional
q?: stringkeyword
Optional
uid?: numberID of the user to search for
int64
user
UserSearch
Search for users
GET:/users/search
No description
miscellaneous
GetVersion
Returns the version of the Gitea application
GET:/version
Protected
addProtected
addProtected
addOptional
rawQuery: QueryParamsTypeProtected
createProtected
encodeProtected
mergeOptional
params2: RequestParamsProtected
toOptional
rawQuery: QueryParamsTypeGenerated using TypeDoc
Title
Gitea API
Version
1.22.0
License
MIT (http://opensource.org/licenses/MIT)
Base Url
/api/v1
This documentation describes the Gitea API.