Forgejo repository API
The repository API from Forgejo — 126 operation(s) for repository.
Operations 198
PATCH
/repos/{owner}/{repo}
Edit a repository's properties. Only fields that are set will be changed.
#
GET
/repos/{owner}/{repo}/actions/runners/jobs
Search for repository's action jobs according filter conditions
#
GET
/repos/{owner}/{repo}/actions/runners/registration-token
Get a repository's runner registration token
#
GET
/repos/{owner}/{repo}/actions/runners/{runner_id}
Get a particular runner that belongs to the repository
#
DELETE
/repos/{owner}/{repo}/actions/runners/{runner_id}
Delete a particular runner that belongs to a repository
#
GET
/repos/{owner}/{repo}/actions/runs/{run_id}/logs
Download a ZIP of plaintext logs for every job in an action run
#
PUT
/repos/{owner}/{repo}/actions/secrets/{secretname}
Create or Update a secret value in a repository
#
GET
/repos/{owner}/{repo}/assignees
Return all users that have write access and can be assigned to issues
#
GET
/repos/{owner}/{repo}/branch_protections/{name}
Get a specific branch protection for the repository
#
DELETE
/repos/{owner}/{repo}/branch_protections/{name}
Delete a specific branch protection for the repository
#
PATCH
/repos/{owner}/{repo}/branch_protections/{name}
Edit a branch protections for a repository. Only fields that are set will be changed
#
GET
/repos/{owner}/{repo}/branches/{branch}
Retrieve a specific branch from a repository, including its effective branch protection
#
GET
/repos/{owner}/{repo}/collaborators/{collaborator}
Check if a user is a collaborator of a repository
#
GET
/repos/{owner}/{repo}/collaborators/{collaborator}/permission
Get repository permissions for a user
#
GET
/repos/{owner}/{repo}/commits/{ref}/status
Get a commit's combined status, by branch/tag/commit reference
#
GET
/repos/{owner}/{repo}/commits/{ref}/statuses
Get a commit's statuses, by branch/tag/commit reference
#
GET
/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
#
GET
/repos/{owner}/{repo}/editorconfig/{filepath}
Get the EditorConfig definitions of a file in a repository
#
GET
/repos/{owner}/{repo}/git/notes/{sha}
Get a note corresponding to a single commit from a repository
#
POST
/repos/{owner}/{repo}/git/notes/{sha}
Set a note corresponding to a single commit from a repository
#
DELETE
/repos/{owner}/{repo}/git/notes/{sha}
Removes a note corresponding to a single commit from a repository
#
GET
/repos/{owner}/{repo}/git/tags/{sha}
Gets the tag object of an annotated tag (not lightweight tags)
#
GET
/repos/{owner}/{repo}/issue_config/validate
Returns the validation information for a issue config
#
GET
/repos/{owner}/{repo}/pulls
List a repo's pull requests. If a pull request is selected but fails to be retrieved for any reason, it will be a null value in the list of results.
#
PATCH
/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.
#
DELETE
/repos/{owner}/{repo}/pulls/{index}/merge
Cancel the scheduled auto merge for the given pull request
#
POST
/repos/{owner}/{repo}/pulls/{index}/requested_reviewers
Create review requests for a pull request
#
DELETE
/repos/{owner}/{repo}/pulls/{index}/requested_reviewers
Cancel review requests for a pull request
#
DELETE
/repos/{owner}/{repo}/pulls/{index}/reviews/{id}
Delete a specific review from a pull request
#
GET
/repos/{owner}/{repo}/pulls/{index}/reviews/{id}/comments
Get a specific review for a pull request
#
POST
/repos/{owner}/{repo}/pulls/{index}/reviews/{id}/comments
Add a new comment to a pull request review
#
DELETE
/repos/{owner}/{repo}/pulls/{index}/reviews/{id}/comments/{comment}
Delete a pull review comment
#
POST
/repos/{owner}/{repo}/pulls/{index}/reviews/{id}/dismissals
Dismiss a review for a pull request
#
POST
/repos/{owner}/{repo}/pulls/{index}/reviews/{id}/undismissals
Cancel to dismiss a review for a pull request
#
DELETE
/repos/{owner}/{repo}/push_mirrors/{name}
Remove a push mirror from a repository by remoteName
#
GET
/repos/{owner}/{repo}/releases/latest
Gets the most recent non-prerelease, non-draft release of a repository, sorted by created_at
#
GET
/repos/{owner}/{repo}/sync_fork
Gets information about syncing the fork default branch with the base branch
#
GET
/repos/{owner}/{repo}/sync_fork/{branch}
Gets information about syncing a fork branch with the base branch
#
DELETE
/repos/{owner}/{repo}/tag_protections/{id}
Delete a specific tag protection for the repository
#
PATCH
/repos/{owner}/{repo}/tag_protections/{id}
Edit a tag protections for a repository. Only fields that are set will be changed
#