Gitea · Capability

Gitea API — repository

Gitea API — repository. 197 operations. Lead operation: Migrate a Remote Git Repository. Self-contained Naftiko capability covering one Gitea business surface.

Run with Naftiko Gitearepository

What You Can Do

POST
Repomigrate — Migrate a Remote Git Repository
/v1/repos/migrate
GET
Reposearch — Search for Repositories
/v1/repos/search
GET
Repoget — Get a Repository
/v1/repos/{owner}/{repo}
DELETE
Repodelete — Delete a Repository
/v1/repos/{owner}/{repo}
PATCH
Repoedit — Edit a Repository's Properties. Only Fields That Are Set Will Be Changed.
/v1/repos/{owner}/{repo}
GET
Getartifacts — Lists All Artifacts for a Repository
/v1/repos/{owner}/{repo}/actions/artifacts
GET
Getartifact — Gets a Specific Artifact for a Workflow Run
/v1/repos/{owner}/{repo}/actions/artifacts/{artifact-id}
DELETE
Deleteartifact — Deletes a Specific Artifact for a Workflow Run
/v1/repos/{owner}/{repo}/actions/artifacts/{artifact-id}
GET
Downloadartifact — Downloads a Specific Artifact for a Workflow Run Redirects to Blob URL
/v1/repos/{owner}/{repo}/actions/artifacts/{artifact-id}/zip
GET
Listworkflowjobs — Lists All Jobs for a Repository
/v1/repos/{owner}/{repo}/actions/jobs
GET
Getworkflowjob — Gets a Specific Workflow Job for a Workflow Run
/v1/repos/{owner}/{repo}/actions/jobs/{job-id}
GET
Downloadactionsrunjoblogs — Downloads the Job Logs for a Workflow Run
/v1/repos/{owner}/{repo}/actions/jobs/{job-id}/logs
GET
Getreporunners — Get Repo-Level Runners
/v1/repos/{owner}/{repo}/actions/runners
POST
Repocreaterunnerregistrationtoken — Get a Repository's Actions Runner Registration Token
/v1/repos/{owner}/{repo}/actions/runners/registration-token
GET
Getreporunner — Get a Repo-Level Runner
/v1/repos/{owner}/{repo}/actions/runners/{runner-id}
DELETE
Deletereporunner — Delete a Repo-Level Runner
/v1/repos/{owner}/{repo}/actions/runners/{runner-id}
PATCH
Updatereporunner — Update a Repo-Level Runner
/v1/repos/{owner}/{repo}/actions/runners/{runner-id}
GET
Getworkflowruns — Lists All Runs for a Repository Run
/v1/repos/{owner}/{repo}/actions/runs
GET
Getworkflowrun — Gets a Specific Workflow Run
/v1/repos/{owner}/{repo}/actions/runs/{run}
DELETE
Deleteactionrun — Delete a Workflow Run
/v1/repos/{owner}/{repo}/actions/runs/{run}
GET
Getartifactsofrun — Lists All Artifacts for a Repository Run
/v1/repos/{owner}/{repo}/actions/runs/{run}/artifacts
GET
Listworkflowrunjobs — Lists All Jobs for a Workflow Run
/v1/repos/{owner}/{repo}/actions/runs/{run}/jobs
POST
Rerunworkflowjob — Reruns a Specific Workflow Job in a Run
/v1/repos/{owner}/{repo}/actions/runs/{run}/jobs/{job-id}/rerun
POST
Rerunworkflowrun — Reruns an Entire Workflow Run
/v1/repos/{owner}/{repo}/actions/runs/{run}/rerun
POST
Rerunfailedworkflowrun — Reruns All Failed Jobs in a Workflow Run
/v1/repos/{owner}/{repo}/actions/runs/{run}/rerun-failed-jobs
GET
Repolistactionssecrets — List an Repo's Actions Secrets
/v1/repos/{owner}/{repo}/actions/secrets
PUT
Updatereposecret — Create or Update a Secret Value in a Repository
/v1/repos/{owner}/{repo}/actions/secrets/{secretname}
DELETE
Deletereposecret — Delete a Secret in a Repository
/v1/repos/{owner}/{repo}/actions/secrets/{secretname}
GET
Listactiontasks — List a Repository's Action Tasks
/v1/repos/{owner}/{repo}/actions/tasks
GET
Getrepovariableslist — Get Repo-Level Variables List
/v1/repos/{owner}/{repo}/actions/variables
GET
Getrepovariable — Get a Repo-Level Variable
/v1/repos/{owner}/{repo}/actions/variables/{variablename}
PUT
Updaterepovariable — Update a Repo-Level Variable
/v1/repos/{owner}/{repo}/actions/variables/{variablename}
POST
Createrepovariable — Create a Repo-Level Variable
/v1/repos/{owner}/{repo}/actions/variables/{variablename}
DELETE
Deleterepovariable — Delete a Repo-Level Variable
/v1/repos/{owner}/{repo}/actions/variables/{variablename}
GET
Actionslistrepositoryworkflows — List Repository Workflows
/v1/repos/{owner}/{repo}/actions/workflows
GET
Actionsgetworkflow — Get a Workflow
/v1/repos/{owner}/{repo}/actions/workflows/{workflow-id}
PUT
Actionsdisableworkflow — Disable a Workflow
/v1/repos/{owner}/{repo}/actions/workflows/{workflow-id}/disable
POST
Actionsdispatchworkflow — Create a Workflow Dispatch Event
/v1/repos/{owner}/{repo}/actions/workflows/{workflow-id}/dispatches
PUT
Actionsenableworkflow — Enable a Workflow
/v1/repos/{owner}/{repo}/actions/workflows/{workflow-id}/enable
GET
Repolistactivityfeeds — List a Repository's Activity Feeds
/v1/repos/{owner}/{repo}/activities/feeds
GET
Repogetarchive — Get an Archive of a Repository
/v1/repos/{owner}/{repo}/archive/{archive}
GET
Repogetassignees — Return All Users That Have Write Access and Can Be Assigned to Issues
/v1/repos/{owner}/{repo}/assignees
POST
Repoupdateavatar — Update Avatar
/v1/repos/{owner}/{repo}/avatar
DELETE
Repodeleteavatar — Delete Avatar
/v1/repos/{owner}/{repo}/avatar
GET
Repolistbranchprotection — List Branch Protections for a Repository
/v1/repos/{owner}/{repo}/branch-protections
POST
Repocreatebranchprotection — Create a Branch Protections for a Repository
/v1/repos/{owner}/{repo}/branch-protections
POST
Repoupdatebranchprotectionpriories — Update the Priorities of Branch Protections for a Repository.
/v1/repos/{owner}/{repo}/branch-protections/priority
GET
Repogetbranchprotection — Get a Specific Branch Protection for the Repository
/v1/repos/{owner}/{repo}/branch-protections/{name}
DELETE
Repodeletebranchprotection — Delete a Specific Branch Protection for the Repository
/v1/repos/{owner}/{repo}/branch-protections/{name}
PATCH
Repoeditbranchprotection — Edit a Branch Protections for a Repository. Only Fields That Are Set Will Be Changed
/v1/repos/{owner}/{repo}/branch-protections/{name}
GET
Repolistbranches — List a Repository's Branches
/v1/repos/{owner}/{repo}/branches
POST
Repocreatebranch — Create a Branch
/v1/repos/{owner}/{repo}/branches
GET
Repogetbranch — Retrieve a Specific Branch from a Repository, Including Its Effective Branch Protection
/v1/repos/{owner}/{repo}/branches/{branch}
PUT
Repoupdatebranch — Update a Branch Reference to a New Commit
/v1/repos/{owner}/{repo}/branches/{branch}
DELETE
Repodeletebranch — Delete a Specific Branch from a Repository
/v1/repos/{owner}/{repo}/branches/{branch}
PATCH
Reporenamebranch — Rename a Branch
/v1/repos/{owner}/{repo}/branches/{branch}
GET
Repolistcollaborators — List a Repository's Collaborators
/v1/repos/{owner}/{repo}/collaborators
GET
Repocheckcollaborator — Check if a User Is a Collaborator of a Repository
/v1/repos/{owner}/{repo}/collaborators/{collaborator}
PUT
Repoaddcollaborator — Add or Update a Collaborator to a Repository
/v1/repos/{owner}/{repo}/collaborators/{collaborator}
DELETE
Repodeletecollaborator — Delete a Collaborator from a Repository
/v1/repos/{owner}/{repo}/collaborators/{collaborator}
GET
Repogetrepopermissions — Get Repository Permissions for a User
/v1/repos/{owner}/{repo}/collaborators/{collaborator}/permission
GET
Repogetallcommits — Get a List of All Commits from a Repository
/v1/repos/{owner}/{repo}/commits
GET
Repogetcombinedstatusbyref — Get a Commit's Combined Status, by Branch/Tag/Commit Reference
/v1/repos/{owner}/{repo}/commits/{ref}/status
GET
Repoliststatusesbyref — Get a Commit's Statuses, by Branch/Tag/Commit Reference
/v1/repos/{owner}/{repo}/commits/{ref}/statuses
GET
Repogetcommitpullrequest — Get the Merged Pull Request of the Commit
/v1/repos/{owner}/{repo}/commits/{sha}/pull
GET
Repocomparediff — Get Commit Comparison Information
/v1/repos/{owner}/{repo}/compare/{basehead}
GET
Repogetcontentslist — Gets the Metadata of All the Entries of the Root Dir.
/v1/repos/{owner}/{repo}/contents
POST
Repochangefiles — Modify Multiple Files in a Repository
/v1/repos/{owner}/{repo}/contents
GET
Repogetcontentsext — The Extended "contents" API, to Get File Metadata and/or Content, or List a Directory.
/v1/repos/{owner}/{repo}/contents-ext/{filepath}
GET
Repogetcontents — Gets the Metadata and Contents (if a File) of an Entry in a Repository, or a List of Entries if a Dir.
/v1/repos/{owner}/{repo}/contents/{filepath}
PUT
Repoupdatefile — Update a File in a Repository if SHA Is Set, or Create the File if SHA Is Not Set
/v1/repos/{owner}/{repo}/contents/{filepath}
POST
Repocreatefile — Create a File in a Repository
/v1/repos/{owner}/{repo}/contents/{filepath}
DELETE
Repodeletefile — Delete a File in a Repository
/v1/repos/{owner}/{repo}/contents/{filepath}
POST
Repoapplydiffpatch — Apply Diff Patch to Repository
/v1/repos/{owner}/{repo}/diffpatch
GET
Repogeteditorconfig — Get the EditorConfig Definitions of a File in a Repository
/v1/repos/{owner}/{repo}/editorconfig/{filepath}
GET
Repogetfilecontents — Get the Metadata and Contents of Requested Files
/v1/repos/{owner}/{repo}/file-contents
POST
Repogetfilecontentspost — Get the Metadata and Contents of Requested Files
/v1/repos/{owner}/{repo}/file-contents
GET
Listforks — List a Repository's Forks
/v1/repos/{owner}/{repo}/forks
POST
Createfork — Fork a Repository
/v1/repos/{owner}/{repo}/forks
GET
Getblob — Gets the Blob of a Repository.
/v1/repos/{owner}/{repo}/git/blobs/{sha}
GET
Repogetsinglecommit — Get a Single Commit from a Repository
/v1/repos/{owner}/{repo}/git/commits/{sha}
GET
Repodownloadcommitdifforpatch — Get a Commit's Diff or Patch
/v1/repos/{owner}/{repo}/git/commits/{sha-difftype}
GET
Repogetnote — Get a Note Corresponding to a Single Commit from a Repository
/v1/repos/{owner}/{repo}/git/notes/{sha}
GET
Repolistallgitrefs — Get Specified Ref or Filtered Repository's Refs
/v1/repos/{owner}/{repo}/git/refs
GET
Repolistgitrefs — Get Specified Ref or Filtered Repository's Refs
/v1/repos/{owner}/{repo}/git/refs/{ref}
GET
Getannotatedtag — Gets the Tag Object of an Annotated Tag (not Lightweight Tags)
/v1/repos/{owner}/{repo}/git/tags/{sha}
GET
Gettree — Gets the Tree of a Repository.
/v1/repos/{owner}/{repo}/git/trees/{sha}
GET
Repolisthooks — List the Hooks in a Repository
/v1/repos/{owner}/{repo}/hooks
POST
Repocreatehook — Create a Hook
/v1/repos/{owner}/{repo}/hooks
GET
Repolistgithooks — List the Git Hooks in a Repository
/v1/repos/{owner}/{repo}/hooks/git
GET
Repogetgithook — Get a Git Hook
/v1/repos/{owner}/{repo}/hooks/git/{id}
DELETE
Repodeletegithook — Delete a Git Hook in a Repository
/v1/repos/{owner}/{repo}/hooks/git/{id}
PATCH
Repoeditgithook — Edit a Git Hook in a Repository
/v1/repos/{owner}/{repo}/hooks/git/{id}
GET
Repogethook — Get a Hook
/v1/repos/{owner}/{repo}/hooks/{id}
DELETE
Repodeletehook — Delete a Hook in a Repository
/v1/repos/{owner}/{repo}/hooks/{id}
PATCH
Repoedithook — Edit a Hook in a Repository
/v1/repos/{owner}/{repo}/hooks/{id}
POST
Repotesthook — Test a Push Webhook
/v1/repos/{owner}/{repo}/hooks/{id}/tests
GET
Repogetissueconfig — Returns the Issue Config for a Repo
/v1/repos/{owner}/{repo}/issue-config
GET
Repovalidateissueconfig — Returns the Validation Information for a Issue Config
/v1/repos/{owner}/{repo}/issue-config/validate
GET
Repogetissuetemplates — Get Available Issue Templates for a Repository
/v1/repos/{owner}/{repo}/issue-templates
GET
Repolistpinnedissues — List a Repo's Pinned Issues
/v1/repos/{owner}/{repo}/issues/pinned
GET
Repolistkeys — List a Repository's Keys
/v1/repos/{owner}/{repo}/keys
POST
Repocreatekey — Add a Key to a Repository
/v1/repos/{owner}/{repo}/keys
GET
Repogetkey — Get a Repository's Key by ID
/v1/repos/{owner}/{repo}/keys/{id}
DELETE
Repodeletekey — Delete a Key from a Repository
/v1/repos/{owner}/{repo}/keys/{id}
GET
Repogetlanguages — Get Languages and Number of Bytes of Code Written
/v1/repos/{owner}/{repo}/languages
GET
Repogetlicenses — Get Repo Licenses
/v1/repos/{owner}/{repo}/licenses
GET
Repogetrawfileorlfs — Get a File or It's LFS Object from a Repository
/v1/repos/{owner}/{repo}/media/{filepath}
POST
Repomergeupstream — Merge a Branch from Upstream
/v1/repos/{owner}/{repo}/merge-upstream
POST
Repomirrorsync — Sync a Mirrored Repository
/v1/repos/{owner}/{repo}/mirror-sync
GET
Reponewpinallowed — Returns if New Issue Pins Are Allowed
/v1/repos/{owner}/{repo}/new-pin-allowed
GET
Repolistpullrequests — List a Repo's Pull Requests
/v1/repos/{owner}/{repo}/pulls
POST
Repocreatepullrequest — Create a Pull Request
/v1/repos/{owner}/{repo}/pulls
POST
Reporesolvepullreviewcomment — Resolve a Pull Request Review Comment
/v1/repos/{owner}/{repo}/pulls/comments/{id}/resolve
POST
Repounresolvepullreviewcomment — Unresolve a Pull Request Review Comment
/v1/repos/{owner}/{repo}/pulls/comments/{id}/unresolve
GET
Repolistpinnedpullrequests — List a Repo's Pinned Pull Requests
/v1/repos/{owner}/{repo}/pulls/pinned
GET
Repogetpullrequestbybasehead — Get a Pull Request by Base and Head
/v1/repos/{owner}/{repo}/pulls/{base}/{head}
GET
Repogetpullrequest — Get a Pull Request
/v1/repos/{owner}/{repo}/pulls/{index}
PATCH
Repoeditpullrequest — Update a Pull Request. if Using Deadline Only the Date Will Be Taken Into Account, and Time of Day Ignored.
/v1/repos/{owner}/{repo}/pulls/{index}
GET
Repodownloadpulldifforpatch — Get a Pull Request Diff or Patch
/v1/repos/{owner}/{repo}/pulls/{index-difftype}
GET
Repogetpullrequestcommits — Get Commits for a Pull Request
/v1/repos/{owner}/{repo}/pulls/{index}/commits
GET
Repogetpullrequestfiles — Get Changed Files for a Pull Request
/v1/repos/{owner}/{repo}/pulls/{index}/files
GET
Repopullrequestismerged — Check if a Pull Request Has Been Merged
/v1/repos/{owner}/{repo}/pulls/{index}/merge
POST
Repomergepullrequest — Merge a Pull Request
/v1/repos/{owner}/{repo}/pulls/{index}/merge
DELETE
Repocancelscheduledautomerge — Cancel the Scheduled Auto Merge for the Given Pull Request
/v1/repos/{owner}/{repo}/pulls/{index}/merge
POST
Repocreatepullreviewrequests — Create Review Requests for a Pull Request
/v1/repos/{owner}/{repo}/pulls/{index}/requested-reviewers
DELETE
Repodeletepullreviewrequests — Cancel Review Requests for a Pull Request
/v1/repos/{owner}/{repo}/pulls/{index}/requested-reviewers
GET
Repolistpullreviews — List All Reviews for a Pull Request
/v1/repos/{owner}/{repo}/pulls/{index}/reviews
POST
Repocreatepullreview — Create a Review to a Pull Request
/v1/repos/{owner}/{repo}/pulls/{index}/reviews
GET
Repogetpullreview — Get a Specific Review for a Pull Request
/v1/repos/{owner}/{repo}/pulls/{index}/reviews/{id}
POST
Reposubmitpullreview — Submit a Pending Review to a Pull Request
/v1/repos/{owner}/{repo}/pulls/{index}/reviews/{id}
DELETE
Repodeletepullreview — Delete a Specific Review from a Pull Request
/v1/repos/{owner}/{repo}/pulls/{index}/reviews/{id}
GET
Repogetpullreviewcomments — Get a Specific Review for a Pull Request
/v1/repos/{owner}/{repo}/pulls/{index}/reviews/{id}/comments
POST
Repodismisspullreview — Dismiss a Review for a Pull Request
/v1/repos/{owner}/{repo}/pulls/{index}/reviews/{id}/dismissals
POST
Repoundismisspullreview — Cancel to Dismiss a Review for a Pull Request
/v1/repos/{owner}/{repo}/pulls/{index}/reviews/{id}/undismissals
POST
Repoupdatepullrequest — Merge PR's BaseBranch Into HeadBranch
/v1/repos/{owner}/{repo}/pulls/{index}/update
GET
Repolistpushmirrors — Get All Push Mirrors of the Repository
/v1/repos/{owner}/{repo}/push-mirrors
POST
Repoaddpushmirror — Add a Push Mirror to the Repository
/v1/repos/{owner}/{repo}/push-mirrors
POST
Repopushmirrorsync — Sync All Push Mirrored Repository
/v1/repos/{owner}/{repo}/push-mirrors-sync
GET
Repogetpushmirrorbyremotename — Get Push Mirror of the Repository by RemoteName
/v1/repos/{owner}/{repo}/push-mirrors/{name}
DELETE
Repodeletepushmirror — Deletes a Push Mirror from a Repository by RemoteName
/v1/repos/{owner}/{repo}/push-mirrors/{name}
GET
Repogetrawfile — Get a File from a Repository
/v1/repos/{owner}/{repo}/raw/{filepath}
GET
Repolistreleases — List a Repo's Releases
/v1/repos/{owner}/{repo}/releases
POST
Repocreaterelease — Create a Release
/v1/repos/{owner}/{repo}/releases
GET
Repogetlatestrelease — Gets the Most Recent Non-Prerelease, Non-Draft Release of a Repository, Sorted by Created_at
/v1/repos/{owner}/{repo}/releases/latest
GET
Repogetreleasebytag — Get a Release by Tag Name
/v1/repos/{owner}/{repo}/releases/tags/{tag}
DELETE
Repodeletereleasebytag — Delete a Release by Tag Name
/v1/repos/{owner}/{repo}/releases/tags/{tag}
GET
Repogetrelease — Get a Release
/v1/repos/{owner}/{repo}/releases/{id}
DELETE
Repodeleterelease — Delete a Release
/v1/repos/{owner}/{repo}/releases/{id}
PATCH
Repoeditrelease — Update a Release
/v1/repos/{owner}/{repo}/releases/{id}
GET
Repolistreleaseattachments — List Release's Attachments
/v1/repos/{owner}/{repo}/releases/{id}/assets
POST
Repocreatereleaseattachment — Create a Release Attachment
/v1/repos/{owner}/{repo}/releases/{id}/assets
GET
Repogetreleaseattachment — Get a Release Attachment
/v1/repos/{owner}/{repo}/releases/{id}/assets/{attachment-id}
DELETE
Repodeletereleaseattachment — Delete a Release Attachment
/v1/repos/{owner}/{repo}/releases/{id}/assets/{attachment-id}
PATCH
Repoeditreleaseattachment — Edit a Release Attachment
/v1/repos/{owner}/{repo}/releases/{id}/assets/{attachment-id}
GET
Repogetreviewers — Return All Users That Can Be Requested to Review in This Repo
/v1/repos/{owner}/{repo}/reviewers
GET
Reposigningkey — Get Signing-Key.gpg for Given Repository
/v1/repos/{owner}/{repo}/signing-key-gpg
GET
Reposigningkeyssh — Get Signing-Key.pub for Given Repository
/v1/repos/{owner}/{repo}/signing-key-pub
GET
Repoliststargazers — List a Repo's Stargazers
/v1/repos/{owner}/{repo}/stargazers
GET
Repoliststatuses — Get a Commit's Statuses
/v1/repos/{owner}/{repo}/statuses/{sha}
POST
Repocreatestatus — Create a Commit Status
/v1/repos/{owner}/{repo}/statuses/{sha}
GET
Repolistsubscribers — List a Repo's Watchers
/v1/repos/{owner}/{repo}/subscribers
GET
Usercurrentchecksubscription — Check if the Current User Is Watching a Repo
/v1/repos/{owner}/{repo}/subscription
PUT
Usercurrentputsubscription — Watch a Repo
/v1/repos/{owner}/{repo}/subscription
DELETE
Usercurrentdeletesubscription — Unwatch a Repo
/v1/repos/{owner}/{repo}/subscription
GET
Repolisttagprotection — List Tag Protections for a Repository
/v1/repos/{owner}/{repo}/tag-protections
POST
Repocreatetagprotection — Create a Tag Protections for a Repository
/v1/repos/{owner}/{repo}/tag-protections
GET
Repogettagprotection — Get a Specific Tag Protection for the Repository
/v1/repos/{owner}/{repo}/tag-protections/{id}
DELETE
Repodeletetagprotection — Delete a Specific Tag Protection for the Repository
/v1/repos/{owner}/{repo}/tag-protections/{id}
PATCH
Repoedittagprotection — Edit a Tag Protections for a Repository. Only Fields That Are Set Will Be Changed
/v1/repos/{owner}/{repo}/tag-protections/{id}
GET
Repolisttags — List a Repository's Tags
/v1/repos/{owner}/{repo}/tags
POST
Repocreatetag — Create a New Git Tag in a Repository
/v1/repos/{owner}/{repo}/tags
GET
Repogettag — Get the Tag of a Repository by Tag Name
/v1/repos/{owner}/{repo}/tags/{tag}
DELETE
Repodeletetag — Delete a Repository's Tag by Name
/v1/repos/{owner}/{repo}/tags/{tag}
GET
Repolistteams — List a Repository's Teams
/v1/repos/{owner}/{repo}/teams
GET
Repocheckteam — Check if a Team Is Assigned to a Repository
/v1/repos/{owner}/{repo}/teams/{team}
PUT
Repoaddteam — Add a Team to a Repository
/v1/repos/{owner}/{repo}/teams/{team}
DELETE
Repodeleteteam — Delete a Team from a Repository
/v1/repos/{owner}/{repo}/teams/{team}
GET
Repotrackedtimes — List a Repo's Tracked Times
/v1/repos/{owner}/{repo}/times
GET
Usertrackedtimes — List a User's Tracked Times in a Repo
/v1/repos/{owner}/{repo}/times/{user}
GET
Repolisttopics — Get List of Topics That a Repository Has
/v1/repos/{owner}/{repo}/topics
PUT
Repoupdatetopics — Replace List of Topics for a Repository
/v1/repos/{owner}/{repo}/topics
PUT
Repoaddtopic — Add a Topic to a Repository
/v1/repos/{owner}/{repo}/topics/{topic}
DELETE
Repodeletetopic — Delete a Topic from a Repository
/v1/repos/{owner}/{repo}/topics/{topic}
POST
Repotransfer — Transfer a Repo Ownership
/v1/repos/{owner}/{repo}/transfer
POST
Acceptrepotransfer — Accept a Repo Transfer
/v1/repos/{owner}/{repo}/transfer/accept
POST
Rejectrepotransfer — Reject a Repo Transfer
/v1/repos/{owner}/{repo}/transfer/reject
POST
Repocreatewikipage — Create a Wiki Page
/v1/repos/{owner}/{repo}/wiki/new
GET
Repogetwikipage — Get a Wiki Page
/v1/repos/{owner}/{repo}/wiki/page/{pagename}
DELETE
Repodeletewikipage — Delete a Wiki Page
/v1/repos/{owner}/{repo}/wiki/page/{pagename}
PATCH
Repoeditwikipage — Edit a Wiki Page
/v1/repos/{owner}/{repo}/wiki/page/{pagename}
GET
Repogetwikipages — Get All Wiki Pages
/v1/repos/{owner}/{repo}/wiki/pages
GET
Repogetwikipagerevisions — Get Revisions of a Wiki Page
/v1/repos/{owner}/{repo}/wiki/revisions/{pagename}
POST
Generaterepo — Create a Repository Using a Template
/v1/repos/{template-owner}/{template-repo}/generate
GET
Repogetbyid — Get a Repository by ID
/v1/repositories/{id}
GET
Topicsearch — Search Topics via Keyword
/v1/topics/search
POST
Createcurrentuserrepo — Create a Repository
/v1/user/repos

