Apigee · Capability

Apigee Registry API — Instances

Apigee Registry API — Instances. 3 operations. Lead operation: Apigee Create a Registry Instance. Self-contained Naftiko capability covering one Apigee business surface.

Run with Naftiko ApigeeInstances

What You Can Do

POST
Createinstance — Apigee Create a Registry Instance
/v1/projects/{projectid}/locations/{locationid}/instances
GET
Getinstance — Apigee Get a Registry Instance
/v1/projects/{projectid}/locations/{locationid}/instances/{instanceid}
DELETE
Deleteinstance — Apigee Delete a Registry Instance
/v1/projects/{projectid}/locations/{locationid}/instances/{instanceid}

MCP Tools

apigee-create-registry-instance

Apigee Create a Registry Instance

apigee-get-registry-instance

Apigee Get a Registry Instance

read-only idempotent
apigee-delete-registry-instance

Apigee Delete a Registry Instance

idempotent

Capability Spec

registry-instances.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Apigee Registry API — Instances
  description: 'Apigee Registry API — Instances. 3 operations. Lead operation: Apigee Create a Registry Instance. Self-contained
    Naftiko capability covering one Apigee business surface.'
  tags:
  - Apigee
  - Instances
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    APIGEE_API_KEY: APIGEE_API_KEY
capability:
  consumes:
  - type: http
    namespace: registry-instances
    baseUri: https://apigeeregistry.googleapis.com/v1
    description: Apigee Registry API — Instances business capability. Self-contained, no shared references.
    resources:
    - name: projects-projectId-locations-locationId-instances
      path: /projects/{projectId}/locations/{locationId}/instances
      operations:
      - name: createinstance
        method: POST
        description: Apigee Create a Registry Instance
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: instanceId
          in: query
          type: string
          description: Required. The ID to use for the instance.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: projects-projectId-locations-locationId-instances-instanceId
      path: /projects/{projectId}/locations/{locationId}/instances/{instanceId}
      operations:
      - name: getinstance
        method: GET
        description: Apigee Get a Registry Instance
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: instanceId
          in: path
          type: string
          description: ID of the instance.
          required: true
      - name: deleteinstance
        method: DELETE
        description: Apigee Delete a Registry Instance
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: instanceId
          in: path
          type: string
          description: ID of the instance.
          required: true
    authentication:
      type: bearer
      token: '{{env.APIGEE_API_KEY}}'
  exposes:
  - type: rest
    namespace: registry-instances-rest
    port: 8080
    description: REST adapter for Apigee Registry API — Instances. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/projects/{projectid}/locations/{locationid}/instances
      name: projects-projectid-locations-locationid-instances
      description: REST surface for projects-projectId-locations-locationId-instances.
      operations:
      - method: POST
        name: createinstance
        description: Apigee Create a Registry Instance
        call: registry-instances.createinstance
        with:
          instanceId: rest.instanceId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/projects/{projectid}/locations/{locationid}/instances/{instanceid}
      name: projects-projectid-locations-locationid-instances-instanceid
      description: REST surface for projects-projectId-locations-locationId-instances-instanceId.
      operations:
      - method: GET
        name: getinstance
        description: Apigee Get a Registry Instance
        call: registry-instances.getinstance
        with:
          instanceId: rest.instanceId
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteinstance
        description: Apigee Delete a Registry Instance
        call: registry-instances.deleteinstance
        with:
          instanceId: rest.instanceId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: registry-instances-mcp
    port: 9090
    transport: http
    description: MCP adapter for Apigee Registry API — Instances. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: apigee-create-registry-instance
      description: Apigee Create a Registry Instance
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: registry-instances.createinstance
      with:
        instanceId: tools.instanceId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apigee-get-registry-instance
      description: Apigee Get a Registry Instance
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: registry-instances.getinstance
      with:
        instanceId: tools.instanceId
      outputParameters:
      - type: object
        mapping: $.
    - name: apigee-delete-registry-instance
      description: Apigee Delete a Registry Instance
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: registry-instances.deleteinstance
      with:
        instanceId: tools.instanceId
      outputParameters:
      - type: object
        mapping: $.