GitHub · Capability

GitHub v3 REST API — Repos

GitHub v3 REST API — Repos. 163 operations. Lead operation: GitHub List Organization Repositories. Self-contained Naftiko capability covering one Github business surface.

Run with Naftiko GithubRepos

What You Can Do

GET
Reposlistfororg — GitHub List Organization Repositories
/v1/orgs/{org}/repos
POST
Reposcreateinorg — GitHub Create an Organization Repository
/v1/orgs/{org}/repos
GET
Reposget — GitHub Get a Repository
/v1/repos/{owner}/{repo}
PATCH
Reposupdate — GitHub Update a Repository
/v1/repos/{owner}/{repo}
DELETE
Reposdelete — GitHub Delete a Repository
/v1/repos/{owner}/{repo}
GET
Reposlistautolinks — GitHub Get All Autolinks of a Repository
/v1/repos/{owner}/{repo}/autolinks
POST
Reposcreateautolink — GitHub Create an Autolink Reference for a Repository
/v1/repos/{owner}/{repo}/autolinks
GET
Reposgetautolink — GitHub Get an Autolink Reference of a Repository
/v1/repos/{owner}/{repo}/autolinks/{autolink-id}
DELETE
Reposdeleteautolink — GitHub Delete an Autolink Reference from a Repository
/v1/repos/{owner}/{repo}/autolinks/{autolink-id}
GET
Reposlistbranches — GitHub List Branches
/v1/repos/{owner}/{repo}/branches
GET
Reposgetbranch — GitHub Get a Branch
/v1/repos/{owner}/{repo}/branches/{branch}
GET
Reposgetbranchprotection — GitHub Get Branch Protection
/v1/repos/{owner}/{repo}/branches/{branch}/protection
PUT
Reposupdatebranchprotection — GitHub Update Branch Protection
/v1/repos/{owner}/{repo}/branches/{branch}/protection
DELETE
Reposdeletebranchprotection — GitHub Delete Branch Protection
/v1/repos/{owner}/{repo}/branches/{branch}/protection
GET
Reposgetadminbranchprotection — GitHub Get Admin Branch Protection
/v1/repos/{owner}/{repo}/branches/{branch}/protection/enforce-admins
POST
Repossetadminbranchprotection — GitHub Set Admin Branch Protection
/v1/repos/{owner}/{repo}/branches/{branch}/protection/enforce-admins
DELETE
Reposdeleteadminbranchprotection — GitHub Delete Admin Branch Protection
/v1/repos/{owner}/{repo}/branches/{branch}/protection/enforce-admins
GET
Reposgetpullrequestreviewprotection — GitHub Get Pull Request Review Protection
/v1/repos/{owner}/{repo}/branches/{branch}/protection/required-pull-request-reviews
PATCH
Reposupdatepullrequestreviewprotection — GitHub Update Pull Request Review Protection
/v1/repos/{owner}/{repo}/branches/{branch}/protection/required-pull-request-reviews
DELETE
Reposdeletepullrequestreviewprotection — GitHub Delete Pull Request Review Protection
/v1/repos/{owner}/{repo}/branches/{branch}/protection/required-pull-request-reviews
GET
Reposgetcommitsignatureprotection — GitHub Get Commit Signature Protection
/v1/repos/{owner}/{repo}/branches/{branch}/protection/required-signatures
POST
Reposcreatecommitsignatureprotection — GitHub Create Commit Signature Protection
/v1/repos/{owner}/{repo}/branches/{branch}/protection/required-signatures
DELETE
Reposdeletecommitsignatureprotection — GitHub Delete Commit Signature Protection
/v1/repos/{owner}/{repo}/branches/{branch}/protection/required-signatures
GET
Reposgetstatuschecksprotection — GitHub Get Status Checks Protection
/v1/repos/{owner}/{repo}/branches/{branch}/protection/required-status-checks
PATCH
Reposupdatestatuscheckprotection — GitHub Update Status Check Protection
/v1/repos/{owner}/{repo}/branches/{branch}/protection/required-status-checks
DELETE
Reposremovestatuscheckprotection — GitHub Remove Status Check Protection
/v1/repos/{owner}/{repo}/branches/{branch}/protection/required-status-checks
GET
Reposgetallstatuscheckcontexts — GitHub Get All Status Check Contexts
/v1/repos/{owner}/{repo}/branches/{branch}/protection/required-status-checks/contexts
POST
Reposaddstatuscheckcontexts — GitHub Add Status Check Contexts
/v1/repos/{owner}/{repo}/branches/{branch}/protection/required-status-checks/contexts
PUT
Repossetstatuscheckcontexts — GitHub Set Status Check Contexts
/v1/repos/{owner}/{repo}/branches/{branch}/protection/required-status-checks/contexts
DELETE
Reposremovestatuscheckcontexts — GitHub Remove Status Check Contexts
/v1/repos/{owner}/{repo}/branches/{branch}/protection/required-status-checks/contexts
GET
Reposgetaccessrestrictions — GitHub Get Access Restrictions
/v1/repos/{owner}/{repo}/branches/{branch}/protection/restrictions
DELETE
Reposdeleteaccessrestrictions — GitHub Delete Access Restrictions
/v1/repos/{owner}/{repo}/branches/{branch}/protection/restrictions
GET
Reposgetappswithaccesstoprotectedbranch — GitHub Get Apps with Access to the Protected Branch
/v1/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps
POST
Reposaddappaccessrestrictions — GitHub Add App Access Restrictions
/v1/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps
PUT
Repossetappaccessrestrictions — GitHub Set App Access Restrictions
/v1/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps
DELETE
Reposremoveappaccessrestrictions — GitHub Remove App Access Restrictions
/v1/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps
GET
Reposgetteamswithaccesstoprotectedbranch — GitHub Get Teams with Access to the Protected Branch
/v1/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams
POST
Reposaddteamaccessrestrictions — GitHub Add Team Access Restrictions
/v1/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams
PUT
Repossetteamaccessrestrictions — GitHub Set Team Access Restrictions
/v1/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams
DELETE
Reposremoveteamaccessrestrictions — GitHub Remove Team Access Restrictions
/v1/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams
GET
Reposgetuserswithaccesstoprotectedbranch — GitHub Get Users with Access to the Protected Branch
/v1/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users
POST
Reposadduseraccessrestrictions — GitHub Add User Access Restrictions
/v1/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users
PUT
Repossetuseraccessrestrictions — GitHub Set User Access Restrictions
/v1/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users
DELETE
Reposremoveuseraccessrestrictions — GitHub Remove User Access Restrictions
/v1/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users
POST
Reposrenamebranch — GitHub Rename a Branch
/v1/repos/{owner}/{repo}/branches/{branch}/rename
GET
Reposcodeownerserrors — GitHub List CODEOWNERS Errors
/v1/repos/{owner}/{repo}/codeowners/errors
GET
Reposlistcollaborators — GitHub List Repository Collaborators
/v1/repos/{owner}/{repo}/collaborators
GET
Reposcheckcollaborator — GitHub Check if a User is a Repository Collaborator
/v1/repos/{owner}/{repo}/collaborators/{username}
PUT
Reposaddcollaborator — GitHub Add a Repository Collaborator
/v1/repos/{owner}/{repo}/collaborators/{username}
DELETE
Reposremovecollaborator — GitHub Remove a Repository Collaborator
/v1/repos/{owner}/{repo}/collaborators/{username}
GET
Reposgetcollaboratorpermissionlevel — GitHub Get Repository Permissions for a User
/v1/repos/{owner}/{repo}/collaborators/{username}/permission
GET
Reposlistcommitcommentsforrepo — GitHub List Commit Comments for a Repository
/v1/repos/{owner}/{repo}/comments
GET
Reposgetcommitcomment — GitHub Get a Commit Comment
/v1/repos/{owner}/{repo}/comments/{comment-id}
PATCH
Reposupdatecommitcomment — GitHub Update a Commit Comment
/v1/repos/{owner}/{repo}/comments/{comment-id}
DELETE
Reposdeletecommitcomment — GitHub Delete a Commit Comment
/v1/repos/{owner}/{repo}/comments/{comment-id}
GET
Reposlistcommits — GitHub List Commits
/v1/repos/{owner}/{repo}/commits
GET
Reposlistbranchesforheadcommit — GitHub List Branches for HEAD Commit
/v1/repos/{owner}/{repo}/commits/{commit-sha}/branches-where-head
GET
Reposlistcommentsforcommit — GitHub List Commit Comments
/v1/repos/{owner}/{repo}/commits/{commit-sha}/comments
POST
Reposcreatecommitcomment — GitHub Create a Commit Comment
/v1/repos/{owner}/{repo}/commits/{commit-sha}/comments
GET
Reposlistpullrequestsassociatedwithcommit — GitHub List Pull Requests Associated with a Commit
/v1/repos/{owner}/{repo}/commits/{commit-sha}/pulls
GET
Reposgetcommit — GitHub Get a Commit
/v1/repos/{owner}/{repo}/commits/{ref}
GET
Reposgetcombinedstatusforref — GitHub Get the Combined Status for a Specific Reference
/v1/repos/{owner}/{repo}/commits/{ref}/status
GET
Reposlistcommitstatusesforref — GitHub List Commit Statuses for a Reference
/v1/repos/{owner}/{repo}/commits/{ref}/statuses
GET
Reposcomparecommits — GitHub Compare Two Commits
/v1/repos/{owner}/{repo}/compare/{basehead}
GET
Reposgetcontent — GitHub Get Repository Content
/v1/repos/{owner}/{repo}/contents/{path}
PUT
Reposcreateorupdatefilecontents — GitHub Create or Update File Contents
/v1/repos/{owner}/{repo}/contents/{path}
DELETE
Reposdeletefile — GitHub Delete a File
/v1/repos/{owner}/{repo}/contents/{path}
GET
Reposlistcontributors — GitHub List Repository Contributors
/v1/repos/{owner}/{repo}/contributors
GET
Reposlistdeployments — GitHub List Deployments
/v1/repos/{owner}/{repo}/deployments
POST
Reposcreatedeployment — GitHub Create a Deployment
/v1/repos/{owner}/{repo}/deployments
GET
Reposgetdeployment — GitHub Get a Deployment
/v1/repos/{owner}/{repo}/deployments/{deployment-id}
DELETE
Reposdeletedeployment — GitHub Delete a Deployment
/v1/repos/{owner}/{repo}/deployments/{deployment-id}
GET
Reposlistdeploymentstatuses — GitHub List Deployment Statuses
/v1/repos/{owner}/{repo}/deployments/{deployment-id}/statuses
POST
Reposcreatedeploymentstatus — GitHub Create a Deployment Status
/v1/repos/{owner}/{repo}/deployments/{deployment-id}/statuses
GET
Reposgetdeploymentstatus — GitHub Get a Deployment Status
/v1/repos/{owner}/{repo}/deployments/{deployment-id}/statuses/{status-id}
POST
Reposcreatedispatchevent — GitHub Create a Repository Dispatch Event
/v1/repos/{owner}/{repo}/dispatches
GET
Reposgetallenvironments — GitHub List Environments
/v1/repos/{owner}/{repo}/environments
GET
Reposgetenvironment — GitHub Get an Environment
/v1/repos/{owner}/{repo}/environments/{environment-name}
PUT
Reposcreateorupdateenvironment — GitHub Create or Update an Environment
/v1/repos/{owner}/{repo}/environments/{environment-name}
DELETE
Reposdeleteanenvironment — GitHub Delete an Environment
/v1/repos/{owner}/{repo}/environments/{environment-name}
GET
Reposlistdeploymentbranchpolicies — GitHub List Deployment Branch Policies
/v1/repos/{owner}/{repo}/environments/{environment-name}/deployment-branch-policies
POST
Reposcreatedeploymentbranchpolicy — GitHub Create a Deployment Branch Policy
/v1/repos/{owner}/{repo}/environments/{environment-name}/deployment-branch-policies
GET
Reposgetdeploymentbranchpolicy — GitHub Get a Deployment Branch Policy
/v1/repos/{owner}/{repo}/environments/{environment-name}/deployment-branch-policies/{branch-policy-id}
PUT
Reposupdatedeploymentbranchpolicy — GitHub Update a Deployment Branch Policy
/v1/repos/{owner}/{repo}/environments/{environment-name}/deployment-branch-policies/{branch-policy-id}
DELETE
Reposdeletedeploymentbranchpolicy — GitHub Delete a Deployment Branch Policy
/v1/repos/{owner}/{repo}/environments/{environment-name}/deployment-branch-policies/{branch-policy-id}
GET
Reposlistforks — GitHub List Forks
/v1/repos/{owner}/{repo}/forks
POST
Reposcreatefork — GitHub Create a Fork
/v1/repos/{owner}/{repo}/forks
GET
Reposlistwebhooks — GitHub List Repository Webhooks
/v1/repos/{owner}/{repo}/hooks
POST
Reposcreatewebhook — GitHub Create a Repository Webhook
/v1/repos/{owner}/{repo}/hooks
GET
Reposgetwebhook — GitHub Get a Repository Webhook
/v1/repos/{owner}/{repo}/hooks/{hook-id}
PATCH
Reposupdatewebhook — GitHub Update a Repository Webhook
/v1/repos/{owner}/{repo}/hooks/{hook-id}
DELETE
Reposdeletewebhook — GitHub Delete a Repository Webhook
/v1/repos/{owner}/{repo}/hooks/{hook-id}
GET
Reposgetwebhookconfigforrepo — GitHub Get a Webhook Configuration for a Repository
/v1/repos/{owner}/{repo}/hooks/{hook-id}/config
PATCH
Reposupdatewebhookconfigforrepo — GitHub Update a Webhook Configuration for a Repository
/v1/repos/{owner}/{repo}/hooks/{hook-id}/config
GET
Reposlistwebhookdeliveries — GitHub List Deliveries for a Repository Webhook
/v1/repos/{owner}/{repo}/hooks/{hook-id}/deliveries
GET
Reposgetwebhookdelivery — GitHub Get a Delivery for a Repository Webhook
/v1/repos/{owner}/{repo}/hooks/{hook-id}/deliveries/{delivery-id}
POST
Reposredeliverwebhookdelivery — GitHub Redeliver a Delivery for a Repository Webhook
/v1/repos/{owner}/{repo}/hooks/{hook-id}/deliveries/{delivery-id}/attempts
POST
Repospingwebhook — GitHub Ping a Repository Webhook
/v1/repos/{owner}/{repo}/hooks/{hook-id}/pings
POST
Repostestpushwebhook — GitHub Test the Push Repository Webhook
/v1/repos/{owner}/{repo}/hooks/{hook-id}/tests
GET
Reposlistinvitations — GitHub List Repository Invitations
/v1/repos/{owner}/{repo}/invitations
PATCH
Reposupdateinvitation — GitHub Update a Repository Invitation
/v1/repos/{owner}/{repo}/invitations/{invitation-id}
DELETE
Reposdeleteinvitation — GitHub Delete a Repository Invitation
/v1/repos/{owner}/{repo}/invitations/{invitation-id}
GET
Reposlistdeploykeys — GitHub List Deploy Keys
/v1/repos/{owner}/{repo}/keys
POST
Reposcreatedeploykey — GitHub Create a Deploy Key
/v1/repos/{owner}/{repo}/keys
GET
Reposgetdeploykey — GitHub Get a Deploy Key
/v1/repos/{owner}/{repo}/keys/{key-id}
DELETE
Reposdeletedeploykey — GitHub Delete a Deploy Key
/v1/repos/{owner}/{repo}/keys/{key-id}
GET
Reposlistlanguages — GitHub List Repository Languages
/v1/repos/{owner}/{repo}/languages
PUT
Reposenablelfsforrepo — GitHub Enable Git LFS for a Repository
/v1/repos/{owner}/{repo}/lfs
DELETE
Reposdisablelfsforrepo — GitHub Disable Git LFS for a Repository
/v1/repos/{owner}/{repo}/lfs
POST
Reposmergeupstream — GitHub Sync a Fork Branch with the Upstream Repository
/v1/repos/{owner}/{repo}/merge-upstream
POST
Reposmerge — GitHub Merge a Branch
/v1/repos/{owner}/{repo}/merges
GET
Reposgetpages — GitHub Get a GitHub Enterprise Server Pages Site
/v1/repos/{owner}/{repo}/pages
POST
Reposcreatepagessite — GitHub Create a GitHub Enterprise Server Pages Site
/v1/repos/{owner}/{repo}/pages
PUT
Reposupdateinformationaboutpagessite — GitHub Update Information About a GitHub Enterprise Server Pages Site
/v1/repos/{owner}/{repo}/pages
DELETE
Reposdeletepagessite — GitHub Delete a GitHub Enterprise Server Pages Site
/v1/repos/{owner}/{repo}/pages
GET
Reposlistpagesbuilds — GitHub List GitHub Enterprise Server Pages Builds
/v1/repos/{owner}/{repo}/pages/builds
POST
Reposrequestpagesbuild — GitHub Request a GitHub Enterprise Server Pages Build
/v1/repos/{owner}/{repo}/pages/builds
GET
Reposgetlatestpagesbuild — GitHub Get Latest Pages Build
/v1/repos/{owner}/{repo}/pages/builds/latest
GET
Reposgetpagesbuild — GitHub Get GitHub Enterprise Server Pages Build
/v1/repos/{owner}/{repo}/pages/builds/{build-id}
POST
Reposcreatepagesdeployment — GitHub Create a GitHub Pages Deployment
/v1/repos/{owner}/{repo}/pages/deployments
GET
Reposgetreadme — GitHub Get a Repository README
/v1/repos/{owner}/{repo}/readme
GET
Reposgetreadmeindirectory — GitHub Get a Repository README for a Directory
/v1/repos/{owner}/{repo}/readme/{dir}
GET
Reposlistreleases — GitHub List Releases
/v1/repos/{owner}/{repo}/releases
POST
Reposcreaterelease — GitHub Create a Release
/v1/repos/{owner}/{repo}/releases
GET
Reposgetreleaseasset — GitHub Get a Release Asset
/v1/repos/{owner}/{repo}/releases/assets/{asset-id}
PATCH
Reposupdatereleaseasset — GitHub Update a Release Asset
/v1/repos/{owner}/{repo}/releases/assets/{asset-id}
DELETE
Reposdeletereleaseasset — GitHub Delete a Release Asset
/v1/repos/{owner}/{repo}/releases/assets/{asset-id}
POST
Reposgeneratereleasenotes — GitHub Generate Release Notes Content for a Release
/v1/repos/{owner}/{repo}/releases/generate-notes
GET
Reposgetlatestrelease — GitHub Get the Latest Release
/v1/repos/{owner}/{repo}/releases/latest
GET
Reposgetreleasebytag — GitHub Get a Release by Tag Name
/v1/repos/{owner}/{repo}/releases/tags/{tag}
GET
Reposgetrelease — GitHub Get a Release
/v1/repos/{owner}/{repo}/releases/{release-id}
PATCH
Reposupdaterelease — GitHub Update a Release
/v1/repos/{owner}/{repo}/releases/{release-id}
DELETE
Reposdeleterelease — GitHub Delete a Release
/v1/repos/{owner}/{repo}/releases/{release-id}
GET
Reposlistreleaseassets — GitHub List Release Assets
/v1/repos/{owner}/{repo}/releases/{release-id}/assets
POST
Reposuploadreleaseasset — GitHub Upload a Release Asset
/v1/repos/{owner}/{repo}/releases/{release-id}/assets
GET
Reposlistcacheinfo — GitHub List Repository Cache Replication Status
/v1/repos/{owner}/{repo}/replicas/caches
GET
Reposgetcodefrequencystats — GitHub Get the Weekly Commit Activity
/v1/repos/{owner}/{repo}/stats/code-frequency
GET
Reposgetcommitactivitystats — GitHub Get the Last Year of Commit Activity
/v1/repos/{owner}/{repo}/stats/commit-activity
GET
Reposgetcontributorsstats — GitHub Get All Contributor Commit Activity
/v1/repos/{owner}/{repo}/stats/contributors
GET
Reposgetparticipationstats — GitHub Get the Weekly Commit Count
/v1/repos/{owner}/{repo}/stats/participation
GET
Reposgetpunchcardstats — GitHub Get the Hourly Commit Count for Each Day
/v1/repos/{owner}/{repo}/stats/punch-card
POST
Reposcreatecommitstatus — GitHub Create a Commit Status
/v1/repos/{owner}/{repo}/statuses/{sha}
GET
Reposlisttags — GitHub List Repository Tags
/v1/repos/{owner}/{repo}/tags
GET
Reposlisttagprotection — GitHub List Tag Protection States for a Repository
/v1/repos/{owner}/{repo}/tags/protection
POST
Reposcreatetagprotection — GitHub Create a Tag Protection State for a Repository
/v1/repos/{owner}/{repo}/tags/protection
DELETE
Reposdeletetagprotection — GitHub Delete a Tag Protection State for a Repository
/v1/repos/{owner}/{repo}/tags/protection/{tag-protection-id}
GET
Reposdownloadtarballarchive — GitHub Download a Repository Archive (tar)
/v1/repos/{owner}/{repo}/tarball/{ref}
GET
Reposlistteams — GitHub List Repository Teams
/v1/repos/{owner}/{repo}/teams
GET
Reposgetalltopics — GitHub Get All Repository Topics
/v1/repos/{owner}/{repo}/topics
PUT
Reposreplacealltopics — GitHub Replace All Repository Topics
/v1/repos/{owner}/{repo}/topics
POST
Repostransfer — GitHub Transfer a Repository
/v1/repos/{owner}/{repo}/transfer
GET
Reposcheckvulnerabilityalerts — GitHub Check if Vulnerability Alerts Are Enabled for a Repository
/v1/repos/{owner}/{repo}/vulnerability-alerts
PUT
Reposenablevulnerabilityalerts — GitHub Enable Vulnerability Alerts
/v1/repos/{owner}/{repo}/vulnerability-alerts
DELETE
Reposdisablevulnerabilityalerts — GitHub Disable Vulnerability Alerts
/v1/repos/{owner}/{repo}/vulnerability-alerts
GET
Reposdownloadzipballarchive — GitHub Download a Repository Archive (zip)
/v1/repos/{owner}/{repo}/zipball/{ref}
POST
Reposcreateusingtemplate — GitHub Create a Repository Using a Template
/v1/repos/{template-owner}/{template-repo}/generate
GET
Reposlistpublic — GitHub List Public Repositories
/v1/repositories
GET
Reposlistforauthenticateduser — GitHub List Repositories for the Authenticated User
/v1/user/repos
POST
Reposcreateforauthenticateduser — GitHub Create a Repository for the Authenticated User
/v1/user/repos
GET
Reposlistinvitationsforauthenticateduser — GitHub List Repository Invitations for the Authenticated User
/v1/user/repository-invitations
PATCH
Reposacceptinvitationforauthenticateduser — GitHub Accept a Repository Invitation
/v1/user/repository-invitations/{invitation-id}
DELETE
Reposdeclineinvitationforauthenticateduser — GitHub Decline a Repository Invitation
/v1/user/repository-invitations/{invitation-id}
GET
Reposlistforuser — GitHub List Repositories for a User
/v1/users/{username}/repos

