naftiko: 1.0.0-alpha2 info: label: Didomi Platform API — Consents Proofs description: Didomi Platform API — Consents Proofs. 2 operations. Self-contained Naftiko capability over the Didomi Platform REST API. tags: - Didomi - Consent Management - Privacy created: '2026-05-25' modified: '2026-05-25' binds: - namespace: env keys: DIDOMI_BEARER_TOKEN: DIDOMI_BEARER_TOKEN capability: consumes: - type: http namespace: consents-proofs baseUri: https://api.didomi.io/v1 description: Didomi Platform API — Consents Proofs business capability against the Didomi Platform REST API (https://api.didomi.io/v1). resources: - name: consents-proofs path: /consents/proofs operations: - name: post-consents-proofs method: POST description: Upload a consent proof outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object required: true description: Request body (JSON). - name: consents-proofs-id path: /consents/proofs/{id} operations: - name: get-consents-proofs-id method: GET description: Retrieve a proof outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true authentication: type: bearer value: '{{env.DIDOMI_BEARER_TOKEN}}' placement: header note: Obtain by POSTing api-key + secret to /v1/sessions and reusing access_token for up to one hour. exposes: - type: rest namespace: consents-proofs-rest port: 8080 description: REST adapter for Didomi Platform API — Consents Proofs. One resource per consumed operation. resources: - path: /v1/consents/proofs name: consents-proofs description: REST surface for consents-proofs. operations: - method: POST name: post-consents-proofs description: Upload a consent proof call: consents-proofs.post-consents-proofs - path: /v1/consents/proofs/{id} name: consents-proofs-id description: REST surface for consents-proofs-id. operations: - method: GET name: get-consents-proofs-id description: Retrieve a proof call: consents-proofs.get-consents-proofs-id - type: mcp namespace: consents-proofs-mcp port: 9090 transport: http description: MCP adapter for Didomi Platform API — Consents Proofs. One tool per consumed operation. tools: - name: didomi-post-consents-proofs description: Upload a consent proof hints: readOnly: false destructive: false idempotent: false call: consents-proofs.post-consents-proofs - name: didomi-get-consents-proofs-id description: Retrieve a proof hints: readOnly: true destructive: false idempotent: true call: consents-proofs.get-consents-proofs-id