Dead Drop · Capability

dead-drop API v1 — History

dead-drop API v1 — History. 2 operations. Lead operation: List Drop History. Self-contained Naftiko capability covering one Dead Drop business surface.

Run with Naftiko Dead DropHistory

What You Can Do

GET
Get — List Drop History
/v1/drops/{id}/history
GET
Get — Get Specific Drop Version
/v1/drops/{id}/history/{version}

MCP Tools

list-drop-history

List Drop History

read-only idempotent
get-specific-drop-version

Get Specific Drop Version

read-only idempotent

Capability Spec

dead-drop-history.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: dead-drop API v1 — History
  description: 'dead-drop API v1 — History. 2 operations. Lead operation: List Drop History. Self-contained Naftiko capability
    covering one Dead Drop business surface.'
  tags:
  - Dead Drop
  - History
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    DEAD_DROP_API_KEY: DEAD_DROP_API_KEY
capability:
  consumes:
  - type: http
    namespace: dead-drop-history
    baseUri: ''
    description: dead-drop API v1 — History business capability. Self-contained, no shared references.
    resources:
    - name: drops-id-history
      path: /drops/{id}/history
      operations:
      - name: get
        method: GET
        description: List Drop History
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: SHA-256 hash of the drop name
          required: true
        - name: I_agree_with_terms_and_conditions
          in: query
          type: boolean
          description: Must be true to confirm agreement to terms and conditions
          required: true
    - name: drops-id-history-version
      path: /drops/{id}/history/{version}
      operations:
      - name: get
        method: GET
        description: Get Specific Drop Version
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: SHA-256 hash of the drop name
          required: true
        - name: version
          in: path
          type: integer
          description: Version number
          required: true
        - name: I_agree_with_terms_and_conditions
          in: query
          type: boolean
          description: Must be true to confirm agreement to terms and conditions
          required: true
  exposes:
  - type: rest
    namespace: dead-drop-history-rest
    port: 8080
    description: REST adapter for dead-drop API v1 — History. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/drops/{id}/history
      name: drops-id-history
      description: REST surface for drops-id-history.
      operations:
      - method: GET
        name: get
        description: List Drop History
        call: dead-drop-history.get
        with:
          id: rest.id
          I_agree_with_terms_and_conditions: rest.I_agree_with_terms_and_conditions
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/drops/{id}/history/{version}
      name: drops-id-history-version
      description: REST surface for drops-id-history-version.
      operations:
      - method: GET
        name: get
        description: Get Specific Drop Version
        call: dead-drop-history.get
        with:
          id: rest.id
          version: rest.version
          I_agree_with_terms_and_conditions: rest.I_agree_with_terms_and_conditions
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: dead-drop-history-mcp
    port: 9090
    transport: http
    description: MCP adapter for dead-drop API v1 — History. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: list-drop-history
      description: List Drop History
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: dead-drop-history.get
      with:
        id: tools.id
        I_agree_with_terms_and_conditions: tools.I_agree_with_terms_and_conditions
      outputParameters:
      - type: object
        mapping: $.
    - name: get-specific-drop-version
      description: Get Specific Drop Version
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: dead-drop-history.get
      with:
        id: tools.id
        version: tools.version
        I_agree_with_terms_and_conditions: tools.I_agree_with_terms_and_conditions
      outputParameters:
      - type: object
        mapping: $.