MCP Tools

migrate-remote-git-repository

Migrate a Remote Git Repository

search-repositories

Search for Repositories

read-only idempotent
get-repository

Get a Repository

read-only idempotent
delete-repository

Delete a Repository

idempotent
edit-repository-s-properties-only-fields

Edit a Repository's Properties. Only Fields That Are Set Will Be Changed.

idempotent
lists-all-artifacts-repository

Lists All Artifacts for a Repository

read-only idempotent
gets-specific-artifact-workflow-run

Gets a Specific Artifact for a Workflow Run

read-only idempotent
deletes-specific-artifact-workflow-run

Deletes a Specific Artifact for a Workflow Run

idempotent
downloads-specific-artifact-workflow-run

Downloads a Specific Artifact for a Workflow Run Redirects to Blob URL

read-only idempotent
lists-all-jobs-repository

Lists All Jobs for a Repository

read-only idempotent
gets-specific-workflow-job-workflow

Gets a Specific Workflow Job for a Workflow Run

read-only idempotent
downloads-job-logs-workflow-run

Downloads the Job Logs for a Workflow Run

read-only idempotent
get-repo-level-runners

Get Repo-Level Runners

read-only idempotent
get-repository-s-actions-runner-registration

Get a Repository's Actions Runner Registration Token

