Apigee · Capability

Apigee API Hub API — Dependencies

Apigee API Hub API — Dependencies. 5 operations. Lead operation: Apigee List Dependencies. Self-contained Naftiko capability covering one Apigee business surface.

Run with Naftiko ApigeeDependencies

What You Can Do

GET
Listdependencies — Apigee List Dependencies
/v1/projects/{projectid}/locations/{locationid}/dependencies
POST
Createdependency — Apigee Create a Dependency
/v1/projects/{projectid}/locations/{locationid}/dependencies
GET
Getdependency — Apigee Get a Dependency
/v1/projects/{projectid}/locations/{locationid}/dependencies/{dependencyid}
PATCH
Updatedependency — Apigee Update a Dependency
/v1/projects/{projectid}/locations/{locationid}/dependencies/{dependencyid}
DELETE
Deletedependency — Apigee Delete a Dependency
/v1/projects/{projectid}/locations/{locationid}/dependencies/{dependencyid}

MCP Tools

apigee-list-dependencies

Apigee List Dependencies

read-only idempotent
apigee-create-dependency

Apigee Create a Dependency

apigee-get-dependency

Apigee Get a Dependency

read-only idempotent
apigee-update-dependency

Apigee Update a Dependency

idempotent
apigee-delete-dependency

Apigee Delete a Dependency

idempotent

Capability Spec

api-hub-dependencies.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Apigee API Hub API — Dependencies
  description: 'Apigee API Hub API — Dependencies. 5 operations. Lead operation: Apigee List Dependencies. Self-contained
    Naftiko capability covering one Apigee business surface.'
  tags:
  - Apigee
  - Dependencies
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    APIGEE_API_KEY: APIGEE_API_KEY
capability:
  consumes:
  - type: http
    namespace: api-hub-dependencies
    baseUri: https://apihub.googleapis.com/v1
    description: Apigee API Hub API — Dependencies business capability. Self-contained, no shared references.
    resources:
    - name: projects-projectId-locations-locationId-dependencies
      path: /projects/{projectId}/locations/{locationId}/dependencies
      operations:
      - name: listdependencies
        method: GET
        description: Apigee List Dependencies
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: filter
          in: query
          type: string
          description: Filter expression to narrow the results.
      - name: createdependency
        method: POST
        description: Apigee Create a Dependency
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: dependencyId
          in: query
          type: string
          description: Required. The ID to use for the dependency resource.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: projects-projectId-locations-locationId-dependencies-dependencyId
      path: /projects/{projectId}/locations/{locationId}/dependencies/{dependencyId}
      operations:
      - name: getdependency
        method: GET
        description: Apigee Get a Dependency
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: dependencyId
          in: path
          type: string
          description: ID of the dependency resource.
          required: true
      - name: updatedependency
        method: PATCH
        description: Apigee Update a Dependency
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: dependencyId
          in: path
          type: string
          description: ID of the dependency resource.
          required: true
        - name: updateMask
          in: query
          type: string
          description: Required. Comma-separated list of fields to update.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletedependency
        method: DELETE
        description: Apigee Delete a Dependency
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: dependencyId
          in: path
          type: string
          description: ID of the dependency resource.
          required: true
    authentication:
      type: bearer
      token: '{{env.APIGEE_API_KEY}}'
  exposes:
  - type: rest
    namespace: api-hub-dependencies-rest
    port: 8080
    description: REST adapter for Apigee API Hub API — Dependencies. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/projects/{projectid}/locations/{locationid}/dependencies
      name: projects-projectid-locations-locationid-dependencies
      description: REST surface for projects-projectId-locations-locationId-dependencies.
      operations:
      - method: GET
        name: listdependencies
        description: Apigee List Dependencies
        call: api-hub-dependencies.listdependencies
        with:
          filter: rest.filter
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createdependency
        description: Apigee Create a Dependency
        call: api-hub-dependencies.createdependency
        with:
          dependencyId: rest.dependencyId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/projects/{projectid}/locations/{locationid}/dependencies/{dependencyid}
      name: projects-projectid-locations-locationid-dependencies-dependencyid
      description: REST surface for projects-projectId-locations-locationId-dependencies-dependencyId.
      operations:
      - method: GET
        name: getdependency
        description: Apigee Get a Dependency
        call: api-hub-dependencies.getdependency
        with:
          dependencyId: rest.dependencyId
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: updatedependency
        description: Apigee Update a Dependency
        call: api-hub-dependencies.updatedependency
        with:
          dependencyId: rest.dependencyId
          updateMask: rest.updateMask
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletedependency
        description: Apigee Delete a Dependency
        call: api-hub-dependencies.deletedependency
        with:
          dependencyId: rest.dependencyId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: api-hub-dependencies-mcp
    port: 9090
    transport: http
    description: MCP adapter for Apigee API Hub API — Dependencies. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: apigee-list-dependencies
      description: Apigee List Dependencies
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: api-hub-dependencies.listdependencies
      with:
        filter: tools.filter
      outputParameters:
      - type: object
        mapping: $.
    - name: apigee-create-dependency
      description: Apigee Create a Dependency
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: api-hub-dependencies.createdependency
      with:
        dependencyId: tools.dependencyId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apigee-get-dependency
      description: Apigee Get a Dependency
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: api-hub-dependencies.getdependency
      with:
        dependencyId: tools.dependencyId
      outputParameters:
      - type: object
        mapping: $.
    - name: apigee-update-dependency
      description: Apigee Update a Dependency
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: api-hub-dependencies.updatedependency
      with:
        dependencyId: tools.dependencyId
        updateMask: tools.updateMask
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apigee-delete-dependency
      description: Apigee Delete a Dependency
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: api-hub-dependencies.deletedependency
      with:
        dependencyId: tools.dependencyId
      outputParameters:
      - type: object
        mapping: $.