naftiko: 1.0.0-alpha2 info: label: Atlassian Confluence Content API — Synchronously description: 'Atlassian Confluence Content API — Synchronously. 1 operations. Lead operation: Atlassian Get Macro Body by Macro Id and Convert the Representation Synchronously. Self-contained Naftiko capability covering one Atlassian business surface.' tags: - Atlassian - Synchronously created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ATLASSIAN_API_KEY: ATLASSIAN_API_KEY capability: consumes: - type: http namespace: confluence-content-synchronously baseUri: '' description: Atlassian Confluence Content API — Synchronously business capability. Self-contained, no shared references. resources: - name: wiki-rest-api-content-id-history-version-macro-id-macroId-convert-to path: /wiki/rest/api/content/{id}/history/{version}/macro/id/{macroId}/convert/{to} operations: - name: getmacrobodybymacroidandconverttherepresentationsynchronously method: GET description: Atlassian Get Macro Body by Macro Id and Convert the Representation Synchronously outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: The ID for the content that contains the macro. required: true - name: version in: path type: integer description: The version of the content that contains the macro. Specifying `0` as the `version` will return required: true - name: macroId in: path type: string description: The ID of the macro. This is usually passed by the app that the required: true - name: to in: path type: string description: The content representation to return the macro in. required: true - name: spaceKeyContext in: query type: string description: The space key used for resolving embedded content (page includes, - name: embeddedContentRender in: query type: string description: Mode used for rendering embedded content, like attachments. authentication: type: bearer token: '{{env.ATLASSIAN_API_KEY}}' exposes: - type: rest namespace: confluence-content-synchronously-rest port: 8080 description: REST adapter for Atlassian Confluence Content API — Synchronously. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/wiki/rest/api/content/{id}/history/{version}/macro/id/{macroid}/convert/{to} name: wiki-rest-api-content-id-history-version-macro-id-macroid-convert-to description: REST surface for wiki-rest-api-content-id-history-version-macro-id-macroId-convert-to. operations: - method: GET name: getmacrobodybymacroidandconverttherepresentationsynchronously description: Atlassian Get Macro Body by Macro Id and Convert the Representation Synchronously call: confluence-content-synchronously.getmacrobodybymacroidandconverttherepresentationsynchronously with: id: rest.id version: rest.version macroId: rest.macroId to: rest.to spaceKeyContext: rest.spaceKeyContext embeddedContentRender: rest.embeddedContentRender outputParameters: - type: object mapping: $. - type: mcp namespace: confluence-content-synchronously-mcp port: 9090 transport: http description: MCP adapter for Atlassian Confluence Content API — Synchronously. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: atlassian-get-macro-body-macro description: Atlassian Get Macro Body by Macro Id and Convert the Representation Synchronously hints: readOnly: true destructive: false idempotent: true call: confluence-content-synchronously.getmacrobodybymacroidandconverttherepresentationsynchronously with: id: tools.id version: tools.version macroId: tools.macroId to: tools.to spaceKeyContext: tools.spaceKeyContext embeddedContentRender: tools.embeddedContentRender outputParameters: - type: object mapping: $.