read-only
get-repo-level-runner

Get a Repo-Level Runner

read-only idempotent
delete-repo-level-runner

Delete a Repo-Level Runner

idempotent
update-repo-level-runner

Update a Repo-Level Runner

idempotent
lists-all-runs-repository-run

Lists All Runs for a Repository Run

read-only idempotent
gets-specific-workflow-run

Gets a Specific Workflow Run

read-only idempotent
delete-workflow-run

Delete a Workflow Run

idempotent
lists-all-artifacts-repository-run

Lists All Artifacts for a Repository Run

read-only idempotent
lists-all-jobs-workflow-run

Lists All Jobs for a Workflow Run

read-only idempotent
reruns-specific-workflow-job-run

Reruns a Specific Workflow Job in a Run

reruns-entire-workflow-run

Reruns an Entire Workflow Run

reruns-all-failed-jobs-workflow

Reruns All Failed Jobs in a Workflow Run

list-repo-s-actions-secrets

List an Repo's Actions Secrets

read-only idempotent
create-update-secret-value-repository

Create or Update a Secret Value in a Repository

idempotent
delete-secret-repository

Delete a Secret in a Repository

idempotent
list-repository-s-action-tasks

List a Repository's Action Tasks

read-only idempotent
get-repo-level-variables-list

Get Repo-Level Variables List