MCP Tools

github-list-organization-repositories

GitHub List Organization Repositories

read-only idempotent
github-create-organization-repository

GitHub Create an Organization Repository

github-get-repository

GitHub Get a Repository

read-only idempotent
github-update-repository

GitHub Update a Repository

idempotent
github-delete-repository

GitHub Delete a Repository

idempotent
github-get-all-autolinks-repository

GitHub Get All Autolinks of a Repository

read-only idempotent
github-create-autolink-reference-repository

GitHub Create an Autolink Reference for a Repository

github-get-autolink-reference-repository

GitHub Get an Autolink Reference of a Repository

read-only idempotent
github-delete-autolink-reference-repository

GitHub Delete an Autolink Reference from a Repository

idempotent
github-list-branches

GitHub List Branches

read-only idempotent
github-get-branch

GitHub Get a Branch

read-only idempotent
github-get-branch-protection

GitHub Get Branch Protection

read-only idempotent
github-update-branch-protection

GitHub Update Branch Protection

idempotent
github-delete-branch-protection

GitHub Delete Branch Protection

idempotent
github-get-admin-branch-protection

GitHub Get Admin Branch Protection

read-only idempotent
github-set-admin-branch-protection

GitHub Set Admin Branch Protection

github-delete-admin-branch-protection

