GitHub · Capability

GitHub Org API — Subject

GitHub Org API — Subject. 2 operations. Lead operation: GitHub Get the Customization Template for an Oidc Subject Claim for an Organization. Self-contained Naftiko capability covering one Github business surface.

Run with Naftiko GithubSubject

What You Can Do

GET
Getthecustomizationtemplateforanoidcsubjectclaimforanorganization — GitHub Get the Customization Template for an Oidc Subject Claim for an Organization
/v1/orgs/{org}/actions/oidc/customization/sub
PUT
Setthecustomizationtemplateforanoidcsubjectclaimforanorganization — GitHub Set the Customization Template for an Oidc Subject Claim for an Organization
/v1/orgs/{org}/actions/oidc/customization/sub

MCP Tools

github-get-customization-template-oidc

GitHub Get the Customization Template for an Oidc Subject Claim for an Organization

read-only idempotent
github-set-customization-template-oidc

GitHub Set the Customization Template for an Oidc Subject Claim for an Organization

idempotent

Capability Spec

organizations-subject.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: GitHub Org API — Subject
  description: 'GitHub Org API — Subject. 2 operations. Lead operation: GitHub Get the Customization Template for an Oidc
    Subject Claim for an Organization. Self-contained Naftiko capability covering one Github business surface.'
  tags:
  - Github
  - Subject
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GITHUB_API_KEY: GITHUB_API_KEY
capability:
  consumes:
  - type: http
    namespace: organizations-subject
    baseUri: ''
    description: GitHub Org API — Subject business capability. Self-contained, no shared references.
    resources:
    - name: orgs-org-actions-oidc-customization-sub
      path: /orgs/{org}/actions/oidc/customization/sub
      operations:
      - name: getthecustomizationtemplateforanoidcsubjectclaimforanorganization
        method: GET
        description: GitHub Get the Customization Template for an Oidc Subject Claim for an Organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - 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
    authentication:
      type: bearer
      token: '{{env.GITHUB_API_KEY}}'
  exposes:
  - type: rest
    namespace: organizations-subject-rest
    port: 8080
    description: REST adapter for GitHub Org API — Subject. 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: GET
        name: getthecustomizationtemplateforanoidcsubjectclaimforanorganization
        description: GitHub Get the Customization Template for an Oidc Subject Claim for an Organization
        call: organizations-subject.getthecustomizationtemplateforanoidcsubjectclaimforanorganization
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: setthecustomizationtemplateforanoidcsubjectclaimforanorganization
        description: GitHub Set the Customization Template for an Oidc Subject Claim for an Organization
        call: organizations-subject.setthecustomizationtemplateforanoidcsubjectclaimforanorganization
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: organizations-subject-mcp
    port: 9090
    transport: http
    description: MCP adapter for GitHub Org API — Subject. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: github-get-customization-template-oidc
      description: GitHub Get the Customization Template for an Oidc Subject Claim for an Organization
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: organizations-subject.getthecustomizationtemplateforanoidcsubjectclaimforanorganization
      outputParameters:
      - type: object
        mapping: $.
    - 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-subject.setthecustomizationtemplateforanoidcsubjectclaimforanorganization
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.