read-only idempotent
get-repo-level-variable

Get a Repo-Level Variable

read-only idempotent
update-repo-level-variable

Update a Repo-Level Variable

idempotent
create-repo-level-variable

Create a Repo-Level Variable

delete-repo-level-variable

Delete a Repo-Level Variable

idempotent
list-repository-workflows

List Repository Workflows

read-only idempotent
get-workflow

Get a Workflow

read-only idempotent
disable-workflow

Disable a Workflow

idempotent
create-workflow-dispatch-event

Create a Workflow Dispatch Event

enable-workflow

Enable a Workflow

idempotent
list-repository-s-activity-feeds

List a Repository's Activity Feeds

read-only idempotent
get-archive-repository

Get an Archive of a Repository

read-only idempotent
return-all-users-that-have

Return All Users That Have Write Access and Can Be Assigned to Issues

read-only idempotent
update-avatar

Update Avatar

delete-avatar

Delete Avatar

idempotent
list-branch-protections-repository

List Branch Protections for a Repository

read-only idempotent
create-branch-protections-repository

Create a Branch Protections for a Repository

update-priorities-branch-protections-repository

Update the Priorities of Branch Protections for a Repository.

get-specific-branch-protection-repository

Get a Specific Branch Protection for the Repository

read-only idempotent
delete-specific-branch-protection-repository