GitHub Delete Admin Branch Protection

idempotent
github-get-pull-request-review

GitHub Get Pull Request Review Protection

read-only idempotent
github-update-pull-request-review

GitHub Update Pull Request Review Protection

idempotent
github-delete-pull-request-review

GitHub Delete Pull Request Review Protection

idempotent
github-get-commit-signature-protection

GitHub Get Commit Signature Protection

read-only idempotent
github-create-commit-signature-protection

GitHub Create Commit Signature Protection

github-delete-commit-signature-protection

GitHub Delete Commit Signature Protection

idempotent
github-get-status-checks-protection

GitHub Get Status Checks Protection

read-only idempotent
github-update-status-check-protection

GitHub Update Status Check Protection

idempotent
github-remove-status-check-protection

GitHub Remove Status Check Protection

idempotent
github-get-all-status-check

GitHub Get All Status Check Contexts

read-only idempotent
github-add-status-check-contexts

GitHub Add Status Check Contexts

read-only
github-set-status-check-contexts

GitHub Set Status Check Contexts

idempotent
github-remove-status-check-contexts

GitHub Remove Status Check Contexts

idempotent
github-get-access-restrictions

GitHub Get Access Restrictions

read-only idempotent
github-delete-access-restrictions

GitHub Delete Access Restrictions

