GitHub · Capability

GitHub Repos API — Organizations

GitHub Repos API — Organizations. 27 operations. Lead operation: List Selected Repositories Enabled For Github Actions In An Organization. Self-contained Naftiko capability covering one Github business surface.

Run with Naftiko GithubOrganizations

What You Can Do

GET
Listselectedrepositoriesenabledforgithubactionsinanorganization — List Selected Repositories Enabled For Github Actions In An Organization
/v1/orgs/{org}/actions/permissions/repositories
PUT
Setselectedrepositoriesenabledforgithubactionsinanorganization — Set Selected Repositories Enabled For Github Actions In An Organization
/v1/orgs/{org}/actions/permissions/repositories
PUT
Enableselectedrepositoryforgithubactionsinanorganization — Enable Selected Repository For Github Actions In An Organization
/v1/orgs/{org}/actions/permissions/repositories/{repository-id}
DELETE
Disableselectedrepositoryforgithubactionsinanorganization — Disable Selected Repository For Github Actions In An Organization
/v1/orgs/{org}/actions/permissions/repositories/{repository-id}
GET
Listrepositoryaccesstoselfhostedrunnergroupinanorganization — List Repository Access To Self-hosted Runner Group In An Organization
/v1/orgs/{org}/actions/runner-groups/{runner-group-id}/repositories
PUT
Setrepositoryaccessforselfhostedrunnergroupinanorganization — Set Repository Access For Self-hosted Runner Group In An Organization
/v1/orgs/{org}/actions/runner-groups/{runner-group-id}/repositories
PUT
Addrepositoryaccesstoselfhostedrunnergroupinanorganization — Add Repository Access To Self-hosted Runner Group In An Organization
/v1/orgs/{org}/actions/runner-groups/{runner-group-id}/repositories/{repository-id}
DELETE
Removerepositoryaccesstoselfhostedrunnergroupinanorganization — Remove Repository Access To Self-hosted Runner Group In An Organization
/v1/orgs/{org}/actions/runner-groups/{runner-group-id}/repositories/{repository-id}
GET
Listselectedrepositoriesforanorganizationsecret — List Selected Repositories For An Organization Secret
/v1/orgs/{org}/actions/secrets/{secret-name}/repositories
PUT
Setselectedrepositoriesforanorganizationsecret — Set Selected Repositories For An Organization Secret
/v1/orgs/{org}/actions/secrets/{secret-name}/repositories
PUT
Addselectedrepositorytoanorganizationsecret — Add Selected Repository To An Organization Secret
/v1/orgs/{org}/actions/secrets/{secret-name}/repositories/{repository-id}
DELETE
Removeselectedrepositoryfromanorganizationsecret — Remove Selected Repository From An Organization Secret
/v1/orgs/{org}/actions/secrets/{secret-name}/repositories/{repository-id}
GET
Listselectedrepositoriesforanorganizationvariable — List Selected Repositories For An Organization Variable
/v1/orgs/{org}/actions/variables/{name}/repositories
PUT
Setselectedrepositoriesforanorganizationvariable — Set Selected Repositories For An Organization Variable
/v1/orgs/{org}/actions/variables/{name}/repositories
PUT
Addselectedrepositorytoanorganizationvariable — Add Selected Repository To An Organization Variable
/v1/orgs/{org}/actions/variables/{name}/repositories/{repository-id}
DELETE
Removeselectedrepositoryfromanorganizationvariable — Remove Selected Repository From An Organization Variable
/v1/orgs/{org}/actions/variables/{name}/repositories/{repository-id}
GET
Listselectedrepositoriesforanorganizationsecret — List Selected Repositories For An Organization Secret
/v1/orgs/{org}/dependabot/secrets/{secret-name}/repositories
PUT
Setselectedrepositoriesforanorganizationsecret — Set Selected Repositories For An Organization Secret
/v1/orgs/{org}/dependabot/secrets/{secret-name}/repositories
PUT
Addselectedrepositorytoanorganizationsecret — Add Selected Repository To An Organization Secret
/v1/orgs/{org}/dependabot/secrets/{secret-name}/repositories/{repository-id}
DELETE
Removeselectedrepositoryfromanorganizationsecret — Remove Selected Repository From An Organization Secret
/v1/orgs/{org}/dependabot/secrets/{secret-name}/repositories/{repository-id}
DELETE
Unlockanorganizationrepository — Unlock An Organization Repository
/v1/orgs/{org}/migrations/{migration-id}/repos/{repo-name}/lock
GET
Listrepositoriesinanorganizationmigration — List Repositories In An Organization Migration
/v1/orgs/{org}/migrations/{migration-id}/repositories
GET
Listorganizationrepositories — List Organization Repositories
/v1/orgs/{org}/repos
POST
Createanorganizationrepository — Create An Organization Repository
/v1/orgs/{org}/repos
GET
Listrepositoryfinegrainedpermissionsforanorganization — List Repository Fine-grained Permissions For An Organization
/v1/orgs/{org}/repository-fine-grained-permissions
GET
Listrepositoryorganizationsecrets — List Repository Organization Secrets
/v1/repos/{owner}/{repo}/actions/organization-secrets
GET
Listrepositoryorganizationvariables — List Repository Organization Variables
/v1/repos/{owner}/{repo}/actions/organization-variables

