{ "opencollection": "1.0.0", "info": { "name": "Atlassian Admin Account Macro API", "version": "1.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Macro", "type": "folder" }, "items": [ { "info": { "name": "Atlassian Get Macro Body by Macro Id", "type": "http" }, "http": { "method": "GET", "url": "https://api.atlassian.com/wiki/rest/api/content/:id/history/:version/macro/id/:macroId", "params": [ { "name": "id", "value": "", "type": "path", "description": "The ID for the content that contains the macro." }, { "name": "version", "value": "", "type": "path", "description": "The version of the content that contains the macro. Specifying `0` as the `version` will return\nthe macro body for the latest content version." }, { "name": "macroId", "value": "", "type": "path", "description": "The ID of the macro. This is usually passed by the app that the\nmacro is in. Otherwise, find the macro ID by querying the desired\ncontent and version, then expanding the body in storage format.\nFor example, '/content/196611/version/7?expand=content.body.storage'." } ] }, "docs": "Retrieves the body content of a specific macro identified by its macro ID within a particular version of a Confluence page. This endpoint requires three path parameters: the content ID of the page, the version number of that content, and the unique macro ID whose body you want to retrieve. It's particularly useful when you need to extract or inspect the content of a specific macro instance that existed in a historical version of a page, allowing developers to access macro parameters, content, or" } ] } ], "bundled": true }