idempotent
github-get-apps-access-protected

GitHub Get Apps with Access to the Protected Branch

read-only idempotent
github-add-app-access-restrictions

GitHub Add App Access Restrictions

github-set-app-access-restrictions

GitHub Set App Access Restrictions

idempotent
github-remove-app-access-restrictions

GitHub Remove App Access Restrictions

idempotent
github-get-teams-access-protected

GitHub Get Teams with Access to the Protected Branch

read-only idempotent
github-add-team-access-restrictions

GitHub Add Team Access Restrictions

github-set-team-access-restrictions

GitHub Set Team Access Restrictions

idempotent
github-remove-team-access-restrictions

GitHub Remove Team Access Restrictions

idempotent
github-get-users-access-protected

GitHub Get Users with Access to the Protected Branch

read-only idempotent
github-add-user-access-restrictions

GitHub Add User Access Restrictions

github-set-user-access-restrictions

GitHub Set User Access Restrictions

idempotent
github-remove-user-access-restrictions

GitHub Remove User Access Restrictions

idempotent
github-rename-branch

GitHub Rename a Branch

github-list-codeowners-errors

GitHub List CODEOWNERS Errors

read-only idempotent
github-list-repository-collaborators

GitHub List Repository Collaborators

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

GitHub Check if a User is a Repository Collaborator