MCP Tools

list-selected-repositories-enabled-github

List Selected Repositories Enabled For Github Actions In An Organization

read-only idempotent
set-selected-repositories-enabled-github

Set Selected Repositories Enabled For Github Actions In An Organization

idempotent
enable-selected-repository-github-actions

Enable Selected Repository For Github Actions In An Organization

idempotent
disable-selected-repository-github-actions

Disable Selected Repository For Github Actions In An Organization

idempotent
list-repository-access-self-hosted

List Repository Access To Self-hosted Runner Group In An Organization

read-only idempotent
set-repository-access-self-hosted

Set Repository Access For Self-hosted Runner Group In An Organization

idempotent
add-repository-access-self-hosted

Add Repository Access To Self-hosted Runner Group In An Organization

idempotent
remove-repository-access-self-hosted

Remove Repository Access To Self-hosted Runner Group In An Organization

idempotent
list-selected-repositories-organization-secret

List Selected Repositories For An Organization Secret

read-only idempotent
set-selected-repositories-organization-secret

Set Selected Repositories For An Organization Secret

idempotent
add-selected-repository-organization-secret

Add Selected Repository To An Organization Secret

idempotent
remove-selected-repository-organization-secret

Remove Selected Repository From An Organization Secret

idempotent
list-selected-repositories-organization-variable

List Selected Repositories For An Organization Variable

read-only idempotent
set-selected-repositories-organization-variable

Set Selected Repositories For An Organization Variable

idempotent
add-selected-repository-organization-variable

Add Selected Repository To An Organization Variable

idempotent
remove-selected-repository-organization-variable

Remove Selected Repository From An Organization Variable

idempotent
list-selected-repositories-organization-secret-2

List Selected Repositories For An Organization Secret

read-only idempotent
set-selected-repositories-organization-secret-2

Set Selected Repositories For An Organization Secret

idempotent
add-selected-repository-organization-secret-2

Add Selected Repository To An Organization Secret

idempotent
remove-selected-repository-organization-secret-2

Remove Selected Repository From An Organization Secret

idempotent
unlock-organization-repository

Unlock An Organization Repository

idempotent
list-repositories-organization-migration

List Repositories In An Organization Migration

read-only idempotent
list-organization-repositories

List Organization Repositories

read-only idempotent
create-organization-repository

Create An Organization Repository

list-repository-fine-grained-permissions

List Repository Fine-grained Permissions For An Organization

read-only idempotent
list-repository-organization-secrets

List Repository Organization Secrets

read-only idempotent
list-repository-organization-variables

List Repository Organization Variables

read-only idempotent

Capability Spec

