Apollo Config · Capability

Apollo Config Open API — Items

Apollo Config Open API — Items. 5 operations. Lead operation: List configuration items. Self-contained Naftiko capability covering one Apollo Config business surface.

Run with Naftiko Apollo ConfigItems

What You Can Do

GET
Listitems — List configuration items
/v1/openapi/v1/envs/{env}/apps/{appid}/clusters/{clustername}/namespaces/{namespacename}/items
POST
Createitem — Create a configuration item
/v1/openapi/v1/envs/{env}/apps/{appid}/clusters/{clustername}/namespaces/{namespacename}/items
GET
Getitem — Get a configuration item
/v1/openapi/v1/envs/{env}/apps/{appid}/clusters/{clustername}/namespaces/{namespacename}/items/{key}
PUT
Updateitem — Update a configuration item
/v1/openapi/v1/envs/{env}/apps/{appid}/clusters/{clustername}/namespaces/{namespacename}/items/{key}
DELETE
Deleteitem — Delete a configuration item
/v1/openapi/v1/envs/{env}/apps/{appid}/clusters/{clustername}/namespaces/{namespacename}/items/{key}

MCP Tools

list-configuration-items

List configuration items

read-only idempotent
create-configuration-item

Create a configuration item

get-configuration-item

Get a configuration item

read-only idempotent
update-configuration-item

Update a configuration item

idempotent
delete-configuration-item

Delete a configuration item

idempotent

Capability Spec

apollo-open-items.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Apollo Config Open API — Items
  description: 'Apollo Config Open API — Items. 5 operations. Lead operation: List configuration items. Self-contained Naftiko
    capability covering one Apollo Config business surface.'
  tags:
  - Apollo Config
  - Items
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    APOLLO_CONFIG_API_KEY: APOLLO_CONFIG_API_KEY
capability:
  consumes:
  - type: http
    namespace: apollo-open-items
    baseUri: http://localhost:8070
    description: Apollo Config Open API — Items business capability. Self-contained, no shared references.
    resources:
    - name: openapi-v1-envs-env-apps-appId-clusters-clusterName-namespaces-namespaceName-ite
      path: /openapi/v1/envs/{env}/apps/{appId}/clusters/{clusterName}/namespaces/{namespaceName}/items
      operations:
      - name: listitems
        method: GET
        description: List configuration items
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createitem
        method: POST
        description: Create a configuration item
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: openapi-v1-envs-env-apps-appId-clusters-clusterName-namespaces-namespaceName-ite
      path: /openapi/v1/envs/{env}/apps/{appId}/clusters/{clusterName}/namespaces/{namespaceName}/items/{key}
      operations:
      - name: getitem
        method: GET
        description: Get a configuration item
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: key
          in: path
          type: string
          required: true
      - name: updateitem
        method: PUT
        description: Update a configuration item
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: key
          in: path
          type: string
          required: true
        - name: createIfNotExists
          in: query
          type: boolean
          description: Create item if it does not exist
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deleteitem
        method: DELETE
        description: Delete a configuration item
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: key
          in: path
          type: string
          required: true
        - name: operator
          in: query
          type: string
          description: Operator (user) performing the delete
          required: true
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.APOLLO_CONFIG_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: apollo-open-items-rest
    port: 8080
    description: REST adapter for Apollo Config Open API — Items. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/openapi/v1/envs/{env}/apps/{appid}/clusters/{clustername}/namespaces/{namespacename}/items
      name: openapi-v1-envs-env-apps-appid-clusters-clustername-namespaces-namespacename-ite
      description: REST surface for openapi-v1-envs-env-apps-appId-clusters-clusterName-namespaces-namespaceName-ite.
      operations:
      - method: GET
        name: listitems
        description: List configuration items
        call: apollo-open-items.listitems
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createitem
        description: Create a configuration item
        call: apollo-open-items.createitem
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/openapi/v1/envs/{env}/apps/{appid}/clusters/{clustername}/namespaces/{namespacename}/items/{key}
      name: openapi-v1-envs-env-apps-appid-clusters-clustername-namespaces-namespacename-ite
      description: REST surface for openapi-v1-envs-env-apps-appId-clusters-clusterName-namespaces-namespaceName-ite.
      operations:
      - method: GET
        name: getitem
        description: Get a configuration item
        call: apollo-open-items.getitem
        with:
          key: rest.key
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updateitem
        description: Update a configuration item
        call: apollo-open-items.updateitem
        with:
          key: rest.key
          createIfNotExists: rest.createIfNotExists
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteitem
        description: Delete a configuration item
        call: apollo-open-items.deleteitem
        with:
          key: rest.key
          operator: rest.operator
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: apollo-open-items-mcp
    port: 9090
    transport: http
    description: MCP adapter for Apollo Config Open API — Items. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: list-configuration-items
      description: List configuration items
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: apollo-open-items.listitems
      outputParameters:
      - type: object
        mapping: $.
    - name: create-configuration-item
      description: Create a configuration item
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: apollo-open-items.createitem
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-configuration-item
      description: Get a configuration item
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: apollo-open-items.getitem
      with:
        key: tools.key
      outputParameters:
      - type: object
        mapping: $.
    - name: update-configuration-item
      description: Update a configuration item
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: apollo-open-items.updateitem
      with:
        key: tools.key
        createIfNotExists: tools.createIfNotExists
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-configuration-item
      description: Delete a configuration item
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: apollo-open-items.deleteitem
      with:
        key: tools.key
        operator: tools.operator
      outputParameters:
      - type: object
        mapping: $.