GitHub · Capability

github-repos-api — Lists

github-repos-api — Lists. 42 operations. Lead operation: GitHub List Assignees. Self-contained Naftiko capability covering one Github business surface.

Run with Naftiko GithubLists

What You Can Do

GET
Listassignees — GitHub List Assignees
/v1/repos/{owner}/{repo}/assignees
GET
Listcheckrunannotations — GitHub List Check Run Annotations
/v1/repos/{owner}/{repo}/check-runs/{check-run-id}/annotations
GET
Listcheckrunsinchecksuite — GitHub List Check Runs in Check Suite
/v1/repos/{owner}/{repo}/check-suites/{check-suite-id}/check-runs
GET
Listcodeownerserrors — GitHub List Codeowners Errors
/v1/repos/{owner}/{repo}/codeowners/errors
GET
Listcommitcommentsforrepository — GitHub List Commit Comments for Repository
/v1/repos/{owner}/{repo}/comments
GET
Listreactionsforcommitcomment — GitHub List Reactions for Commit Comment
/v1/repos/{owner}/{repo}/comments/{comment-id}/reactions
GET
Listcommits — GitHub List Commits
/v1/repos/{owner}/{repo}/commits
GET
Listbranchesforheadcommit — GitHub List Branches for Head Commit
/v1/repos/{owner}/{repo}/commits/{commit-sha}/branches-where-head
GET
Listcommitcomments — GitHub List Commit Comments
/v1/repos/{owner}/{repo}/commits/{commit-sha}/comments
GET
Listpullrequestsassociatedwithcommit — GitHub List Pull Requests Associated with Commit
/v1/repos/{owner}/{repo}/commits/{commit-sha}/pulls
GET
Listcheckrunsforgitreference — GitHub List Check Runs for Git Reference
/v1/repos/{owner}/{repo}/commits/{ref}/check-runs
GET
Listchecksuitesforgitreference — GitHub List Check Suites for Git Reference
/v1/repos/{owner}/{repo}/commits/{ref}/check-suites
GET
Listcommitstatusesforreference — GitHub List Commit Statuses for Reference
/v1/repos/{owner}/{repo}/commits/{ref}/statuses
GET
Listrepositorycontributors — GitHub List Repository Contributors
/v1/repos/{owner}/{repo}/contributors
GET
Listdeployments — GitHub List Deployments
/v1/repos/{owner}/{repo}/deployments
GET
Listdeploymentstatuses — GitHub List Deployment Statuses
/v1/repos/{owner}/{repo}/deployments/{deployment-id}/statuses
GET
Listenvironments — GitHub List Environments
/v1/repos/{owner}/{repo}/environments
GET
Listdeploymentbranchpolicies — GitHub List Deployment Branch Policies
/v1/repos/{owner}/{repo}/environments/{environment-name}/deployment-branch-policies
GET
Listenvironmentsecrets — GitHub List Environment Secrets
/v1/repos/{owner}/{repo}/environments/{environment-name}/secrets
GET
Listenvironmentvariables — GitHub List Environment Variables
/v1/repos/{owner}/{repo}/environments/{environment-name}/variables
GET
Listrepositoryevents — GitHub List Repository Events
/v1/repos/{owner}/{repo}/events
GET
Listforks — GitHub List Forks
/v1/repos/{owner}/{repo}/forks
GET
Listmatchingreferences — GitHub List Matching References
/v1/repos/{owner}/{repo}/git/matching-refs/{ref}
GET
Listdeploykeys — GitHub List Deploy Keys
/v1/repos/{owner}/{repo}/keys
GET
Listlabelsforrepository — GitHub List Labels for Repository
/v1/repos/{owner}/{repo}/labels
GET
Listrepositorylanguages — GitHub List Repository Languages
/v1/repos/{owner}/{repo}/languages
GET
Listmilestones — GitHub List Milestones
/v1/repos/{owner}/{repo}/milestones
GET
Listlabelsforissuesinmilestone — GitHub List Labels for Issues in Milestone
/v1/repos/{owner}/{repo}/milestones/{milestone-number}/labels
GET
Listrepositorynotificationsfortheauthenticateduser — GitHub List Repository Notifications for the Authenticated User
/v1/repos/{owner}/{repo}/notifications
GET
Listgithubenterpriseserverpagesbuilds — GitHub List Github Enterprise Server Pages Builds
/v1/repos/{owner}/{repo}/pages/builds
GET
Listreleases — GitHub List Releases
/v1/repos/{owner}/{repo}/releases
GET
Listreleaseassets — GitHub List Release Assets
/v1/repos/{owner}/{repo}/releases/{release-id}/assets
GET
Listreactionsforrelease — GitHub List Reactions for Release
/v1/repos/{owner}/{repo}/releases/{release-id}/reactions
GET
Listrepositorycachereplicationstatus — GitHub List Repository Cache Replication Status
/v1/repos/{owner}/{repo}/replicas/caches
GET
Listsecretscanningalertsforrepository — GitHub List Secret Scanning Alerts for Repository
/v1/repos/{owner}/{repo}/secret-scanning/alerts
GET
Listlocationsforsecretscanningalert — GitHub List Locations for Secret Scanning Alert
/v1/repos/{owner}/{repo}/secret-scanning/alerts/{alert-number}/locations
GET
Liststargazers — GitHub List Stargazers
/v1/repos/{owner}/{repo}/stargazers
GET
Listwatchers — GitHub List Watchers
/v1/repos/{owner}/{repo}/subscribers
GET
Listrepositorytags — GitHub List Repository Tags
/v1/repos/{owner}/{repo}/tags
GET
Listtagprotectionstatesforrepository — GitHub List Tag Protection States for Repository
/v1/repos/{owner}/{repo}/tags/protection
GET
Listrepositoryteams — GitHub List Repository Teams
/v1/repos/{owner}/{repo}/teams
GET
Listpublicrepositories — GitHub List Public Repositories
/v1/repositories