temp-organizations.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: GitHub Repos API — Organizations
  description: 'GitHub Repos API — Organizations. 27 operations. Lead operation: List Selected Repositories Enabled For Github
    Actions In An Organization. Self-contained Naftiko capability covering one Github business surface.'
  tags:
  - Github
  - Organizations
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GITHUB_API_KEY: GITHUB_API_KEY
capability:
  consumes:
  - type: http
    namespace: temp-organizations
    baseUri: ''
    description: GitHub Repos API — Organizations business capability. Self-contained, no shared references.
    resources:
    - name: orgs-org-actions-permissions-repositories
      path: /orgs/{org}/actions/permissions/repositories
      operations:
      - name: listselectedrepositoriesenabledforgithubactionsinanorganization
        method: GET
        description: List Selected Repositories Enabled For Github Actions In An Organization
        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: setselectedrepositoriesenabledforgithubactionsinanorganization
        method: PUT
        description: Set Selected Repositories Enabled For Github Actions In An Organization
        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: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: orgs-org-actions-permissions-repositories-repository_id
      path: /orgs/{org}/actions/permissions/repositories/{repository_id}
      operations:
      - name: enableselectedrepositoryforgithubactionsinanorganization
        method: PUT
        description: Enable Selected Repository For Github Actions In An Organization
        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: disableselectedrepositoryforgithubactionsinanorganization
        method: DELETE
        description: Disable Selected Repository For Github Actions In An Organization
        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: orgs-org-actions-runner-groups-runner_group_id-repositories
      path: /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories
      operations:
      - name: listrepositoryaccesstoselfhostedrunnergroupinanorganization
        method: GET
        description: List Repository Access To Self-hosted Runner Group In An Organization
        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: setrepositoryaccessforselfhostedrunnergroupinanorganization
        method: PUT
        description: Set Repository Access For Self-hosted Runner Group In An Organization
        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: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: orgs-org-actions-runner-groups-runner_group_id-repositories-repository_id
      path: /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}
      operations:
      - name: addrepositoryaccesstoselfhostedrunnergroupinanorganization
        method: PUT
        description: Add Repository Access To Self-hosted Runner Group In An Organization
        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: removerepositoryaccesstoselfhostedrunnergroupinanorganization
        method: DELETE
        description: Remove Repository Access To Self-hosted Runner Group In An Organization
        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: orgs-org-actions-secrets-secret_name-repositories
      path: /orgs/{org}/actions/secrets/{secret_name}/repositories
      operations:
      - name: listselectedrepositoriesforanorganizationsecret
        method: GET
        description: List Selected Repositories For An Organization Secret
        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: setselectedrepositoriesforanorganizationsecret
        method: PUT
        description: Set Selected Repositories For An Organization Secret
        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: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: orgs-org-actions-secrets-secret_name-repositories-repository_id
      path: /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}
      operations:
      - name: addselectedrepositorytoanorganizationsecret
        method: PUT
        description: Add Selected Repository To An Organization Secret
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: repository_id
          in: path
          type: integer
          required: true
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
      - name: removeselectedrepositoryfromanorganizationsecret
        method: DELETE
        description: Remove Selected Repository From An Organization Secret
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: repository_id
          in: path
          type: integer
          required: true
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: orgs-org-actions-variables-name-repositories
      path: /orgs/{org}/actions/variables/{name}/repositories
      operations:
      - name: listselectedrepositoriesforanorganizationvariable
        method: GET
        description: List Selected Repositories For An Organization Variable
        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: setselectedrepositoriesforanorganizationvariable
        method: PUT
        description: Set Selected Repositories For An Organization Variable
        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: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: orgs-org-actions-variables-name-repositories-repository_id
      path: /orgs/{org}/actions/variables/{name}/repositories/{repository_id}
      operations:
      - name: addselectedrepositorytoanorganizationvariable
        method: PUT
        description: Add Selected Repository To An Organization Variable
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: repository_id
          in: path
          type: integer
          required: true
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
      - name: removeselectedrepositoryfromanorganizationvariable
        method: DELETE
        description: Remove Selected Repository From An Organization Variable
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: repository_id
          in: path
          type: integer
          required: true
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: orgs-org-dependabot-secrets-secret_name-repositories
      path: /orgs/{org}/dependabot/secrets/{secret_name}/repositories
      operations:
      - name: listselectedrepositoriesforanorganizationsecret
        method: GET
        description: List Selected Repositories For An Organization Secret
        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: setselectedrepositoriesforanorganizationsecret
        method: PUT
        description: Set Selected Repositories For An Organization Secret
        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: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: orgs-org-dependabot-secrets-secret_name-repositories-repository_id
      path: /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}
      operations:
      - name: addselectedrepositorytoanorganizationsecret
        method: PUT
        description: Add Selected Repository To An Organization Secret
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: repository_id
          in: path
          type: integer
          required: true
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
      - name: removeselectedrepositoryfromanorganizationsecret
        method: DELETE
        description: Remove Selected Repository From An Organization Secret
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: repository_id
          in: path
          type: integer
          required: true
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: orgs-org-migrations-migration_id-repos-repo_name-lock
      path: /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock
      operations:
      - name: unlockanorganizationrepository
        method: DELETE
        description: Unlock An Organization 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: orgs-org-migrations-migration_id-repositories
      path: /orgs/{org}/migrations/{migration_id}/repositories
      operations:
      - name: listrepositoriesinanorganizationmigration
        method: GET
        description: List Repositories In An Organization Migration
        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: orgs-org-repos
      path: /orgs/{org}/repos
      operations:
      - name: listorganizationrepositories
        method: GET
        description: 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: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
      - name: createanorganizationrepository
        method: POST
        description: Create An Organization 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: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: orgs-org-repository-fine-grained-permissions
      path: /orgs/{org}/repository-fine-grained-permissions
      operations:
      - name: listrepositoryfinegrainedpermissionsforanorganization
        method: GET
        description: List Repository Fine-grained Permissions For An Organization
        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-actions-organization-secrets
      path: /repos/{owner}/{repo}/actions/organization-secrets
      operations:
      - name: listrepositoryorganizationsecrets
        method: GET
        description: List Repository Organization 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-actions-organization-variables
      path: /repos/{owner}/{repo}/actions/organization-variables
      operations:
      - name: listrepositoryorganizationvariables
        method: GET
        description: List Repository Organization 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
    authentication:
      type: bearer
      token: '{{env.GITHUB_API_KEY}}'
  exposes:
  - type: rest
    namespace: temp-organizations-rest
    port: 8080
    description: REST adapter for GitHub Repos API — Organizations. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/orgs/{org}/actions/permissions/repositories
      name: orgs-org-actions-permissions-repositories
      description: REST surface for orgs-org-actions-permissions-repositories.
      operations:
      - method: GET
        name: listselectedrepositoriesenabledforgithubactionsinanorganization
        description: List Selected Repositories Enabled For Github Actions In An Organization
        call: temp-organizations.listselectedrepositoriesenabledforgithubactionsinanorganization
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: setselectedrepositoriesenabledforgithubactionsinanorganization
        description: Set Selected Repositories Enabled For Github Actions In An Organization
        call: temp-organizations.setselectedrepositoriesenabledforgithubactionsinanorganization
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org}/actions/permissions/repositories/{repository-id}
      name: orgs-org-actions-permissions-repositories-repository-id
      description: REST surface for orgs-org-actions-permissions-repositories-repository_id.
      operations:
      - method: PUT
        name: enableselectedrepositoryforgithubactionsinanorganization
        description: Enable Selected Repository For Github Actions In An Organization
        call: temp-organizations.enableselectedrepositoryforgithubactionsinanorganization
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: disableselectedrepositoryforgithubactionsinanorganization
        description: Disable Selected Repository For Github Actions In An Organization
        call: temp-organizations.disableselectedrepositoryforgithubactionsinanorganization
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org}/actions/runner-groups/{runner-group-id}/repositories
      name: orgs-org-actions-runner-groups-runner-group-id-repositories
      description: REST surface for orgs-org-actions-runner-groups-runner_group_id-repositories.
      operations:
      - method: GET
        name: listrepositoryaccesstoselfhostedrunnergroupinanorganization
        description: List Repository Access To Self-hosted Runner Group In An Organization
        call: temp-organizations.listrepositoryaccesstoselfhostedrunnergroupinanorganization
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: setrepositoryaccessforselfhostedrunnergroupinanorganization
        description: Set Repository Access For Self-hosted Runner Group In An Organization
        call: temp-organizations.setrepositoryaccessforselfhostedrunnergroupinanorganization
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org}/actions/runner-groups/{runner-group-id}/repositories/{repository-id}
      name: orgs-org-actions-runner-groups-runner-group-id-repositories-repository-id
      description: REST surface for orgs-org-actions-runner-groups-runner_group_id-repositories-repository_id.
      operations:
      - method: PUT
        name: addrepositoryaccesstoselfhostedrunnergroupinanorganization
        description: Add Repository Access To Self-hosted Runner Group In An Organization
        call: temp-organizations.addrepositoryaccesstoselfhostedrunnergroupinanorganization
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: removerepositoryaccesstoselfhostedrunnergroupinanorganization
        description: Remove Repository Access To Self-hosted Runner Group In An Organization
        call: temp-organizations.removerepositoryaccesstoselfhostedrunnergroupinanorganization
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org}/actions/secrets/{secret-name}/repositories
      name: orgs-org-actions-secrets-secret-name-repositories
      description: REST surface for orgs-org-actions-secrets-secret_name-repositories.
      operations:
      - method: GET
        name: listselectedrepositoriesforanorganizationsecret
        description: List Selected Repositories For An Organization Secret
        call: temp-organizations.listselectedrepositoriesforanorganizationsecret
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: setselectedrepositoriesforanorganizationsecret
        description: Set Selected Repositories For An Organization Secret
        call: temp-organizations.setselectedrepositoriesforanorganizationsecret
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org}/actions/secrets/{secret-name}/repositories/{repository-id}
      name: orgs-org-actions-secrets-secret-name-repositories-repository-id
      description: REST surface for orgs-org-actions-secrets-secret_name-repositories-repository_id.
      operations:
      - method: PUT
        name: addselectedrepositorytoanorganizationsecret
        description: Add Selected Repository To An Organization Secret
        call: temp-organizations.addselectedrepositorytoanorganizationsecret
        with:
          repository_id: rest.repository_id
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: removeselectedrepositoryfromanorganizationsecret
        description: Remove Selected Repository From An Organization Secret
        call: temp-organizations.removeselectedrepositoryfromanorganizationsecret
        with:
          repository_id: rest.repository_id
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org}/actions/variables/{name}/repositories
      name: orgs-org-actions-variables-name-repositories
      description: REST surface for orgs-org-actions-variables-name-repositories.
      operations:
      - method: GET
        name: listselectedrepositoriesforanorganizationvariable
        description: List Selected Repositories For An Organization Variable
        call: temp-organizations.listselectedrepositoriesforanorganizationvariable
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: setselectedrepositoriesforanorganizationvariable
        description: Set Selected Repositories For An Organization Variable
        call: temp-organizations.setselectedrepositoriesforanorganizationvariable
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org}/actions/variables/{name}/repositories/{repository-id}
      name: orgs-org-actions-variables-name-repositories-repository-id
      description: REST surface for orgs-org-actions-variables-name-repositories-repository_id.
      operations:
      - method: PUT
        name: addselectedrepositorytoanorganizationvariable
        description: Add Selected Repository To An Organization Variable
        call: temp-organizations.addselectedrepositorytoanorganizationvariable
        with:
          repository_id: rest.repository_id
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: removeselectedrepositoryfromanorganizationvariable
        description: Remove Selected Repository From An Organization Variable
        call: temp-organizations.removeselectedrepositoryfromanorganizationvariable
        with:
          repository_id: rest.repository_id
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org}/dependabot/secrets/{secret-name}/repositories
      name: orgs-org-dependabot-secrets-secret-name-repositories
      description: REST surface for orgs-org-dependabot-secrets-secret_name-repositories.
      operations:
      - method: GET
        name: listselectedrepositoriesforanorganizationsecret
        description: List Selected Repositories For An Organization Secret
        call: temp-organizations.listselectedrepositoriesforanorganizationsecret
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: setselectedrepositoriesforanorganizationsecret
        description: Set Selected Repositories For An Organization Secret
        call: temp-organizations.setselectedrepositoriesforanorganizationsecret
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org}/dependabot/secrets/{secret-name}/repositories/{repository-id}
      name: orgs-org-dependabot-secrets-secret-name-repositories-repository-id
      description: REST surface for orgs-org-dependabot-secrets-secret_name-repositories-repository_id.
      operations:
      - method: PUT
        name: addselectedrepositorytoanorganizationsecret
        description: Add Selected Repository To An Organization Secret
        call: temp-organizations.addselectedrepositorytoanorganizationsecret
        with:
          repository_id: rest.repository_id
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: removeselectedrepositoryfromanorganizationsecret
        description: Remove Selected Repository From An Organization Secret
        call: temp-organizations.removeselectedrepositoryfromanorganizationsecret
        with:
          repository_id: rest.repository_id
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org}/migrations/{migration-id}/repos/{repo-name}/lock
      name: orgs-org-migrations-migration-id-repos-repo-name-lock
      description: REST surface for orgs-org-migrations-migration_id-repos-repo_name-lock.
      operations:
      - method: DELETE
        name: unlockanorganizationrepository
        description: Unlock An Organization Repository
        call: temp-organizations.unlockanorganizationrepository
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org}/migrations/{migration-id}/repositories
      name: orgs-org-migrations-migration

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