read-only idempotent
github-add-repository-collaborator

GitHub Add a Repository Collaborator

idempotent
github-remove-repository-collaborator

GitHub Remove a Repository Collaborator

idempotent
github-get-repository-permissions-user

GitHub Get Repository Permissions for a User

read-only idempotent
github-list-commit-comments-repository

GitHub List Commit Comments for a Repository

read-only idempotent
github-get-commit-comment

GitHub Get a Commit Comment

read-only idempotent
github-update-commit-comment

GitHub Update a Commit Comment

idempotent
github-delete-commit-comment

GitHub Delete a Commit Comment

idempotent
github-list-commits

GitHub List Commits

read-only idempotent
github-list-branches-head-commit

GitHub List Branches for HEAD Commit

read-only idempotent
github-list-commit-comments

GitHub List Commit Comments

read-only idempotent
github-create-commit-comment

GitHub Create a Commit Comment

github-list-pull-requests-associated

GitHub List Pull Requests Associated with a Commit

read-only idempotent
github-get-commit

GitHub Get a Commit

read-only idempotent
github-get-combined-status-specific

GitHub Get the Combined Status for a Specific Reference

read-only idempotent
github-list-commit-statuses-reference

GitHub List Commit Statuses for a Reference

read-only idempotent
github-compare-two-commits

GitHub Compare Two Commits

read-only idempotent
github-get-repository-content

GitHub Get Repository Content

read-only idempotent
github-create-update-file-contents

GitHub Create or Update File Contents

idempotent
github-delete-file

GitHub Delete a File

idempotent
github-list-repository-contributors

GitHub List Repository Contributors

read-only idempotent
github-list-deployments

GitHub List Deployments

read-only idempotent
github-create-deployment

GitHub Create a Deployment

github-get-deployment

GitHub Get a Deployment

read-only idempotent
github-delete-deployment

GitHub Delete a Deployment

idempotent
github-list-deployment-statuses

GitHub List Deployment Statuses

read-only idempotent
github-create-deployment-status

GitHub Create a Deployment Status

github-get-deployment-status

GitHub Get a Deployment Status

read-only idempotent
github-create-repository-dispatch-event

GitHub Create a Repository Dispatch Event

github-list-environments

GitHub List Environments

read-only idempotent
github-get-environment

GitHub Get an Environment

read-only idempotent
github-create-update-environment

GitHub Create or Update an Environment

idempotent
github-delete-environment

GitHub Delete an Environment

idempotent
github-list-deployment-branch-policies

GitHub List Deployment Branch Policies

read-only idempotent
github-create-deployment-branch-policy

GitHub Create a Deployment Branch Policy

github-get-deployment-branch-policy

GitHub Get a Deployment Branch Policy

read-only idempotent
github-update-deployment-branch-policy

GitHub Update a Deployment Branch Policy

idempotent
github-delete-deployment-branch-policy

GitHub Delete a Deployment Branch Policy

idempotent
github-list-forks

GitHub List Forks

read-only idempotent
github-create-fork

GitHub Create a Fork

github-list-repository-webhooks

GitHub List Repository Webhooks

read-only idempotent
github-create-repository-webhook

GitHub Create a Repository Webhook

github-get-repository-webhook

GitHub Get a Repository Webhook

read-only idempotent
github-update-repository-webhook

GitHub Update a Repository Webhook

idempotent
github-delete-repository-webhook

GitHub Delete a Repository Webhook

idempotent
github-get-webhook-configuration-repository

GitHub Get a Webhook Configuration for a Repository

read-only idempotent
github-update-webhook-configuration-repository

GitHub Update a Webhook Configuration for a Repository

idempotent
github-list-deliveries-repository-webhook

GitHub List Deliveries for a Repository Webhook

read-only idempotent
github-get-delivery-repository-webhook

GitHub Get a Delivery for a Repository Webhook

read-only idempotent
github-redeliver-delivery-repository-webhook

GitHub Redeliver a Delivery for a Repository Webhook

github-ping-repository-webhook

GitHub Ping a Repository Webhook

github-test-push-repository-webhook

GitHub Test the Push Repository Webhook

read-only
github-list-repository-invitations

GitHub List Repository Invitations

read-only idempotent
github-update-repository-invitation

GitHub Update a Repository Invitation

idempotent
github-delete-repository-invitation

GitHub Delete a Repository Invitation

idempotent
github-list-deploy-keys

GitHub List Deploy Keys

read-only idempotent
github-create-deploy-key

GitHub Create a Deploy Key

github-get-deploy-key

GitHub Get a Deploy Key

read-only idempotent
github-delete-deploy-key

GitHub Delete a Deploy Key

idempotent
github-list-repository-languages

GitHub List Repository Languages

read-only idempotent
github-enable-git-lfs-repository

GitHub Enable Git LFS for a Repository

idempotent
github-disable-git-lfs-repository

GitHub Disable Git LFS for a Repository

idempotent
github-sync-fork-branch-upstream

GitHub Sync a Fork Branch with the Upstream Repository

github-merge-branch

GitHub Merge a Branch

github-get-github-enterprise-server