Delete a Specific Branch Protection for the Repository

idempotent
edit-branch-protections-repository-only

Edit a Branch Protections for a Repository. Only Fields That Are Set Will Be Changed

idempotent
list-repository-s-branches

List a Repository's Branches

read-only idempotent
create-branch

Create a Branch

retrieve-specific-branch-repository-including

Retrieve a Specific Branch from a Repository, Including Its Effective Branch Protection

read-only idempotent
update-branch-reference-new-commit

Update a Branch Reference to a New Commit

idempotent
delete-specific-branch-repository

Delete a Specific Branch from a Repository

idempotent
rename-branch

Rename a Branch

idempotent
list-repository-s-collaborators

List a Repository's Collaborators

read-only idempotent
check-if-user-is-collaborator

Check if a User Is a Collaborator of a Repository

read-only idempotent
add-update-collaborator-repository

Add or Update a Collaborator to a Repository

idempotent
delete-collaborator-repository

Delete a Collaborator from a Repository

idempotent
get-repository-permissions-user

Get Repository Permissions for a User

read-only idempotent
get-list-all-commits-repository

Get a List of All Commits from a Repository

read-only idempotent
get-commit-s-combined-status-branch

Get a Commit's Combined Status, by Branch/Tag/Commit Reference

read-only idempotent
get-commit-s-statuses-branch-tag

Get a Commit's Statuses, by Branch/Tag/Commit Reference

read-only idempotent
get-merged-pull-request-commit

Get the Merged Pull Request of the Commit

read-only idempotent
get-commit-comparison-information

Get Commit Comparison Information

read-only idempotent
gets-metadata-all-entries-root

Gets the Metadata of All the Entries of the Root Dir.

read-only idempotent
modify-multiple-files-repository

Modify Multiple Files in a Repository

extended-contents-api-get-file

The Extended "contents" API, to Get File Metadata and/or Content, or List a Directory.

read-only idempotent
gets-metadata-and-contents-if

Gets the Metadata and Contents (if a File) of an Entry in a Repository, or a List of Entries if a Dir.

read-only idempotent
update-file-repository-if-sha

Update a File in a Repository if SHA Is Set, or Create the File if SHA Is Not Set

idempotent
create-file-repository

Create a File in a Repository

delete-file-repository

Delete a File in a Repository

idempotent
apply-diff-patch-repository

Apply Diff Patch to Repository

get-editorconfig-definitions-file-repository

Get the EditorConfig Definitions of a File in a Repository

read-only idempotent
get-metadata-and-contents-requested

Get the Metadata and Contents of Requested Files

read-only idempotent
get-metadata-and-contents-requested-2

Get the Metadata and Contents of Requested Files

read-only
list-repository-s-forks

List a Repository's Forks

read-only idempotent
fork-repository

Fork a Repository

gets-blob-repository

Gets the Blob of a Repository.

read-only idempotent
get-single-commit-repository

Get a Single Commit from a Repository

read-only idempotent
get-commit-s-diff-patch

Get a Commit's Diff or Patch

read-only idempotent
get-note-corresponding-single-commit

Get a Note Corresponding to a Single Commit from a Repository

read-only idempotent
get-specified-ref-filtered-repository-s

Get Specified Ref or Filtered Repository's Refs

read-only idempotent
get-specified-ref-filtered-repository-s-2

Get Specified Ref or Filtered Repository's Refs

read-only idempotent
gets-tag-object-annotated-tag

Gets the Tag Object of an Annotated Tag (not Lightweight Tags)

read-only idempotent
gets-tree-repository

Gets the Tree of a Repository.

read-only idempotent
list-hooks-repository

List the Hooks in a Repository

read-only idempotent
create-hook

Create a Hook

list-git-hooks-repository

List the Git Hooks in a Repository

read-only idempotent
get-git-hook

Get a Git Hook

read-only idempotent
delete-git-hook-repository

Delete a Git Hook in a Repository

idempotent
edit-git-hook-repository

Edit a Git Hook in a Repository

idempotent
get-hook

Get a Hook

read-only idempotent
delete-hook-repository

Delete a Hook in a Repository

idempotent
edit-hook-repository

Edit a Hook in a Repository

idempotent
test-push-webhook

Test a Push Webhook

read-only
returns-issue-config-repo

Returns the Issue Config for a Repo

read-only idempotent
returns-validation-information-issue-config

Returns the Validation Information for a Issue Config

read-only idempotent
get-available-issue-templates-repository

Get Available Issue Templates for a Repository

read-only idempotent
list-repo-s-pinned-issues

List a Repo's Pinned Issues

read-only idempotent
list-repository-s-keys

List a Repository's Keys

read-only idempotent
add-key-repository

Add a Key to a Repository

get-repository-s-key-id

Get a Repository's Key by ID

read-only idempotent
delete-key-repository

Delete a Key from a Repository

idempotent
get-languages-and-number-bytes

Get Languages and Number of Bytes of Code Written

read-only idempotent
get-repo-licenses

Get Repo Licenses

read-only idempotent
get-file-it-s-lfs-object

Get a File or It's LFS Object from a Repository

read-only idempotent
merge-branch-upstream

Merge a Branch from Upstream

sync-mirrored-repository

Sync a Mirrored Repository

returns-if-new-issue-pins

Returns if New Issue Pins Are Allowed

read-only idempotent
list-repo-s-pull-requests

List a Repo's Pull Requests

read-only idempotent
create-pull-request

Create a Pull Request

resolve-pull-request-review-comment

Resolve a Pull Request Review Comment

unresolve-pull-request-review-comment

Unresolve a Pull Request Review Comment

list-repo-s-pinned-pull-requests

List a Repo's Pinned Pull Requests

read-only idempotent
get-pull-request-base-and

Get a Pull Request by Base and Head

read-only idempotent
get-pull-request

Get a Pull Request

read-only idempotent
update-pull-request-if-using

Update a Pull Request. if Using Deadline Only the Date Will Be Taken Into Account, and Time of Day Ignored.

idempotent
get-pull-request-diff-patch

Get a Pull Request Diff or Patch

read-only idempotent
get-commits-pull-request

Get Commits for a Pull Request

read-only idempotent
get-changed-files-pull-request

Get Changed Files for a Pull Request

read-only idempotent
check-if-pull-request-has

Check if a Pull Request Has Been Merged

read-only idempotent
merge-pull-request

Merge a Pull Request

cancel-scheduled-auto-merge-given

Cancel the Scheduled Auto Merge for the Given Pull Request

idempotent
create-review-requests-pull-request

Create Review Requests for a Pull Request

cancel-review-requests-pull-request

Cancel Review Requests for a Pull Request

idempotent
list-all-reviews-pull-request

List All Reviews for a Pull Request

read-only idempotent
create-review-pull-request

Create a Review to a Pull Request

get-specific-review-pull-request

Get a Specific Review for a Pull Request

read-only idempotent
submit-pending-review-pull-request

Submit a Pending Review to a Pull Request

delete-specific-review-pull-request

Delete a Specific Review from a Pull Request

idempotent
get-specific-review-pull-request-2

Get a Specific Review for a Pull Request

read-only idempotent
dismiss-review-pull-request

Dismiss a Review for a Pull Request

cancel-dismiss-review-pull-request

Cancel to Dismiss a Review for a Pull Request

merge-pr-s-basebranch-headbranch

Merge PR's BaseBranch Into HeadBranch

get-all-push-mirrors-repository

Get All Push Mirrors of the Repository

read-only idempotent
add-push-mirror-repository

