naftiko: 1.0.0-alpha2 info: label: GitHub Org API — Sets description: 'GitHub Org API — Sets. 14 operations. Lead operation: GitHub Set the Customization Template for an Oidc Subject Claim for an Organization. Self-contained Naftiko capability covering one Github business surface.' tags: - Github - Sets created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GITHUB_API_KEY: GITHUB_API_KEY capability: consumes: - type: http namespace: organizations-sets baseUri: '' description: GitHub Org API — Sets business capability. Self-contained, no shared references. resources: - name: orgs-org-actions-oidc-customization-sub path: /orgs/{org}/actions/oidc/customization/sub operations: - name: setthecustomizationtemplateforanoidcsubjectclaimforanorganization method: PUT description: GitHub Set the Customization Template for an Oidc Subject Claim for an Organization outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: orgs-org-actions-permissions path: /orgs/{org}/actions/permissions operations: - name: setgithubactionspermissionsforanorganization method: PUT description: GitHub Set Github Actions Permissions for an Organization outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: orgs-org-actions-permissions-repositories path: /orgs/{org}/actions/permissions/repositories operations: - name: setselectedrepositoriesenabledforgithubactionsinanorganization method: PUT description: GitHub Set Selected Repositories Enabled for Github Actions in an Organization outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: orgs-org-actions-permissions-selected-actions path: /orgs/{org}/actions/permissions/selected-actions operations: - name: setallowedactionsforanorganization method: PUT description: GitHub Set Allowed Actions for an Organization outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: orgs-org-actions-permissions-workflow path: /orgs/{org}/actions/permissions/workflow operations: - name: setdefaultworkflowpermissionsforanorganization method: PUT description: GitHub Set Default Workflow Permissions for an Organization outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: orgs-org-actions-runner-groups-runner_group_id-repositories path: /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories operations: - name: setrepositoryaccessforselfhostedrunnergroupinanorganization method: PUT description: GitHub Set Repository Access for Self-hosted Runner Group in an Organization outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: orgs-org-actions-runner-groups-runner_group_id-runners path: /orgs/{org}/actions/runner-groups/{runner_group_id}/runners operations: - name: setselfhostedrunnersingroupforanorganization method: PUT description: GitHub Set Self-hosted Runners in Group for an Organization outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: orgs-org-actions-runners-runner_id-labels path: /orgs/{org}/actions/runners/{runner_id}/labels operations: - name: setcustomlabelsforselfhostedrunnerforanorganization method: PUT description: GitHub Set Custom Labels for Self-hosted Runner for an Organization outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: orgs-org-actions-secrets-secret_name-repositories path: /orgs/{org}/actions/secrets/{secret_name}/repositories operations: - name: setselectedrepositoriesforanorganizationsecret method: PUT description: GitHub Set Selected Repositories for an Organization Secret outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: orgs-org-actions-variables-name-repositories path: /orgs/{org}/actions/variables/{name}/repositories operations: - name: setselectedrepositoriesforanorganizationvariable method: PUT description: GitHub Set Selected Repositories for an Organization Variable outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: orgs-org-announcement path: /orgs/{org}/announcement operations: - name: setannouncementbannerfororganization method: PATCH description: GitHub Set Announcement Banner for Organization outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: orgs-org-dependabot-secrets-secret_name-repositories path: /orgs/{org}/dependabot/secrets/{secret_name}/repositories operations: - name: setselectedrepositoriesforanorganizationsecret method: PUT description: GitHub Set Selected Repositories for an Organization Secret outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: orgs-org-memberships-username path: /orgs/{org}/memberships/{username} operations: - name: setorganizationmembershipforuser method: PUT description: GitHub Set Organization Membership for User outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: orgs-org-public_members-username path: /orgs/{org}/public_members/{username} operations: - name: setpublicorganizationmembershipfortheauthenticateduser method: PUT description: GitHub Set Public Organization Membership for the Authenticated User outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.GITHUB_API_KEY}}' exposes: - type: rest namespace: organizations-sets-rest port: 8080 description: REST adapter for GitHub Org API — Sets. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/orgs/{org}/actions/oidc/customization/sub name: orgs-org-actions-oidc-customization-sub description: REST surface for orgs-org-actions-oidc-customization-sub. operations: - method: PUT name: setthecustomizationtemplateforanoidcsubjectclaimforanorganization description: GitHub Set the Customization Template for an Oidc Subject Claim for an Organization call: organizations-sets.setthecustomizationtemplateforanoidcsubjectclaimforanorganization with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/orgs/{org}/actions/permissions name: orgs-org-actions-permissions description: REST surface for orgs-org-actions-permissions. operations: - method: PUT name: setgithubactionspermissionsforanorganization description: GitHub Set Github Actions Permissions for an Organization call: organizations-sets.setgithubactionspermissionsforanorganization with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/orgs/{org}/actions/permissions/repositories name: orgs-org-actions-permissions-repositories description: REST surface for orgs-org-actions-permissions-repositories. operations: - method: PUT name: setselectedrepositoriesenabledforgithubactionsinanorganization description: GitHub Set Selected Repositories Enabled for Github Actions in an Organization call: organizations-sets.setselectedrepositoriesenabledforgithubactionsinanorganization with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/orgs/{org}/actions/permissions/selected-actions name: orgs-org-actions-permissions-selected-actions description: REST surface for orgs-org-actions-permissions-selected-actions. operations: - method: PUT name: setallowedactionsforanorganization description: GitHub Set Allowed Actions for an Organization call: organizations-sets.setallowedactionsforanorganization with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/orgs/{org}/actions/permissions/workflow name: orgs-org-actions-permissions-workflow description: REST surface for orgs-org-actions-permissions-workflow. operations: - method: PUT name: setdefaultworkflowpermissionsforanorganization description: GitHub Set Default Workflow Permissions for an Organization call: organizations-sets.setdefaultworkflowpermissionsforanorganization with: body: rest.body 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: PUT name: setrepositoryaccessforselfhostedrunnergroupinanorganization description: GitHub Set Repository Access for Self-hosted Runner Group in an Organization call: organizations-sets.setrepositoryaccessforselfhostedrunnergroupinanorganization with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/orgs/{org}/actions/runner-groups/{runner-group-id}/runners name: orgs-org-actions-runner-groups-runner-group-id-runners description: REST surface for orgs-org-actions-runner-groups-runner_group_id-runners. operations: - method: PUT name: setselfhostedrunnersingroupforanorganization description: GitHub Set Self-hosted Runners in Group for an Organization call: organizations-sets.setselfhostedrunnersingroupforanorganization with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/orgs/{org}/actions/runners/{runner-id}/labels name: orgs-org-actions-runners-runner-id-labels description: REST surface for orgs-org-actions-runners-runner_id-labels. operations: - method: PUT name: setcustomlabelsforselfhostedrunnerforanorganization description: GitHub Set Custom Labels for Self-hosted Runner for an Organization call: organizations-sets.setcustomlabelsforselfhostedrunnerforanorganization with: body: rest.body 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: PUT name: setselectedrepositoriesforanorganizationsecret description: GitHub Set Selected Repositories for an Organization Secret call: organizations-sets.setselectedrepositoriesforanorganizationsecret with: body: rest.body 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: PUT name: setselectedrepositoriesforanorganizationvariable description: GitHub Set Selected Repositories for an Organization Variable call: organizations-sets.setselectedrepositoriesforanorganizationvariable with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/orgs/{org}/announcement name: orgs-org-announcement description: REST surface for orgs-org-announcement. operations: - method: PATCH name: setannouncementbannerfororganization description: GitHub Set Announcement Banner for Organization call: organizations-sets.setannouncementbannerfororganization with: body: rest.body 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: PUT name: setselectedrepositoriesforanorganizationsecret description: GitHub Set Selected Repositories for an Organization Secret call: organizations-sets.setselectedrepositoriesforanorganizationsecret with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/orgs/{org}/memberships/{username} name: orgs-org-memberships-username description: REST surface for orgs-org-memberships-username. operations: - method: PUT name: setorganizationmembershipforuser description: GitHub Set Organization Membership for User call: organizations-sets.setorganizationmembershipforuser with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/orgs/{org}/public-members/{username} name: orgs-org-public-members-username description: REST surface for orgs-org-public_members-username. operations: - method: PUT name: setpublicorganizationmembershipfortheauthenticateduser description: GitHub Set Public Organization Membership for the Authenticated User call: organizations-sets.setpublicorganizationmembershipfortheauthenticateduser outputParameters: - type: object mapping: $. - type: mcp namespace: organizations-sets-mcp port: 9090 transport: http description: MCP adapter for GitHub Org API — Sets. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: github-set-customization-template-oidc description: GitHub Set the Customization Template for an Oidc Subject Claim for an Organization hints: readOnly: false destructive: false idempotent: true call: organizations-sets.setthecustomizationtemplateforanoidcsubjectclaimforanorganization with: body: tools.body outputParameters: - type: object mapping: $. - name: github-set-github-actions-permissions description: GitHub Set Github Actions Permissions for an Organization hints: readOnly: false destructive: false idempotent: true call: organizations-sets.setgithubactionspermissionsforanorganization with: body: tools.body outputParameters: - type: object mapping: $. - name: github-set-selected-repositories-enabled description: GitHub Set Selected Repositories Enabled for Github Actions in an Organization hints: readOnly: false destructive: false idempotent: true call: organizations-sets.setselectedrepositoriesenabledforgithubactionsinanorganization with: body: tools.body outputParameters: - type: object mapping: $. - name: github-set-allowed-actions-organization description: GitHub Set Allowed Actions for an Organization hints: readOnly: false destructive: false idempotent: true call: organizations-sets.setallowedactionsforanorganization with: body: tools.body outputParameters: - type: object mapping: $. - name: github-set-default-workflow-permissions description: GitHub Set Default Workflow Permissions for an Organization hints: readOnly: false destructive: false idempotent: true call: organizations-sets.setdefaultworkflowpermissionsforanorganization with: body: tools.body outputParameters: - type: object mapping: $. - name: github-set-repository-access-self description: GitHub Set Repository Access for Self-hosted Runner Group in an Organization hints: readOnly: false destructive: false idempotent: true call: organizations-sets.setrepositoryaccessforselfhostedrunnergroupinanorganization with: body: tools.body outputParameters: - type: object mapping: $. - name: github-set-self-hosted-runners description: GitHub Set Self-hosted Runners in Group for an Organization hints: readOnly: false destructive: false idempotent: true call: organizations-sets.setselfhostedrunnersingroupforanorganization with: body: tools.body outputParameters: - type: object mapping: $. - name: github-set-custom-labels-self description: GitHub Set Custom Labels for Self-hosted Runner for an Organization hints: readOnly: false destructive: false idempotent: true call: organizations-sets.setcustomlabelsforselfhostedrunnerforanorganization with: body: tools.body outputParameters: - type: object mapping: $. - name: github-set-selected-repositories-organization description: GitHub Set Selected Repositories for an Organization Secret hints: readOnly: false destructive: false idempotent: true call: organizations-sets.setselectedrepositoriesforanorganizationsecret with: body: tools.body outputParameters: - type: object mapping: $. - name: github-set-selected-repositories-organization-2 description: GitHub Set Selected Repositories for an Organization Variable hints: readOnly: false destructive: false idempotent: true call: organizations-sets.setselectedrepositoriesforanorganizationvariable with: body: tools.body outputParameters: - type: object mapping: $. - name: github-set-announcement-banner-organization description: GitHub Set Announcement Banner for Organization hints: readOnly: false destructive: false idempotent: true call: organizations-sets.setannouncementbannerfororganization with: body: tools.body outputParameters: - type: object mapping: $. - name: github-set-selected-repositories-organization-3 description: GitHub Set Selected Repositories for an Organization Secret hints: readOnly: false destructive: false idempotent: true call: organizations-sets.setselectedrepositoriesforanorganizationsecret with: body: tools.body outputParameters: - type: object mapping: $. - name: github-set-organization-membership-user description: GitHub Set Organization Membership for User hints: readOnly: false destructive: false idempotent: true call: organizations-sets.setorganizationmembershipforuser with: body: tools.body outputParameters: - type: object mapping: $. - name: github-set-public-organization-membership description: GitHub Set Public Organization Membership for the Authenticated User hints: readOnly: false destructive: false idempotent: true call: organizations-sets.setpublicorganizationmembershipfortheauthenticateduser outputParameters: - type: object mapping: $.