GitHub Get a GitHub Enterprise Server Pages Site

read-only idempotent
github-create-github-enterprise-server

GitHub Create a GitHub Enterprise Server Pages Site

github-update-information-about-github

GitHub Update Information About a GitHub Enterprise Server Pages Site

idempotent
github-delete-github-enterprise-server

GitHub Delete a GitHub Enterprise Server Pages Site

idempotent
github-list-github-enterprise-server

GitHub List GitHub Enterprise Server Pages Builds

read-only idempotent
github-request-github-enterprise-server

GitHub Request a GitHub Enterprise Server Pages Build

github-get-latest-pages-build

GitHub Get Latest Pages Build

read-only idempotent
github-get-github-enterprise-server-2

GitHub Get GitHub Enterprise Server Pages Build

read-only idempotent
github-create-github-pages-deployment

GitHub Create a GitHub Pages Deployment

github-get-repository-readme

GitHub Get a Repository README

read-only idempotent
github-get-repository-readme-directory

GitHub Get a Repository README for a Directory

read-only idempotent
github-list-releases

GitHub List Releases

read-only idempotent
github-create-release

GitHub Create a Release

github-get-release-asset

GitHub Get a Release Asset

read-only idempotent
github-update-release-asset

GitHub Update a Release Asset

idempotent
github-delete-release-asset

GitHub Delete a Release Asset

idempotent
github-generate-release-notes-content

GitHub Generate Release Notes Content for a Release

github-get-latest-release

GitHub Get the Latest Release

read-only idempotent
github-get-release-tag-name

GitHub Get a Release by Tag Name

read-only idempotent
github-get-release

GitHub Get a Release

read-only idempotent
github-update-release

GitHub Update a Release

idempotent
github-delete-release

GitHub Delete a Release

idempotent
github-list-release-assets

GitHub List Release Assets

read-only idempotent
github-upload-release-asset

GitHub Upload a Release Asset

github-list-repository-cache-replication

GitHub List Repository Cache Replication Status

read-only idempotent
github-get-weekly-commit-activity

GitHub Get the Weekly Commit Activity

read-only idempotent
github-get-last-year-commit

GitHub Get the Last Year of Commit Activity

read-only idempotent
github-get-all-contributor-commit

GitHub Get All Contributor Commit Activity

read-only idempotent
github-get-weekly-commit-count

GitHub Get the Weekly Commit Count

read-only idempotent
github-get-hourly-commit-count

GitHub Get the Hourly Commit Count for Each Day

read-only idempotent
github-create-commit-status

GitHub Create a Commit Status

github-list-repository-tags

GitHub List Repository Tags

read-only idempotent
github-list-tag-protection-states

GitHub List Tag Protection States for a Repository

read-only idempotent
github-create-tag-protection-state

GitHub Create a Tag Protection State for a Repository

github-delete-tag-protection-state

GitHub Delete a Tag Protection State for a Repository

idempotent
github-download-repository-archive-tar

GitHub Download a Repository Archive (tar)

read-only idempotent
github-list-repository-teams

GitHub List Repository Teams

read-only idempotent
github-get-all-repository-topics

GitHub Get All Repository Topics

read-only idempotent
github-replace-all-repository-topics

GitHub Replace All Repository Topics

idempotent
github-transfer-repository

GitHub Transfer a Repository

github-check-if-vulnerability-alerts

GitHub Check if Vulnerability Alerts Are Enabled for a Repository

read-only idempotent
github-enable-vulnerability-alerts

GitHub Enable Vulnerability Alerts

idempotent
github-disable-vulnerability-alerts

GitHub Disable Vulnerability Alerts

idempotent
github-download-repository-archive-zip

GitHub Download a Repository Archive (zip)

read-only idempotent
github-create-repository-using-template

GitHub Create a Repository Using a Template

github-list-public-repositories

GitHub List Public Repositories

read-only idempotent
github-list-repositories-authenticated-user

GitHub List Repositories for the Authenticated User

read-only idempotent
github-create-repository-authenticated-user

GitHub Create a Repository for the Authenticated User

github-list-repository-invitations-authenticated

GitHub List Repository Invitations for the Authenticated User

read-only idempotent
github-accept-repository-invitation

GitHub Accept a Repository Invitation

idempotent
github-decline-repository-invitation

GitHub Decline a Repository Invitation

idempotent
github-list-repositories-user

GitHub List Repositories for a User

read-only idempotent

Capability Spec

