naftiko: 1.0.0-alpha2 info: label: Didomi Platform API — Sessions & Authentication description: Didomi Platform API — Sessions & Authentication. 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: sessions-authentication baseUri: https://api.didomi.io/v1 description: Didomi Platform API — Sessions & Authentication business capability against the Didomi Platform REST API (https://api.didomi.io/v1). resources: - name: sessions-id path: /sessions/{id} operations: - name: get-sessions-id method: GET description: Retrieves a single resource with the given id from the service. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true - name: sessions path: /sessions operations: - name: post-sessions method: POST description: Create a new session outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object required: true description: Request body (JSON). 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: sessions-authentication-rest port: 8080 description: REST adapter for Didomi Platform API — Sessions & Authentication. One resource per consumed operation. resources: - path: /v1/sessions/{id} name: sessions-id description: REST surface for sessions-id. operations: - method: GET name: get-sessions-id description: Retrieves a single resource with the given id from the service. call: sessions-authentication.get-sessions-id - path: /v1/sessions name: sessions description: REST surface for sessions. operations: - method: POST name: post-sessions description: Create a new session call: sessions-authentication.post-sessions - type: mcp namespace: sessions-authentication-mcp port: 9090 transport: http description: MCP adapter for Didomi Platform API — Sessions & Authentication. One tool per consumed operation. tools: - name: didomi-get-sessions-id description: Retrieves a single resource with the given id from the service. hints: readOnly: true destructive: false idempotent: true call: sessions-authentication.get-sessions-id - name: didomi-post-sessions description: Create a new session hints: readOnly: false destructive: false idempotent: false call: sessions-authentication.post-sessions