Add a Push Mirror to the Repository

sync-all-push-mirrored-repository

Sync All Push Mirrored Repository

get-push-mirror-repository-remotename

Get Push Mirror of the Repository by RemoteName

read-only idempotent
deletes-push-mirror-repository-remotename

Deletes a Push Mirror from a Repository by RemoteName

idempotent
get-file-repository

Get a File from a Repository

read-only idempotent
list-repo-s-releases

List a Repo's Releases

read-only idempotent
create-release

Create a Release

gets-most-recent-non-prerelease

Gets the Most Recent Non-Prerelease, Non-Draft Release of a Repository, Sorted by Created_at

read-only idempotent
get-release-tag-name

Get a Release by Tag Name

read-only idempotent
delete-release-tag-name

Delete a Release by Tag Name

idempotent
get-release

Get a Release

read-only idempotent
delete-release

Delete a Release

idempotent
update-release

Update a Release

idempotent
list-release-s-attachments

List Release's Attachments

read-only idempotent
create-release-attachment

Create a Release Attachment

get-release-attachment

Get a Release Attachment

read-only idempotent
delete-release-attachment

Delete a Release Attachment

idempotent
edit-release-attachment

Edit a Release Attachment

idempotent
return-all-users-that-can

Return All Users That Can Be Requested to Review in This Repo

read-only idempotent
get-signing-key-gpg-given-repository

Get Signing-Key.gpg for Given Repository

read-only idempotent
get-signing-key-pub-given-repository

Get Signing-Key.pub for Given Repository

read-only idempotent
list-repo-s-stargazers

List a Repo's Stargazers

read-only idempotent
get-commit-s-statuses

Get a Commit's Statuses

read-only idempotent
create-commit-status

Create a Commit Status

list-repo-s-watchers

List a Repo's Watchers

read-only idempotent
check-if-current-user-is

Check if the Current User Is Watching a Repo

read-only idempotent
watch-repo

Watch a Repo

idempotent
unwatch-repo

Unwatch a Repo

idempotent
list-tag-protections-repository

List Tag Protections for a Repository

read-only idempotent
create-tag-protections-repository

Create a Tag Protections for a Repository

get-specific-tag-protection-repository

Get a Specific Tag Protection for the Repository

read-only idempotent
delete-specific-tag-protection-repository

Delete a Specific Tag Protection for the Repository

idempotent
edit-tag-protections-repository-only

Edit a Tag Protections for a Repository. Only Fields That Are Set Will Be Changed

idempotent
list-repository-s-tags

List a Repository's Tags

read-only idempotent
create-new-git-tag-repository

Create a New Git Tag in a Repository

get-tag-repository-tag-name

Get the Tag of a Repository by Tag Name

read-only idempotent
delete-repository-s-tag-name

Delete a Repository's Tag by Name

idempotent
list-repository-s-teams

List a Repository's Teams

read-only idempotent
check-if-team-is-assigned

Check if a Team Is Assigned to a Repository

read-only idempotent
add-team-repository

Add a Team to a Repository

idempotent
delete-team-repository

Delete a Team from a Repository

idempotent
list-repo-s-tracked-times

List a Repo's Tracked Times

read-only idempotent
list-user-s-tracked-times-repo

List a User's Tracked Times in a Repo

read-only idempotent
get-list-topics-that-repository

Get List of Topics That a Repository Has

read-only idempotent
replace-list-topics-repository

Replace List of Topics for a Repository

idempotent
add-topic-repository

Add a Topic to a Repository

idempotent
delete-topic-repository

Delete a Topic from a Repository

idempotent
transfer-repo-ownership

Transfer a Repo Ownership

accept-repo-transfer

Accept a Repo Transfer

reject-repo-transfer

Reject a Repo Transfer

create-wiki-page

Create a Wiki Page

get-wiki-page

Get a Wiki Page

read-only idempotent
delete-wiki-page

Delete a Wiki Page

idempotent
edit-wiki-page

Edit a Wiki Page

idempotent
get-all-wiki-pages

Get All Wiki Pages

read-only idempotent
get-revisions-wiki-page

Get Revisions of a Wiki Page

read-only idempotent
create-repository-using-template

Create a Repository Using a Template

get-repository-id

Get a Repository by ID

read-only idempotent
search-topics-keyword

Search Topics via Keyword

read-only idempotent
create-repository

Create a Repository

Capability Spec

