Debbie Collect · Capability

Debbie Platform API — Updates

Debbie Platform API — Updates. 2 operations. Lead operation: Create an update. Self-contained Naftiko capability covering one Debbie Collect business surface.

Run with Naftiko Debbie CollectUpdates

What You Can Do

POST
Createupdate — Create an update
/v1/updates
PATCH
Patchupdate — Update an update
/v1/updates/{updateid}

MCP Tools

create-update

Create an update

update-update

Update an update

idempotent

Capability Spec

debbie-platform-updates.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Debbie Platform API — Updates
  description: 'Debbie Platform API — Updates. 2 operations. Lead operation: Create an update. Self-contained Naftiko capability
    covering one Debbie Collect business surface.'
  tags:
  - Debbie Collect
  - Updates
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    DEBBIE_COLLECT_API_KEY: DEBBIE_COLLECT_API_KEY
capability:
  consumes:
  - type: http
    namespace: debbie-platform-updates
    baseUri: https://api.debbie.dk
    description: Debbie Platform API — Updates business capability. Self-contained, no shared references.
    resources:
    - name: updates
      path: /updates
      operations:
      - name: createupdate
        method: POST
        description: Create an update
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: updates-updateId
      path: /updates/{updateId}
      operations:
      - name: patchupdate
        method: PATCH
        description: Update an update
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: updateId
          in: path
          type: string
          required: true
    authentication:
      type: bearer
      token: '{{env.DEBBIE_COLLECT_API_KEY}}'
  exposes:
  - type: rest
    namespace: debbie-platform-updates-rest
    port: 8080
    description: REST adapter for Debbie Platform API — Updates. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/updates
      name: updates
      description: REST surface for updates.
      operations:
      - method: POST
        name: createupdate
        description: Create an update
        call: debbie-platform-updates.createupdate
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/updates/{updateid}
      name: updates-updateid
      description: REST surface for updates-updateId.
      operations:
      - method: PATCH
        name: patchupdate
        description: Update an update
        call: debbie-platform-updates.patchupdate
        with:
          updateId: rest.updateId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: debbie-platform-updates-mcp
    port: 9090
    transport: http
    description: MCP adapter for Debbie Platform API — Updates. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: create-update
      description: Create an update
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: debbie-platform-updates.createupdate
      outputParameters:
      - type: object
        mapping: $.
    - name: update-update
      description: Update an update
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: debbie-platform-updates.patchupdate
      with:
        updateId: tools.updateId
      outputParameters:
      - type: object
        mapping: $.