MCP Tools

github-list-assignees

GitHub List Assignees

read-only idempotent
github-list-check-run-annotations

GitHub List Check Run Annotations

read-only idempotent
github-list-check-runs-check

GitHub List Check Runs in Check Suite

read-only idempotent
github-list-codeowners-errors

GitHub List Codeowners Errors

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

GitHub List Commit Comments for Repository

read-only idempotent
github-list-reactions-commit-comment

GitHub List Reactions for Commit Comment

read-only 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-list-pull-requests-associated

GitHub List Pull Requests Associated with Commit

read-only idempotent
github-list-check-runs-git

GitHub List Check Runs for Git Reference

read-only idempotent
github-list-check-suites-git

GitHub List Check Suites for Git Reference

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

GitHub List Commit Statuses for Reference

read-only idempotent
github-list-repository-contributors

GitHub List Repository Contributors

read-only idempotent
github-list-deployments

GitHub List Deployments

read-only idempotent
github-list-deployment-statuses

GitHub List Deployment Statuses

read-only idempotent
github-list-environments

GitHub List Environments

read-only idempotent
github-list-deployment-branch-policies

GitHub List Deployment Branch Policies

read-only idempotent
github-list-environment-secrets

GitHub List Environment Secrets

read-only idempotent
github-list-environment-variables

GitHub List Environment Variables

read-only idempotent
github-list-repository-events

GitHub List Repository Events

read-only idempotent
github-list-forks

GitHub List Forks

read-only idempotent
github-list-matching-references

GitHub List Matching References

read-only idempotent
github-list-deploy-keys

GitHub List Deploy Keys

read-only idempotent
github-list-labels-repository

GitHub List Labels for Repository

read-only idempotent
github-list-repository-languages

GitHub List Repository Languages

read-only idempotent
github-list-milestones

GitHub List Milestones

read-only idempotent
github-list-labels-issues-milestone

GitHub List Labels for Issues in Milestone

read-only idempotent
github-list-repository-notifications-authenticated

GitHub List Repository Notifications for the Authenticated User

read-only idempotent
github-list-github-enterprise-server

GitHub List Github Enterprise Server Pages Builds

read-only idempotent
github-list-releases

GitHub List Releases

