Basecamp · Capability

Basecamp API — Subscriptions

Basecamp API — Subscriptions. 4 operations. Lead operation: Get subscription. Self-contained Naftiko capability covering one Basecamp business surface.

Run with Naftiko BasecampSubscriptions

What You Can Do

GET
Getsubscription — Get subscription
/v1/recordings/{recordingid}/subscription-json
POST
Subscribetorecording — Subscribe to recording
/v1/recordings/{recordingid}/subscription-json
DELETE
Unsubscribefromrecording — Unsubscribe from recording
/v1/recordings/{recordingid}/subscription-json
PUT
Updatesubscription — Update subscription
/v1/recordings/{recordingid}/subscription-json

MCP Tools

get-subscription

Get subscription

read-only idempotent
subscribe-recording

Subscribe to recording

unsubscribe-recording

Unsubscribe from recording

idempotent
update-subscription

Update subscription

idempotent

Capability Spec

basecamp-subscriptions.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Basecamp API — Subscriptions
  description: 'Basecamp API — Subscriptions. 4 operations. Lead operation: Get subscription. Self-contained Naftiko capability
    covering one Basecamp business surface.'
  tags:
  - Basecamp
  - Subscriptions
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    BASECAMP_API_KEY: BASECAMP_API_KEY
capability:
  consumes:
  - type: http
    namespace: basecamp-subscriptions
    baseUri: https://3.basecampapi.com/{accountId}
    description: Basecamp API — Subscriptions business capability. Self-contained, no shared references.
    resources:
    - name: recordings-recordingId-subscription.json
      path: /recordings/{recordingId}/subscription.json
      operations:
      - name: getsubscription
        method: GET
        description: Get subscription
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: subscribetorecording
        method: POST
        description: Subscribe to recording
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: unsubscribefromrecording
        method: DELETE
        description: Unsubscribe from recording
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updatesubscription
        method: PUT
        description: Update subscription
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.BASECAMP_API_KEY}}'
  exposes:
  - type: rest
    namespace: basecamp-subscriptions-rest
    port: 8080
    description: REST adapter for Basecamp API — Subscriptions. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/recordings/{recordingid}/subscription-json
      name: recordings-recordingid-subscription-json
      description: REST surface for recordings-recordingId-subscription.json.
      operations:
      - method: GET
        name: getsubscription
        description: Get subscription
        call: basecamp-subscriptions.getsubscription
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: subscribetorecording
        description: Subscribe to recording
        call: basecamp-subscriptions.subscribetorecording
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: unsubscribefromrecording
        description: Unsubscribe from recording
        call: basecamp-subscriptions.unsubscribefromrecording
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatesubscription
        description: Update subscription
        call: basecamp-subscriptions.updatesubscription
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: basecamp-subscriptions-mcp
    port: 9090
    transport: http
    description: MCP adapter for Basecamp API — Subscriptions. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: get-subscription
      description: Get subscription
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: basecamp-subscriptions.getsubscription
      outputParameters:
      - type: object
        mapping: $.
    - name: subscribe-recording
      description: Subscribe to recording
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: basecamp-subscriptions.subscribetorecording
      outputParameters:
      - type: object
        mapping: $.
    - name: unsubscribe-recording
      description: Unsubscribe from recording
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: basecamp-subscriptions.unsubscribefromrecording
      outputParameters:
      - type: object
        mapping: $.
    - name: update-subscription
      description: Update subscription
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: basecamp-subscriptions.updatesubscription
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.