naftiko: 1.0.0-alpha2 info: label: Apideck File storage API — Upload Sessions description: 'Apideck File storage API — Upload Sessions. 5 operations. Lead operation: Apideck Start Upload Session. Self-contained Naftiko capability covering one Apideck business surface.' tags: - Apideck - Upload Sessions created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: APIDECK_API_KEY: APIDECK_API_KEY capability: consumes: - type: http namespace: file-storage-upload-sessions baseUri: https://unify.apideck.com description: Apideck File storage API — Upload Sessions business capability. Self-contained, no shared references. resources: - name: file-storage-upload-sessions path: /file-storage/upload-sessions operations: - name: uploadsessionsadd method: POST description: Apideck Start Upload Session outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: file-storage-upload-sessions-id path: /file-storage/upload-sessions/{id} operations: - name: uploadsessionsone method: GET description: Apideck Get Upload Session outputRawFormat: json outputParameters: - name: result type: object value: $. - name: uploadsessionsupload method: PUT description: Apideck Upload part of File to Upload Session outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: uploadsessionsdelete method: DELETE description: Apideck Abort Upload Session outputRawFormat: json outputParameters: - name: result type: object value: $. - name: file-storage-upload-sessions-id-finish path: /file-storage/upload-sessions/{id}/finish operations: - name: uploadsessionsfinish method: POST description: Apideck Finish Upload Session outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false authentication: type: apikey key: Authorization value: '{{env.APIDECK_API_KEY}}' placement: header exposes: - type: rest namespace: file-storage-upload-sessions-rest port: 8080 description: REST adapter for Apideck File storage API — Upload Sessions. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/file-storage/upload-sessions name: file-storage-upload-sessions description: REST surface for file-storage-upload-sessions. operations: - method: POST name: uploadsessionsadd description: Apideck Start Upload Session call: file-storage-upload-sessions.uploadsessionsadd with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/file-storage/upload-sessions/{id} name: file-storage-upload-sessions-id description: REST surface for file-storage-upload-sessions-id. operations: - method: GET name: uploadsessionsone description: Apideck Get Upload Session call: file-storage-upload-sessions.uploadsessionsone outputParameters: - type: object mapping: $. - method: PUT name: uploadsessionsupload description: Apideck Upload part of File to Upload Session call: file-storage-upload-sessions.uploadsessionsupload with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: uploadsessionsdelete description: Apideck Abort Upload Session call: file-storage-upload-sessions.uploadsessionsdelete outputParameters: - type: object mapping: $. - path: /v1/file-storage/upload-sessions/{id}/finish name: file-storage-upload-sessions-id-finish description: REST surface for file-storage-upload-sessions-id-finish. operations: - method: POST name: uploadsessionsfinish description: Apideck Finish Upload Session call: file-storage-upload-sessions.uploadsessionsfinish with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: file-storage-upload-sessions-mcp port: 9090 transport: http description: MCP adapter for Apideck File storage API — Upload Sessions. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: apideck-start-upload-session description: Apideck Start Upload Session hints: readOnly: false destructive: false idempotent: false call: file-storage-upload-sessions.uploadsessionsadd with: body: tools.body outputParameters: - type: object mapping: $. - name: apideck-get-upload-session description: Apideck Get Upload Session hints: readOnly: true destructive: false idempotent: true call: file-storage-upload-sessions.uploadsessionsone outputParameters: - type: object mapping: $. - name: apideck-upload-part-file-upload description: Apideck Upload part of File to Upload Session hints: readOnly: false destructive: false idempotent: true call: file-storage-upload-sessions.uploadsessionsupload with: body: tools.body outputParameters: - type: object mapping: $. - name: apideck-abort-upload-session description: Apideck Abort Upload Session hints: readOnly: false destructive: true idempotent: true call: file-storage-upload-sessions.uploadsessionsdelete outputParameters: - type: object mapping: $. - name: apideck-finish-upload-session description: Apideck Finish Upload Session hints: readOnly: false destructive: false idempotent: false call: file-storage-upload-sessions.uploadsessionsfinish with: body: tools.body outputParameters: - type: object mapping: $.