read-only idempotent
github-list-release-assets

GitHub List Release Assets

read-only idempotent
github-list-reactions-release

GitHub List Reactions for Release

read-only idempotent
github-list-repository-cache-replication

GitHub List Repository Cache Replication Status

read-only idempotent
github-list-secret-scanning-alerts

GitHub List Secret Scanning Alerts for Repository

read-only idempotent
github-list-locations-secret-scanning

GitHub List Locations for Secret Scanning Alert

read-only idempotent
github-list-stargazers

GitHub List Stargazers

read-only idempotent
github-list-watchers

GitHub List Watchers

read-only idempotent
github-list-repository-tags

GitHub List Repository Tags

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

GitHub List Tag Protection States for Repository

read-only idempotent
github-list-repository-teams

GitHub List Repository Teams

read-only idempotent
github-list-public-repositories

GitHub List Public Repositories

read-only idempotent

Capability Spec

repo-tags-lists.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: github-repos-api — Lists
  description: 'github-repos-api — Lists. 42 operations. Lead operation: GitHub List Assignees. Self-contained Naftiko capability
    covering one Github business surface.'
  tags:
  - Github
  - Lists
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GITHUB_API_KEY: GITHUB_API_KEY
capability:
  consumes:
  - type: http
    namespace: repo-tags-lists
    baseUri: ''
    description: github-repos-api — Lists business capability. Self-contained, no shared references.
    resources:
    - name: repos-owner-repo-assignees
      path: /repos/{owner}/{repo}/assignees
      operations:
      - name: listassignees
        method: GET
        description: GitHub List Assignees
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-check-runs-check_run_id-annotations
      path: /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations
      operations:
      - name: listcheckrunannotations
        method: GET
        description: GitHub List Check Run Annotations
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-check-suites-check_suite_id-check-runs
      path: /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs
      operations:
      - name: listcheckrunsinchecksuite
        method: GET
        description: GitHub List Check Runs in Check Suite
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: filter
          in: query
          type: string
          description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs.
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-codeowners-errors
      path: /repos/{owner}/{repo}/codeowners/errors
      operations:
      - name: listcodeownerserrors
        method: GET
        description: GitHub List Codeowners Errors
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: ref
          in: query
          type: string
          description: '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: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-comments
      path: /repos/{owner}/{repo}/comments
      operations:
      - name: listcommitcommentsforrepository
        method: GET
        description: GitHub List Commit Comments for Repository
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-comments-comment_id-reactions
      path: /repos/{owner}/{repo}/comments/{comment_id}/reactions
      operations:
      - name: listreactionsforcommitcomment
        method: GET
        description: GitHub List Reactions for Commit Comment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: content
          in: query
          type: string
          description: Returns a single [reaction type](https://docs.github.com/[email protected]/rest/reactions/reactions#about-reactions).
            Omit this parameter to list all reacti
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-commits
      path: /repos/{owner}/{repo}/commits
      operations:
      - name: listcommits
        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 repositorys 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: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-commits-commit_sha-branches-where-head
      path: /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head
      operations:
      - name: listbranchesforheadcommit
        method: GET
        description: GitHub List Branches for Head Commit
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-commits-commit_sha-comments
      path: /repos/{owner}/{repo}/commits/{commit_sha}/comments
      operations:
      - name: listcommitcomments
        method: GET
        description: GitHub List Commit Comments
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-commits-commit_sha-pulls
      path: /repos/{owner}/{repo}/commits/{commit_sha}/pulls
      operations:
      - name: listpullrequestsassociatedwithcommit
        method: GET
        description: GitHub List Pull Requests Associated with Commit
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-commits-ref-check-runs
      path: /repos/{owner}/{repo}/commits/{ref}/check-runs
      operations:
      - name: listcheckrunsforgitreference
        method: GET
        description: GitHub List Check Runs for Git Reference
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: filter
          in: query
          type: string
          description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs.
        - name: app_id
          in: query
          type: integer
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-commits-ref-check-suites
      path: /repos/{owner}/{repo}/commits/{ref}/check-suites
      operations:
      - name: listchecksuitesforgitreference
        method: GET
        description: GitHub List Check Suites for Git Reference
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: app_id
          in: query
          type: integer
          description: Filters check suites by GitHub App `id`.
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-commits-ref-statuses
      path: /repos/{owner}/{repo}/commits/{ref}/statuses
      operations:
      - name: listcommitstatusesforreference
        method: GET
        description: GitHub List Commit Statuses for Reference
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-contributors
      path: /repos/{owner}/{repo}/contributors
      operations:
      - name: listrepositorycontributors
        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: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-deployments
      path: /repos/{owner}/{repo}/deployments
      operations:
      - name: listdeployments
        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: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-deployments-deployment_id-statuses
      path: /repos/{owner}/{repo}/deployments/{deployment_id}/statuses
      operations:
      - name: listdeploymentstatuses
        method: GET
        description: GitHub List Deployment Statuses
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-environments
      path: /repos/{owner}/{repo}/environments
      operations:
      - name: listenvironments
        method: GET
        description: GitHub List Environments
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-environments-environment_name-deployment-branch-policies
      path: /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies
      operations:
      - name: listdeploymentbranchpolicies
        method: GET
        description: GitHub List Deployment Branch Policies
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-environments-environment_name-secrets
      path: /repos/{owner}/{repo}/environments/{environment_name}/secrets
      operations:
      - name: listenvironmentsecrets
        method: GET
        description: GitHub List Environment Secrets
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-environments-environment_name-variables
      path: /repos/{owner}/{repo}/environments/{environment_name}/variables
      operations:
      - name: listenvironmentvariables
        method: GET
        description: GitHub List Environment Variables
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-events
      path: /repos/{owner}/{repo}/events
      operations:
      - name: listrepositoryevents
        method: GET
        description: GitHub List Repository Events
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-forks
      path: /repos/{owner}/{repo}/forks
      operations:
      - name: listforks
        method: GET
        description: GitHub List Forks
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: sort
          in: query
          type: string
          description: The sort order. `stargazers` will sort by star count.
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-git-matching-refs-ref
      path: /repos/{owner}/{repo}/git/matching-refs/{ref}
      operations:
      - name: listmatchingreferences
        method: GET
        description: GitHub List Matching References
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-keys
      path: /repos/{owner}/{repo}/keys
      operations:
      - name: listdeploykeys
        method: GET
        description: GitHub List Deploy Keys
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-labels
      path: /repos/{owner}/{repo}/labels
      operations:
      - name: listlabelsforrepository
        method: GET
        description: GitHub List Labels for Repository
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-languages
      path: /repos/{owner}/{repo}/languages
      operations:
      - name: listrepositorylanguages
        method: GET
        description: GitHub List Repository Languages
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-milestones
      path: /repos/{owner}/{repo}/milestones
      operations:
      - name: listmilestones
        method: GET
        description: GitHub List Milestones
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: state
          in: query
          type: string
          description: The state of the milestone. Either `open`, `closed`, or `all`.
        - name: sort
          in: query
          type: string
          description: What to sort results by. Either `due_on` or `completeness`.
        - name: direction
          in: query
          type: string
          description: The direction of the sort. Either `asc` or `desc`.
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-milestones-milestone_number-labels
      path: /repos/{owner}/{repo}/milestones/{milestone_number}/labels
      operations:
      - name: listlabelsforissuesinmilestone
        method: GET
        description: GitHub List Labels for Issues in Milestone
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-notifications
      path: /repos/{owner}/{repo}/notifications
      operations:
      - name: listrepositorynotificationsfortheauthenticateduser
        method: GET
        description: GitHub List Repository Notifications for the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-pages-builds
      path: /repos/{owner}/{repo}/pages/builds
      operations:
      - name: listgithubenterpriseserverpagesbuilds
        method: GET
        description: GitHub List Github Enterprise Server Pages Builds
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-releases
      path: /repos/{owner}/{repo}/releases
      operations:
      - name: listreleases
        method: GET
        description: GitHub List Releases
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-releases-release_id-assets
      path: /repos/{owner}/{repo}/releases/{release_id}/assets
      operations:
      - name: listreleaseassets
        method: GET
        description: GitHub List Release Assets
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-releases-release_id-reactions
      path: /repos/{owner}/{repo}/releases/{release_id}/reactions
      operations:
      - name: listreactionsforrelease
        method: GET
        description: GitHub List Reactions for Release
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: content
          in: query
          type: string
          description: Returns a single [reaction type](https://docs.github.com/[email protected]/rest/reactions/reactions#about-reactions).
            Omit this parameter to list all reacti
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-replicas-caches
      path: /repos/{owner}/{repo}/replicas/caches
      operations:
      - name: listrepositorycachereplicationstatus
        method: GET
        description: GitHub List Repository Cache Replication Status
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-secret-scanning-alerts
      path: /repos/{owner}/{repo}/secret-scanning/alerts
      operations:
      - name: listsecretscanningalertsforrepository
        method: GET
        description: GitHub List Secret Scanning Alerts for Repository
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-secret-scanning-alerts-alert_number-locations
      path: /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations
      operations:
      - name: listlocationsforsecretscanningalert
        method: GET
        description: GitHub List Locations for Secret Scanning Alert
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-stargazers
      path: /repos/{owner}/{repo}/stargazers
      operations:
      - name: liststargazers
        method: GET
        description: GitHub List Stargazers
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-subscribers
      path: /repos/{owner}/{repo}/subscribers
      operations:
      - name: listwatchers
        method: GET
        description: GitHub List Watchers
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-tags
      path: /repos/{owner}/{repo}/tags
      operations:
      - name: listrepositorytags
        method: GET
        description: GitHub List Repository Tags
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-tags-protection
      path: /repos/{owner}/{repo}/tags/protection
      operations:
      - name: listtagprotectionstatesforrepository
        method: GET
        description: GitHub List Tag Protection States for Repository
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-teams
      path: /repos/{owner}/{repo}/teams
      operations:
      - name: listrepositoryteams
        method: GET
        description: GitHub List Repository Teams
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repositories
      path: /repositories
      operations:
      - name: listpublicrepositories
        method: GET
        description: GitHub List Public Repositories
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: visibility
          in: query
          type: string
          description: Specifies the types of repositories to return. This endpoint will only list repositories available
            to all users on the enterprise.
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    authentication:
      type: bearer
      token: '{{env.GITHUB_API_KEY}}'
  exposes:
  - type: rest
    namespace: repo-tags-lists-rest
    port: 8080
    description: REST adapter for github-repos-api — Lists. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/repos/{owner}/{repo}/assignees
      name: repos-owner-repo-assignees
      description: REST surface for repos-owner-repo-assignees.
      operations:
      - method: GET
        name: listassignees
        description: GitHub List Assignees
        call: repo-tags-lists.listassignees
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/check-runs/{check-run-id}/annotations
      name: repos-owner-repo-check-runs-check-run-id-annotations
      description: REST surface for repos-owner-repo-check-runs-check_run_id-annotations.
      operations:
      - method: GET
        name: listcheckrunannotations
        description: GitHub List Check Run Annotations
        call: repo-tags-lists.listcheckrunannotations
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/check-suites/{check-suite-id}/check-runs
      name: repos-owner-repo-check-suites-check-suite-id-check-runs
      description: REST surface for repos-owner-repo-check-suites-check_suite_id-check-runs.
      operations:
      - method: GET
        name: listcheckrunsinchecksuite
        description: GitHub List Check Runs in Check Suite
        call: repo-tags-lists.listcheckrunsinchecksuite
        with:
          filter: rest.filter
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/codeowners/errors
      name: repos-owner-repo-codeowners-errors
      description: REST surface for repos-owner-repo-codeowners-errors.
      operations:
      - method: GET
        name: listcodeownerserrors
        description: GitHub List Codeowners Errors
        call: repo-tags-lists.listcodeownerserrors
        with:
          ref: rest.ref
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/comments
      name: repos-owner-repo-comments
      description: REST surface for repos-owner-repo-comments.
      operations:
      - method: GET
  

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