github-repos.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: GitHub v3 REST API — Repos
  description: 'GitHub v3 REST API — Repos. 163 operations. Lead operation: GitHub List Organization Repositories. Self-contained
    Naftiko capability covering one Github business surface.'
  tags:
  - Github
  - Repos
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GITHUB_API_KEY: GITHUB_API_KEY
capability:
  consumes:
  - type: http
    namespace: github-repos
    baseUri: ''
    description: GitHub v3 REST API — Repos business capability. Self-contained, no shared references.
    resources:
    - name: orgs-org-repos
      path: /orgs/{org}/repos
      operations:
      - name: reposlistfororg
        method: GET
        description: GitHub List Organization Repositories
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: type
          in: query
          type: string
          description: Specifies the types of repositories you want returned. `internal` is not yet supported when a GitHub
            App calls this endpoint with an installation access token.
        - name: sort
          in: query
          type: string
          description: The property to sort the results by.
        - name: direction
          in: query
          type: string
          description: 'The order to sort by. Default: `asc` when using `full_name`, otherwise `desc`.'
      - name: reposcreateinorg
        method: POST
        description: GitHub Create an Organization Repository
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repos-owner-repo
      path: /repos/{owner}/{repo}
      operations:
      - name: reposget
        method: GET
        description: GitHub Get a Repository
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: reposupdate
        method: PATCH
        description: GitHub Update a Repository
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: reposdelete
        method: DELETE
        description: GitHub Delete a Repository
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: repos-owner-repo-autolinks
      path: /repos/{owner}/{repo}/autolinks
      operations:
      - name: reposlistautolinks
        method: GET
        description: GitHub Get All Autolinks of a Repository
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: reposcreateautolink
        method: POST
        description: GitHub Create an Autolink Reference for a Repository
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repos-owner-repo-autolinks-autolink_id
      path: /repos/{owner}/{repo}/autolinks/{autolink_id}
      operations:
      - name: reposgetautolink
        method: GET
        description: GitHub Get an Autolink Reference of a Repository
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: reposdeleteautolink
        method: DELETE
        description: GitHub Delete an Autolink Reference from a Repository
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: repos-owner-repo-branches
      path: /repos/{owner}/{repo}/branches
      operations:
      - name: reposlistbranches
        method: GET
        description: GitHub List Branches
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: protected
          in: query
          type: boolean
          description: Setting to `true` returns only protected branches. When set to `false`, only unprotected branches are
            returned. Omitting this parameter returns all branches.
    - name: repos-owner-repo-branches-branch
      path: /repos/{owner}/{repo}/branches/{branch}
      operations:
      - name: reposgetbranch
        method: GET
        description: GitHub Get a Branch
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: repos-owner-repo-branches-branch-protection
      path: /repos/{owner}/{repo}/branches/{branch}/protection
      operations:
      - name: reposgetbranchprotection
        method: GET
        description: GitHub Get Branch Protection
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: reposupdatebranchprotection
        method: PUT
        description: GitHub Update Branch Protection
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: reposdeletebranchprotection
        method: DELETE
        description: GitHub Delete Branch Protection
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: repos-owner-repo-branches-branch-protection-enforce_admins
      path: /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins
      operations:
      - name: reposgetadminbranchprotection
        method: GET
        description: GitHub Get Admin Branch Protection
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: repossetadminbranchprotection
        method: POST
        description: GitHub Set Admin Branch Protection
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: reposdeleteadminbranchprotection
        method: DELETE
        description: GitHub Delete Admin Branch Protection
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: repos-owner-repo-branches-branch-protection-required_pull_request_reviews
      path: /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews
      operations:
      - name: reposgetpullrequestreviewprotection
        method: GET
        description: GitHub Get Pull Request Review Protection
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: reposupdatepullrequestreviewprotection
        method: PATCH
        description: GitHub Update Pull Request Review Protection
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: reposdeletepullrequestreviewprotection
        method: DELETE
        description: GitHub Delete Pull Request Review Protection
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: repos-owner-repo-branches-branch-protection-required_signatures
      path: /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures
      operations:
      - name: reposgetcommitsignatureprotection
        method: GET
        description: GitHub Get Commit Signature Protection
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: reposcreatecommitsignatureprotection
        method: POST
        description: GitHub Create Commit Signature Protection
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: reposdeletecommitsignatureprotection
        method: DELETE
        description: GitHub Delete Commit Signature Protection
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: repos-owner-repo-branches-branch-protection-required_status_checks
      path: /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks
      operations:
      - name: reposgetstatuschecksprotection
        method: GET
        description: GitHub Get Status Checks Protection
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: reposupdatestatuscheckprotection
        method: PATCH
        description: GitHub Update Status Check Protection
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: reposremovestatuscheckprotection
        method: DELETE
        description: GitHub Remove Status Check Protection
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: repos-owner-repo-branches-branch-protection-required_status_checks-contexts
      path: /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts
      operations:
      - name: reposgetallstatuscheckcontexts
        method: GET
        description: GitHub Get All Status Check Contexts
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: reposaddstatuscheckcontexts
        method: POST
        description: GitHub Add Status Check Contexts
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: repossetstatuscheckcontexts
        method: PUT
        description: GitHub Set Status Check Contexts
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: reposremovestatuscheckcontexts
        method: DELETE
        description: GitHub Remove Status Check Contexts
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: repos-owner-repo-branches-branch-protection-restrictions
      path: /repos/{owner}/{repo}/branches/{branch}/protection/restrictions
      operations:
      - name: reposgetaccessrestrictions
        method: GET
        description: GitHub Get Access Restrictions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: reposdeleteaccessrestrictions
        method: DELETE
        description: GitHub Delete Access Restrictions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: repos-owner-repo-branches-branch-protection-restrictions-apps
      path: /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps
      operations:
      - name: reposgetappswithaccesstoprotectedbranch
        method: GET
        description: GitHub Get Apps with Access to the Protected Branch
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: reposaddappaccessrestrictions
        method: POST
        description: GitHub Add App Access Restrictions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: repossetappaccessrestrictions
        method: PUT
        description: GitHub Set App Access Restrictions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: reposremoveappaccessrestrictions
        method: DELETE
        description: GitHub Remove App Access Restrictions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: repos-owner-repo-branches-branch-protection-restrictions-teams
      path: /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams
      operations:
      - name: reposgetteamswithaccesstoprotectedbranch
        method: GET
        description: GitHub Get Teams with Access to the Protected Branch
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: reposaddteamaccessrestrictions
        method: POST
        description: GitHub Add Team Access Restrictions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: repossetteamaccessrestrictions
        method: PUT
        description: GitHub Set Team Access Restrictions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: reposremoveteamaccessrestrictions
        method: DELETE
        description: GitHub Remove Team Access Restrictions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: repos-owner-repo-branches-branch-protection-restrictions-users
      path: /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users
      operations:
      - name: reposgetuserswithaccesstoprotectedbranch
        method: GET
        description: GitHub Get Users with Access to the Protected Branch
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: reposadduseraccessrestrictions
        method: POST
        description: GitHub Add User Access Restrictions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: repossetuseraccessrestrictions
        method: PUT
        description: GitHub Set User Access Restrictions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: reposremoveuseraccessrestrictions
        method: DELETE
        description: GitHub Remove User Access Restrictions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: repos-owner-repo-branches-branch-rename
      path: /repos/{owner}/{repo}/branches/{branch}/rename
      operations:
      - name: reposrenamebranch
        method: POST
        description: GitHub Rename a Branch
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repos-owner-repo-codeowners-errors
      path: /repos/{owner}/{repo}/codeowners/errors
      operations:
      - name: reposcodeownerserrors
        method: GET
        description: GitHub List CODEOWNERS Errors
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: ref
          in: query
          type: string
          description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default:
            the repository''s default branch (e.g. `main`)'
    - name: repos-owner-repo-collaborators
      path: /repos/{owner}/{repo}/collaborators
      operations:
      - name: reposlistcollaborators
        method: GET
        description: GitHub List Repository Collaborators
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: affiliation
          in: query
          type: string
          description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an
            organization-owned repository. `direct` means all collaborat
        - name: permission
          in: query
          type: string
          description: Filter collaborators by the permissions they have on the repository. If not specified, all collaborators
            will be returned.
    - name: repos-owner-repo-collaborators-username
      path: /repos/{owner}/{repo}/collaborators/{username}
      operations:
      - name: reposcheckcollaborator
        method: GET
        description: GitHub Check if a User is a Repository Collaborator
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: reposaddcollaborator
        method: PUT
        description: GitHub Add a Repository Collaborator
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: reposremovecollaborator
        method: DELETE
        description: GitHub Remove a Repository Collaborator
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: repos-owner-repo-collaborators-username-permission
      path: /repos/{owner}/{repo}/collaborators/{username}/permission
      operations:
      - name: reposgetcollaboratorpermissionlevel
        method: GET
        description: GitHub Get Repository Permissions for a User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: repos-owner-repo-comments
      path: /repos/{owner}/{repo}/comments
      operations:
      - name: reposlistcommitcommentsforrepo
        method: GET
        description: GitHub List Commit Comments for a Repository
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: repos-owner-repo-comments-comment_id
      path: /repos/{owner}/{repo}/comments/{comment_id}
      operations:
      - name: reposgetcommitcomment
        method: GET
        description: GitHub Get a Commit Comment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: reposupdatecommitcomment
        method: PATCH
        description: GitHub Update a Commit Comment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: reposdeletecommitcomment
        method: DELETE
        description: GitHub Delete a Commit Comment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: repos-owner-repo-commits
      path: /repos/{owner}/{repo}/commits
      operations:
      - name: reposlistcommits
        method: GET
        description: GitHub List Commits
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: sha
          in: query
          type: string
          description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).'
        - name: path
          in: query
          type: string
          description: Only commits containing this file path will be returned.
        - name: author
          in: query
          type: string
          description: GitHub username or email address to use to filter by commit author.
        - name: committer
          in: query
          type: string
          description: GitHub username or email address to use to filter by commit committer.
        - name: until
          in: query
          type: string
          description: 'Only commits before this date will be returned. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
            format: `YYYY-MM-DDTHH:MM:SSZ`.'
    - name: repos-owner-repo-commits-commit_sha-branches-where-head
      path: /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head
      operations:
      - name: reposlistbranchesforheadcommit
        method: GET
        description: GitHub List Branches for HEAD Commit
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: repos-owner-repo-commits-commit_sha-comments
      path: /repos/{owner}/{repo}/commits/{commit_sha}/comments
      operations:
      - name: reposlistcommentsforcommit
        method: GET
        description: GitHub List Commit Comments
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: reposcreatecommitcomment
        method: POST
        description: GitHub Create a Commit Comment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repos-owner-repo-commits-commit_sha-pulls
      path: /repos/{owner}/{repo}/commits/{commit_sha}/pulls
      operations:
      - name: reposlistpullrequestsassociatedwithcommit
        method: GET
        description: GitHub List Pull Requests Associated with a Commit
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: repos-owner-repo-commits-ref
      path: /repos/{owner}/{repo}/commits/{ref}
      operations:
      - name: reposgetcommit
        method: GET
        description: GitHub Get a Commit
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: repos-owner-repo-commits-ref-status
      path: /repos/{owner}/{repo}/commits/{ref}/status
      operations:
      - name: reposgetcombinedstatusforref
        method: GET
        description: GitHub Get the Combined Status for a Specific Reference
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: repos-owner-repo-commits-ref-statuses
      path: /repos/{owner}/{repo}/commits/{ref}/statuses
      operations:
      - name: reposlistcommitstatusesforref
        method: GET
        description: GitHub List Commit Statuses for a Reference
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: repos-owner-repo-compare-basehead
      path: /repos/{owner}/{repo}/compare/{basehead}
      operations:
      - name: reposcomparecommits
        method: GET
        description: GitHub Compare Two Commits
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: basehead
          in: path
          type: string
          description: 'The base branch and head branch to compare. This parameter expects the format `BASE...HEAD`. Both
            must be branch names in `repo`. To compare with a branch that '
          required: true
    - name: repos-owner-repo-contents-path
      path: /repos/{owner}/{repo}/contents/{path}
      operations:
      - name: reposgetcontent
        method: GET
        description: GitHub Get Repository Content
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: path
          in: path
          type: string
          description: path parameter
          required: true
        - name: ref
          in: query
          type: string
          description: 'The name of the commit/branch/tag. Default: the repository’s default branch.'
      - name: reposcreateorupdatefilecontents
        method: PUT
        description: GitHub Create or Update File Contents
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: path
          in: path
          type: string
          description: path parameter
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: reposdeletefile
        method: DELETE
        description: GitHub Delete a File
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: path
          in: path
          type: string
          description: path parameter
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repos-owner-repo-contributors
      path: /repos/{owner}/{repo}/contributors
      operations:
      - name: reposlistcontributors
        method: GET
        description: GitHub List Repository Contributors
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: anon
          in: query
          type: string
          description: Set to `1` or `true` to include anonymous contributors in results.
    - name: repos-owner-repo-deployments
      path: /repos/{owner}/{repo}/deployments
      operations:
      - name: reposlistdeployments
        method: GET
        description: GitHub List Deployments
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: sha
          in: query
          type: string
          description: The SHA recorded at creation time.
        - name: ref
          in: query
          type: string
          description: The name of the ref. This can be a branch, tag, or SHA.
        - name: task
          in: query
          type: string
          description: The name of the task for the deployment (e.g., `deploy` or `deploy:migrations`).
        - name: environment
          in: query
          type: string
          description: The name of the environment that was deployed to (e.g., `staging` or `production`).
      - name: reposcreatedeployment
        method: POST
        description: GitHub Create a Deployment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repos-owner-repo-deployments-deployment_id
      path: /repos/{owner}/{repo}/deployments/{deployment_id}
      operations:
      - name: reposgetdeployment
        method: GET
        description: GitHub Get a Deployment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: reposdeletedeployment
        method: DELETE
        description: GitHub Delete a Deployment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: repos-owner-repo-deployments-deployment_id-statuses
      path: /repos/{owner}/{repo}/deployments/{deployment_id}/statuses
      operations:
      - name: reposlistdeploymentstatuses
        method: GET
        description: GitHub List Deployment Statuses
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: reposcreatedeploymentstatus
        method: POST
        description: GitHub Create a Deployment Status
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repos-owner-repo-deployments-deployment_id-statuses-status_id
      path: /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}
      operations:
      - name: reposgetdeploymentstatus
        method: GET
        description: GitHub Get a Deployment Status
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: status_id
          in: path
          type: integer
          required: true
    - name: repos-owner-repo-dispatches
      path: /repos/{owner}/{repo}/dispatches
      operations:
      - name: reposcreatedispatchevent
        method: POST
        description: GitHub Create a Repository Dispatch Event
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repos-owner-repo-environments
      path: /repos/{owner}/{repo}/environments
      operations:
 

# --- truncated at 32 KB (179 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/github/refs/heads/main/capabilities/github-repos.yaml