Stacker · Capability

Stacker API — Objects

Stacker API — Objects. 2 operations. Lead operation: List Objects. Self-contained Naftiko capability covering one Stacker business surface.

Run with Naftiko StackerObjects

What You Can Do

GET
Listobjects — List Objects
/v1/api/external/objects
GET
Listactionbuttons — List Action Buttons
/v1/api/external/objects/{object-sid}/action-buttons

MCP Tools

list-objects

List Objects

read-only idempotent
list-action-buttons

List Action Buttons

read-only idempotent

Capability Spec

stacker-objects.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Stacker API — Objects
  description: 'Stacker API — Objects. 2 operations. Lead operation: List Objects. Self-contained Naftiko capability covering
    one Stacker business surface.'
  tags:
  - Stacker
  - Objects
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    STACKER_API_KEY: STACKER_API_KEY
capability:
  consumes:
  - type: http
    namespace: stacker-objects
    baseUri: https://api.go.stackerhq.com
    description: Stacker API — Objects business capability. Self-contained, no shared references.
    resources:
    - name: api-external-objects
      path: /api/external/objects/
      operations:
      - name: listobjects
        method: GET
        description: List Objects
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: X-Account-Id
          in: header
          type: string
          description: The Stacker account ID
          required: true
        - name: X-Stack-Id
          in: header
          type: string
          description: The Stacker stack (application) ID
          required: true
    - name: api-external-objects-object_sid-action-buttons
      path: /api/external/objects/{object_sid}/action-buttons/
      operations:
      - name: listactionbuttons
        method: GET
        description: List Action Buttons
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: object_sid
          in: path
          type: string
          description: The object SID
          required: true
        - name: X-Account-Id
          in: header
          type: string
          description: The Stacker account ID
          required: true
        - name: X-Stack-Id
          in: header
          type: string
          description: The Stacker stack ID
          required: true
    authentication:
      type: apikey
      key: X-Integration-Key
      value: '{{env.STACKER_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: stacker-objects-rest
    port: 8080
    description: REST adapter for Stacker API — Objects. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/api/external/objects
      name: api-external-objects
      description: REST surface for api-external-objects.
      operations:
      - method: GET
        name: listobjects
        description: List Objects
        call: stacker-objects.listobjects
        with:
          X-Account-Id: rest.X-Account-Id
          X-Stack-Id: rest.X-Stack-Id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/external/objects/{object-sid}/action-buttons
      name: api-external-objects-object-sid-action-buttons
      description: REST surface for api-external-objects-object_sid-action-buttons.
      operations:
      - method: GET
        name: listactionbuttons
        description: List Action Buttons
        call: stacker-objects.listactionbuttons
        with:
          object_sid: rest.object_sid
          X-Account-Id: rest.X-Account-Id
          X-Stack-Id: rest.X-Stack-Id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: stacker-objects-mcp
    port: 9090
    transport: http
    description: MCP adapter for Stacker API — Objects. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: list-objects
      description: List Objects
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: stacker-objects.listobjects
      with:
        X-Account-Id: tools.X-Account-Id
        X-Stack-Id: tools.X-Stack-Id
      outputParameters:
      - type: object
        mapping: $.
    - name: list-action-buttons
      description: List Action Buttons
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: stacker-objects.listactionbuttons
      with:
        object_sid: tools.object_sid
        X-Account-Id: tools.X-Account-Id
        X-Stack-Id: tools.X-Stack-Id
      outputParameters:
      - type: object
        mapping: $.