rest-repository.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Gitea API — repository
  description: 'Gitea API — repository. 197 operations. Lead operation: Migrate a Remote Git Repository. Self-contained Naftiko
    capability covering one Gitea business surface.'
  tags:
  - Gitea
  - repository
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GITEA_API_KEY: GITEA_API_KEY
capability:
  consumes:
  - type: http
    namespace: rest-repository
    baseUri: https://gitea.com/api/v1
    description: Gitea API — repository business capability. Self-contained, no shared references.
    resources:
    - name: repos-migrate
      path: /repos/migrate
      operations:
      - name: repomigrate
        method: POST
        description: Migrate a Remote Git Repository
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: repos-search
      path: /repos/search
      operations:
      - name: reposearch
        method: GET
        description: Search for Repositories
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: q
          in: query
          type: string
          description: keyword
        - name: topic
          in: query
          type: boolean
          description: Limit search to repositories with keyword as topic
        - name: includeDesc
          in: query
          type: boolean
          description: include search of keyword within repository description
        - name: uid
          in: query
          type: integer
          description: search only for repos that the user with the given id owns or contributes to
        - name: priority_owner_id
          in: query
          type: integer
          description: repo owner to prioritize in the results
        - name: team_id
          in: query
          type: integer
          description: search only for repos that belong to the given team id
        - name: starredBy
          in: query
          type: integer
          description: search only for repos that the user with the given id has starred
        - name: private
          in: query
          type: boolean
          description: include private repositories this user has access to (defaults to true)
        - name: is_private
          in: query
          type: boolean
          description: show only pubic, private or all repositories (defaults to all)
        - name: template
          in: query
          type: boolean
          description: include template repositories this user has access to (defaults to true)
        - name: archived
          in: query
          type: boolean
          description: show only archived, non-archived or all repositories (defaults to all)
        - name: mode
          in: query
          type: string
          description: type of repository to search for. Supported values are "fork", "source", "mirror" and "collaborative"
        - name: exclusive
          in: query
          type: boolean
          description: if `uid` is given, search only for repos that the user owns
        - name: sort
          in: query
          type: string
          description: sort repos by attribute. Supported values are "alpha", "created", "updated", "size", "git_size", "lfs_size",
            "stars", "forks" and "id". Default is "alpha"
        - name: order
          in: query
          type: string
          description: sort order, either "asc" (ascending) or "desc" (descending). Default is "asc", ignored if "sort" is
            not specified.
        - name: page
          in: query
          type: integer
          description: page number of results to return (1-based)
        - name: limit
          in: query
          type: integer
          description: page size of results
    - name: repos-owner-repo
      path: /repos/{owner}/{repo}
      operations:
      - name: repoget
        method: GET
        description: Get a Repository
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: owner
          in: path
          type: string
          description: owner of the repo
          required: true
        - name: repo
          in: path
          type: string
          description: name of the repo
          required: true
      - name: repodelete
        method: DELETE
        description: Delete a Repository
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: owner
          in: path
          type: string
          description: owner of the repo to delete
          required: true
        - name: repo
          in: path
          type: string
          description: name of the repo to delete
          required: true
      - name: repoedit
        method: PATCH
        description: Edit a Repository's Properties. Only Fields That Are Set Will Be Changed.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: owner
          in: path
          type: string
          description: owner of the repo to edit
          required: true
        - name: repo
          in: path
          type: string
          description: name of the repo to edit
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: repos-owner-repo-actions-artifacts
      path: /repos/{owner}/{repo}/actions/artifacts
      operations:
      - name: getartifacts
        method: GET
        description: Lists All Artifacts for a Repository
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: owner
          in: path
          type: string
          description: owner of the repo
          required: true
        - name: repo
          in: path
          type: string
          description: name of the repository
          required: true
        - name: name
          in: query
          type: string
          description: name of the artifact
    - name: repos-owner-repo-actions-artifacts-artifact_id
      path: /repos/{owner}/{repo}/actions/artifacts/{artifact_id}
      operations:
      - name: getartifact
        method: GET
        description: Gets a Specific Artifact for a Workflow Run
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: owner
          in: path
          type: string
          description: owner of the repo
          required: true
        - name: repo
          in: path
          type: string
          description: name of the repository
          required: true
        - name: artifact_id
          in: path
          type: string
          description: id of the artifact
          required: true
      - name: deleteartifact
        method: DELETE
        description: Deletes a Specific Artifact for a Workflow Run
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: owner
          in: path
          type: string
          description: owner of the repo
          required: true
        - name: repo
          in: path
          type: string
          description: name of the repository
          required: true
        - name: artifact_id
          in: path
          type: string
          description: id of the artifact
          required: true
    - name: repos-owner-repo-actions-artifacts-artifact_id-zip
      path: /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/zip
      operations:
      - name: downloadartifact
        method: GET
        description: Downloads a Specific Artifact for a Workflow Run Redirects to Blob URL
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: owner
          in: path
          type: string
          description: owner of the repo
          required: true
        - name: repo
          in: path
          type: string
          description: name of the repository
          required: true
        - name: artifact_id
          in: path
          type: string
          description: id of the artifact
          required: true
    - name: repos-owner-repo-actions-jobs
      path: /repos/{owner}/{repo}/actions/jobs
      operations:
      - name: listworkflowjobs
        method: GET
        description: Lists All Jobs for a Repository
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: owner
          in: path
          type: string
          description: owner of the repo
          required: true
        - name: repo
          in: path
          type: string
          description: name of the repository
          required: true
        - name: status
          in: query
          type: string
          description: workflow status (pending, queued, in_progress, failure, success, skipped)
        - name: page
          in: query
          type: integer
          description: page number of results to return (1-based)
        - name: limit
          in: query
          type: integer
          description: page size of results
    - name: repos-owner-repo-actions-jobs-job_id
      path: /repos/{owner}/{repo}/actions/jobs/{job_id}
      operations:
      - name: getworkflowjob
        method: GET
        description: Gets a Specific Workflow Job for a Workflow Run
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: owner
          in: path
          type: string
          description: owner of the repo
          required: true
        - name: repo
          in: path
          type: string
          description: name of the repository
          required: true
        - name: job_id
          in: path
          type: string
          description: id of the job
          required: true
    - name: repos-owner-repo-actions-jobs-job_id-logs
      path: /repos/{owner}/{repo}/actions/jobs/{job_id}/logs
      operations:
      - name: downloadactionsrunjoblogs
        method: GET
        description: Downloads the Job Logs for a Workflow Run
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: owner
          in: path
          type: string
          description: owner of the repo
          required: true
        - name: repo
          in: path
          type: string
          description: name of the repository
          required: true
        - name: job_id
          in: path
          type: integer
          description: id of the job
          required: true
    - name: repos-owner-repo-actions-runners
      path: /repos/{owner}/{repo}/actions/runners
      operations:
      - name: getreporunners
        method: GET
        description: Get Repo-Level Runners
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: owner
          in: path
          type: string
          description: owner of the repo
          required: true
        - name: repo
          in: path
          type: string
          description: name of the repo
          required: true
        - name: disabled
          in: query
          type: boolean
          description: filter by disabled status (true or false)
    - name: repos-owner-repo-actions-runners-registration-token
      path: /repos/{owner}/{repo}/actions/runners/registration-token
      operations:
      - name: repocreaterunnerregistrationtoken
        method: POST
        description: Get a Repository's Actions Runner Registration Token
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: owner
          in: path
          type: string
          description: owner of the repo
          required: true
        - name: repo
          in: path
          type: string
          description: name of the repo
          required: true
    - name: repos-owner-repo-actions-runners-runner_id
      path: /repos/{owner}/{repo}/actions/runners/{runner_id}
      operations:
      - name: getreporunner
        method: GET
        description: Get a Repo-Level Runner
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: owner
          in: path
          type: string
          description: owner of the repo
          required: true
        - name: repo
          in: path
          type: string
          description: name of the repo
          required: true
        - name: runner_id
          in: path
          type: string
          description: id of the runner
          required: true
      - name: deletereporunner
        method: DELETE
        description: Delete a Repo-Level Runner
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: owner
          in: path
          type: string
          description: owner of the repo
          required: true
        - name: repo
          in: path
          type: string
          description: name of the repo
          required: true
        - name: runner_id
          in: path
          type: string
          description: id of the runner
          required: true
      - name: updatereporunner
        method: PATCH
        description: Update a Repo-Level Runner
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: owner
          in: path
          type: string
          description: owner of the repo
          required: true
        - name: repo
          in: path
          type: string
          description: name of the repo
          required: true
        - name: runner_id
          in: path
          type: string
          description: id of the runner
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: repos-owner-repo-actions-runs
      path: /repos/{owner}/{repo}/actions/runs
      operations:
      - name: getworkflowruns
        method: GET
        description: Lists All Runs for a Repository Run
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: owner
          in: path
          type: string
          description: owner of the repo
          required: true
        - name: repo
          in: path
          type: string
          description: name of the repository
          required: true
        - name: event
          in: query
          type: string
          description: workflow event name
        - name: branch
          in: query
          type: string
          description: workflow branch
        - name: status
          in: query
          type: string
          description: workflow status (pending, queued, in_progress, failure, success, skipped)
        - name: actor
          in: query
          type: string
          description: triggered by user
        - name: head_sha
          in: query
          type: string
          description: triggering sha of the workflow run
        - name: page
          in: query
          type: integer
          description: page number of results to return (1-based)
        - name: limit
          in: query
          type: integer
          description: page size of results
    - name: repos-owner-repo-actions-runs-run
      path: /repos/{owner}/{repo}/actions/runs/{run}
      operations:
      - name: getworkflowrun
        method: GET
        description: Gets a Specific Workflow Run
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: owner
          in: path
          type: string
          description: owner of the repo
          required: true
        - name: repo
          in: path
          type: string
          description: name of the repository
          required: true
        - name: run
          in: path
          type: integer
          description: id of the run
          required: true
      - name: deleteactionrun
        method: DELETE
        description: Delete a Workflow Run
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: owner
          in: path
          type: string
          description: owner of the repo
          required: true
        - name: repo
          in: path
          type: string
          description: name of the repository
          required: true
        - name: run
          in: path
          type: integer
          description: runid of the workflow run
          required: true
    - name: repos-owner-repo-actions-runs-run-artifacts
      path: /repos/{owner}/{repo}/actions/runs/{run}/artifacts
      operations:
      - name: getartifactsofrun
        method: GET
        description: Lists All Artifacts for a Repository Run
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: owner
          in: path
          type: string
          description: owner of the repo
          required: true
        - name: repo
          in: path
          type: string
          description: name of the repository
          required: true
        - name: run
          in: path
          type: integer
          description: runid of the workflow run
          required: true
        - name: name
          in: query
          type: string
          description: name of the artifact
    - name: repos-owner-repo-actions-runs-run-jobs
      path: /repos/{owner}/{repo}/actions/runs/{run}/jobs
      operations:
      - name: listworkflowrunjobs
        method: GET
        description: Lists All Jobs for a Workflow Run
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: owner
          in: path
          type: string
          description: owner of the repo
          required: true
        - name: repo
          in: path
          type: string
          description: name of the repository
          required: true
        - name: run
          in: path
          type: integer
          description: runid of the workflow run
          required: true
        - name: status
          in: query
          type: string
          description: workflow status (pending, queued, in_progress, failure, success, skipped)
        - name: page
          in: query
          type: integer
          description: page number of results to return (1-based)
        - name: limit
          in: query
          type: integer
          description: page size of results
    - name: repos-owner-repo-actions-runs-run-jobs-job_id-rerun
      path: /repos/{owner}/{repo}/actions/runs/{run}/jobs/{job_id}/rerun
      operations:
      - name: rerunworkflowjob
        method: POST
        description: Reruns a Specific Workflow Job in a Run
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: owner
          in: path
          type: string
          description: owner of the repo
          required: true
        - name: repo
          in: path
          type: string
          description: name of the repository
          required: true
        - name: run
          in: path
          type: integer
          description: id of the run
          required: true
        - name: job_id
          in: path
          type: integer
          description: id of the job
          required: true
    - name: repos-owner-repo-actions-runs-run-rerun
      path: /repos/{owner}/{repo}/actions/runs/{run}/rerun
      operations:
      - name: rerunworkflowrun
        method: POST
        description: Reruns an Entire Workflow Run
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: owner
          in: path
          type: string
          description: owner of the repo
          required: true
        - name: repo
          in: path
          type: string
          description: name of the repository
          required: true
        - name: run
          in: path
          type: integer
          description: id of the run
          required: true
    - name: repos-owner-repo-actions-runs-run-rerun-failed-jobs
      path: /repos/{owner}/{repo}/actions/runs/{run}/rerun-failed-jobs
      operations:
      - name: rerunfailedworkflowrun
        method: POST
        description: Reruns All Failed Jobs in a Workflow Run
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: owner
          in: path
          type: string
          description: owner of the repo
          required: true
        - name: repo
          in: path
          type: string
          description: name of the repository
          required: true
        - name: run
          in: path
          type: integer
          description: id of the run
          required: true
    - name: repos-owner-repo-actions-secrets
      path: /repos/{owner}/{repo}/actions/secrets
      operations:
      - name: repolistactionssecrets
        method: GET
        description: List an Repo's Actions Secrets
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: owner
          in: path
          type: string
          description: owner of the repo
          required: true
        - name: repo
          in: path
          type: string
          description: name of the repository
          required: true
        - name: page
          in: query
          type: integer
          description: page number of results to return (1-based)
        - name: limit
          in: query
          type: integer
          description: page size of results
    - name: repos-owner-repo-actions-secrets-secretname
      path: /repos/{owner}/{repo}/actions/secrets/{secretname}
      operations:
      - name: updatereposecret
        method: PUT
        description: Create or Update a Secret Value in a Repository
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: owner
          in: path
          type: string
          description: owner of the repository
          required: true
        - name: repo
          in: path
          type: string
          description: name of the repository
          required: true
        - name: secretname
          in: path
          type: string
          description: name of the secret
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: deletereposecret
        method: DELETE
        description: Delete a Secret in a Repository
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: owner
          in: path
          type: string
          description: owner of the repository
          required: true
        - name: repo
          in: path
          type: string
          description: name of the repository
          required: true
        - name: secretname
          in: path
          type: string
          description: name of the secret
          required: true
    - name: repos-owner-repo-actions-tasks
      path: /repos/{owner}/{repo}/actions/tasks
      operations:
      - name: listactiontasks
        method: GET
        description: List a Repository's Action Tasks
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: owner
          in: path
          type: string
          description: owner of the repo
          required: true
        - name: repo
          in: path
          type: string
          description: name of the repo
          required: true
        - name: page
          in: query
          type: integer
          description: page number of results to return (1-based)
        - name: limit
          in: query
          type: integer
          description: page size of results, default maximum page size is 50
    - name: repos-owner-repo-actions-variables
      path: /repos/{owner}/{repo}/actions/variables
      operations:
      - name: getrepovariableslist
        method: GET
        description: Get Repo-Level Variables List
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: owner
          in: path
          type: string
          description: owner of the repo
          required: true
        - name: repo
          in: path
          type: string
          description: name of the repository
          required: true
        - name: page
          in: query
          type: integer
          description: page number of results to return (1-based)
        - name: limit
          in: query
          type: integer
          description: page size of results
    - name: repos-owner-repo-actions-variables-variablename
      path: /repos/{owner}/{repo}/actions/variables/{variablename}
      operations:
      - name: getrepovariable
        method: GET
        description: Get a Repo-Level Variable
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: owner
          in: path
          type: string
          description: owner of the repo
          required: true
        - name: repo
          in: path
          type: string
          description: name of the repository
          required: true
        - name: variablename
          in: path
          type: string
          description: name of the variable
          required: true
      - name: updaterepovariable
        method: PUT
        description: Update a Repo-Level Variable
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: owner
          in: path
          type: string
          description: owner of the repo
          required: true
        - name: repo
          in: path
          type: string
          description: name of the repository
          required: true
        - name: variablename
          in: path
          type: string
          description: name of the variable
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: createrepovariable
        method: POST
        description: Create a Repo-Level Variable
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: owner
          in: path
          type: string
          description: owner of the repo
          required: true
        - name: repo
          in: path
          type: string
          description: name of the repository
          required: true
        - name: variablename
          in: path
          type: string
          description: name of the variable
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: deleterepovariable
        method: DELETE
        description: Delete a Repo-Level Variable
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: owner
          in: path
          type: string
          description: owner of the repo
          required: true
        - name: repo
          in: path
          type: string
          description: name of the repository
          required: true
        - name: variablename
          in: path
          type: string
          description: name of the variable
          required: true
    - name: repos-owner-repo-actions-workflows
      path: /repos/{owner}/{repo}/actions/workflows
      operations:
      - name: actionslistrepositoryworkflows
        method: GET
        description: List Repository Workflows
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: owner
          in: path
          type: string
          description: owner of the repo
          required: true
        - name: repo
          in: path
          type: string
          description: name of the repo
          required: true
    - name: repos-owner-repo-actions-workflows-workflow_id
      path: /repos/{owner}/{repo}/actions/workflows/{workflow_id}
      operations:
      - name: actionsgetworkflow
        method: GET
        description: Get a Workflow
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: owner
          in: path
          type: string
          description: owner of the repo
          required: true
        - name: repo
          in: path
          type: string
          description: name of the repo
          required: true
        - name: workflow_id
          in: path
          type: string
          description: id of the workflow
          required: true
    - name: repos-owner-repo-actions-workflows-workflow_id-disable
      path: /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable
      operations:
      - name: actionsdisableworkflow
        method: PUT
        description: Disable a Workflow
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: owner
          in: path
          type: string
          description: owner of the repo
          required: true
        - name: repo
          in: path
          type: string
          description: name of the repo
          required: true
        - name: workflow_id
          in: path
          type: string
          description: id of the workflow
          required: true
    - name: repos-owner-repo-actions-workflows-workflow_id-dispatches
      path: /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches
      operations:
      - name: actionsdispatchworkflow
        method: POST
        description: Create a Workflow Dispatch Event
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: owner
          in: path
          type: string
          description: owner of the repo
          required: true
        - name: repo
          in: path
          type: string
          description: name of the repo
          required: true
        - name: workf

# --- truncated at 32 KB (326 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/gitea/refs/heads/main/capabilities/rest-repository.yaml