naftiko: 1.0.0-alpha2 info: label: Autodesk Webhooks API — Hooks description: 'Autodesk Webhooks API — Hooks. 6 operations. Lead operation: Autodesk List All Hooks. Self-contained Naftiko capability covering one Autodesk business surface.' tags: - Autodesk - Hooks created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: AUTODESK_API_KEY: AUTODESK_API_KEY capability: consumes: - type: http namespace: webhooks-hooks baseUri: https://developer.api.autodesk.com description: Autodesk Webhooks API — Hooks business capability. Self-contained, no shared references. resources: - name: webhooks-v1-hooks path: /webhooks/v1/hooks operations: - name: getallhooks method: GET description: Autodesk List All Hooks outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: pageState in: query type: string - name: status in: query type: string - name: webhooks-v1-systems-system-events-event-hooks path: /webhooks/v1/systems/{system}/events/{event}/hooks operations: - name: gethooks method: GET description: Autodesk List Hooks for Event outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: system in: path type: string required: true - name: event in: path type: string description: The event type (e.g., dm.version.added, dm.version.deleted, extraction.finished). required: true - name: pageState in: query type: string description: Pagination state token. - name: status in: query type: string description: Filter by hook status. - name: createhook method: POST description: Autodesk Create Hook outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: system in: path type: string required: true - name: event in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: webhooks-v1-systems-system-events-event-hooks-hook_id path: /webhooks/v1/systems/{system}/events/{event}/hooks/{hook_id} operations: - name: gethook method: GET description: Autodesk Get Hook outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: system in: path type: string required: true - name: event in: path type: string required: true - name: hook_id in: path type: string description: The unique hook identifier. required: true - name: updatehook method: PATCH description: Autodesk Update Hook outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: system in: path type: string required: true - name: event in: path type: string required: true - name: hook_id in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: deletehook method: DELETE description: Autodesk Delete Hook outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: system in: path type: string required: true - name: event in: path type: string required: true - name: hook_id in: path type: string required: true authentication: type: bearer token: '{{env.AUTODESK_API_KEY}}' exposes: - type: rest namespace: webhooks-hooks-rest port: 8080 description: REST adapter for Autodesk Webhooks API — Hooks. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/webhooks/v1/hooks name: webhooks-v1-hooks description: REST surface for webhooks-v1-hooks. operations: - method: GET name: getallhooks description: Autodesk List All Hooks call: webhooks-hooks.getallhooks with: pageState: rest.pageState status: rest.status outputParameters: - type: object mapping: $. - path: /v1/webhooks/v1/systems/{system}/events/{event}/hooks name: webhooks-v1-systems-system-events-event-hooks description: REST surface for webhooks-v1-systems-system-events-event-hooks. operations: - method: GET name: gethooks description: Autodesk List Hooks for Event call: webhooks-hooks.gethooks with: system: rest.system event: rest.event pageState: rest.pageState status: rest.status outputParameters: - type: object mapping: $. - method: POST name: createhook description: Autodesk Create Hook call: webhooks-hooks.createhook with: system: rest.system event: rest.event body: rest.body outputParameters: - type: object mapping: $. - path: /v1/webhooks/v1/systems/{system}/events/{event}/hooks/{hook-id} name: webhooks-v1-systems-system-events-event-hooks-hook-id description: REST surface for webhooks-v1-systems-system-events-event-hooks-hook_id. operations: - method: GET name: gethook description: Autodesk Get Hook call: webhooks-hooks.gethook with: system: rest.system event: rest.event hook_id: rest.hook_id outputParameters: - type: object mapping: $. - method: PATCH name: updatehook description: Autodesk Update Hook call: webhooks-hooks.updatehook with: system: rest.system event: rest.event hook_id: rest.hook_id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletehook description: Autodesk Delete Hook call: webhooks-hooks.deletehook with: system: rest.system event: rest.event hook_id: rest.hook_id outputParameters: - type: object mapping: $. - type: mcp namespace: webhooks-hooks-mcp port: 9090 transport: http description: MCP adapter for Autodesk Webhooks API — Hooks. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: autodesk-list-all-hooks description: Autodesk List All Hooks hints: readOnly: true destructive: false idempotent: true call: webhooks-hooks.getallhooks with: pageState: tools.pageState status: tools.status outputParameters: - type: object mapping: $. - name: autodesk-list-hooks-event description: Autodesk List Hooks for Event hints: readOnly: true destructive: false idempotent: true call: webhooks-hooks.gethooks with: system: tools.system event: tools.event pageState: tools.pageState status: tools.status outputParameters: - type: object mapping: $. - name: autodesk-create-hook description: Autodesk Create Hook hints: readOnly: false destructive: false idempotent: false call: webhooks-hooks.createhook with: system: tools.system event: tools.event body: tools.body outputParameters: - type: object mapping: $. - name: autodesk-get-hook description: Autodesk Get Hook hints: readOnly: true destructive: false idempotent: true call: webhooks-hooks.gethook with: system: tools.system event: tools.event hook_id: tools.hook_id outputParameters: - type: object mapping: $. - name: autodesk-update-hook description: Autodesk Update Hook hints: readOnly: false destructive: false idempotent: true call: webhooks-hooks.updatehook with: system: tools.system event: tools.event hook_id: tools.hook_id body: tools.body outputParameters: - type: object mapping: $. - name: autodesk-delete-hook description: Autodesk Delete Hook hints: readOnly: false destructive: true idempotent: true call: webhooks-hooks.deletehook with: system: tools.system event: tools.event hook_id: tools.hook_id outputParameters: - type: object mapping: $.