naftiko: 1.0.0-alpha2 info: label: Theneo API — Publishing description: 'Theneo API — Publishing. 2 operations. Lead operation: Get Preview Project Link. Self-contained Naftiko capability covering one Theneo business surface.' tags: - Theneo - Publishing created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: THENEO_API_KEY: THENEO_API_KEY capability: consumes: - type: http namespace: theneo-publishing baseUri: https://api.theneo.io description: Theneo API — Publishing business capability. Self-contained, no shared references. resources: - name: projects-projectId-preview path: /projects/{projectId}/preview operations: - name: getpreviewprojectlink method: GET description: Get Preview Project Link outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: projectId in: path type: string description: The unique identifier of the project. required: true - name: projects-projectId-publish path: /projects/{projectId}/publish operations: - name: publishproject method: POST description: Publish Project outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: projectId in: path type: string description: The unique identifier of the project. required: true authentication: type: apikey key: Authorization value: '{{env.THENEO_API_KEY}}' placement: header exposes: - type: rest namespace: theneo-publishing-rest port: 8080 description: REST adapter for Theneo API — Publishing. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/projects/{projectid}/preview name: projects-projectid-preview description: REST surface for projects-projectId-preview. operations: - method: GET name: getpreviewprojectlink description: Get Preview Project Link call: theneo-publishing.getpreviewprojectlink with: projectId: rest.projectId outputParameters: - type: object mapping: $. - path: /v1/projects/{projectid}/publish name: projects-projectid-publish description: REST surface for projects-projectId-publish. operations: - method: POST name: publishproject description: Publish Project call: theneo-publishing.publishproject with: projectId: rest.projectId outputParameters: - type: object mapping: $. - type: mcp namespace: theneo-publishing-mcp port: 9090 transport: http description: MCP adapter for Theneo API — Publishing. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-preview-project-link description: Get Preview Project Link hints: readOnly: true destructive: false idempotent: true call: theneo-publishing.getpreviewprojectlink with: projectId: tools.projectId outputParameters: - type: object mapping: $. - name: publish-project description: Publish Project hints: readOnly: false destructive: false idempotent: false call: theneo-publishing.publishproject with: projectId: tools.projectId outputParameters: - type: object mapping: $.