Atlassian · Capability
Atlassian The Confluence Cloud REST API — Content - Macro Body
Atlassian The Confluence Cloud REST API — Content - Macro Body. 3 operations. Lead operation: Atlassian Get Macro Body By Macro Id. Self-contained Naftiko capability covering one Atlassian business surface.
What You Can Do
GET
Atlassiangetmacrobodybymacroid
— Atlassian Get Macro Body By Macro Id
/v1/wiki/rest/api/content/{id}/history/{version}/macro/id/{macroid}
GET
Atlassiangetandasyncconvertmacrobodybymacroid
— Atlassian Get Macro Body By Macro Id And Convert Representation Asynchronously
/v1/wiki/rest/api/content/{id}/history/{version}/macro/id/{macroid}/convert/async/{to}
GET
Atlassiangetandconvertmacrobodybymacroid
— Atlassian Get Macro Body By Macro Id And Convert The Representation Synchronously
/v1/wiki/rest/api/content/{id}/history/{version}/macro/id/{macroid}/convert/{to}
MCP Tools
atlassian-get-macro-body-macro
Atlassian Get Macro Body By Macro Id
read-only
idempotent
atlassian-get-macro-body-macro-2
Atlassian Get Macro Body By Macro Id And Convert Representation Asynchronously
read-only
idempotent
atlassian-get-macro-body-macro-3
Atlassian Get Macro Body By Macro Id And Convert The Representation Synchronously
read-only
idempotent
Capability Spec
naftiko: 1.0.0-alpha2
info:
label: Atlassian The Confluence Cloud REST API — Content - Macro Body
description: 'Atlassian The Confluence Cloud REST API — Content - Macro Body. 3 operations. Lead operation: Atlassian Get
Macro Body By Macro Id. Self-contained Naftiko capability covering one Atlassian business surface.'
tags:
- Atlassian
- Content - Macro Body
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-macro-body
baseUri: ''
description: Atlassian The Confluence Cloud REST API — Content - Macro Body business capability. Self-contained, no shared
references.
resources:
- name: wiki-rest-api-content-id-history-version-macro-id-macroId
path: /wiki/rest/api/content/{id}/history/{version}/macro/id/{macroId}
operations:
- name: atlassiangetmacrobodybymacroid
method: GET
description: Atlassian Get Macro Body By Macro Id
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: wiki-rest-api-content-id-history-version-macro-id-macroId-convert-async-to
path: /wiki/rest/api/content/{id}/history/{version}/macro/id/{macroId}/convert/async/{to}
operations:
- name: atlassiangetandasyncconvertmacrobodybymacroid
method: GET
description: Atlassian Get Macro Body By Macro Id And Convert Representation Asynchronously
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. For apps, this is passed to the macro by the Connect/Forge framework.
required: true
- name: to
in: path
type: string
description: The content representation to return the macro in.
required: true
- name: allowCache
in: query
type: boolean
description: If this field is false, the cache will erase its current value and begin a conversion.
- 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.
- 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: atlassiangetandconvertmacrobodybymacroid
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-macro-body-rest
port: 8080
description: REST adapter for Atlassian The Confluence Cloud REST API — Content - Macro Body. One Spectral-compliant resource
per consumed operation, prefixed with /v1.
resources:
- path: /v1/wiki/rest/api/content/{id}/history/{version}/macro/id/{macroid}
name: wiki-rest-api-content-id-history-version-macro-id-macroid
description: REST surface for wiki-rest-api-content-id-history-version-macro-id-macroId.
operations:
- method: GET
name: atlassiangetmacrobodybymacroid
description: Atlassian Get Macro Body By Macro Id
call: confluence-content-macro-body.atlassiangetmacrobodybymacroid
with:
id: rest.id
version: rest.version
macroId: rest.macroId
outputParameters:
- type: object
mapping: $.
- path: /v1/wiki/rest/api/content/{id}/history/{version}/macro/id/{macroid}/convert/async/{to}
name: wiki-rest-api-content-id-history-version-macro-id-macroid-convert-async-to
description: REST surface for wiki-rest-api-content-id-history-version-macro-id-macroId-convert-async-to.
operations:
- method: GET
name: atlassiangetandasyncconvertmacrobodybymacroid
description: Atlassian Get Macro Body By Macro Id And Convert Representation Asynchronously
call: confluence-content-macro-body.atlassiangetandasyncconvertmacrobodybymacroid
with:
id: rest.id
version: rest.version
macroId: rest.macroId
to: rest.to
allowCache: rest.allowCache
spaceKeyContext: rest.spaceKeyContext
embeddedContentRender: rest.embeddedContentRender
outputParameters:
- type: object
mapping: $.
- 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: atlassiangetandconvertmacrobodybymacroid
description: Atlassian Get Macro Body By Macro Id And Convert The Representation Synchronously
call: confluence-content-macro-body.atlassiangetandconvertmacrobodybymacroid
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-macro-body-mcp
port: 9090
transport: http
description: MCP adapter for Atlassian The Confluence Cloud REST API — Content - Macro Body. 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
hints:
readOnly: true
destructive: false
idempotent: true
call: confluence-content-macro-body.atlassiangetmacrobodybymacroid
with:
id: tools.id
version: tools.version
macroId: tools.macroId
outputParameters:
- type: object
mapping: $.
- name: atlassian-get-macro-body-macro-2
description: Atlassian Get Macro Body By Macro Id And Convert Representation Asynchronously
hints:
readOnly: true
destructive: false
idempotent: true
call: confluence-content-macro-body.atlassiangetandasyncconvertmacrobodybymacroid
with:
id: tools.id
version: tools.version
macroId: tools.macroId
to: tools.to
allowCache: tools.allowCache
spaceKeyContext: tools.spaceKeyContext
embeddedContentRender: tools.embeddedContentRender
outputParameters:
- type: object
mapping: $.
- name: atlassian-get-macro-body-macro-3
description: Atlassian Get Macro Body By Macro Id And Convert The Representation Synchronously
hints:
readOnly: true
destructive: false
idempotent: true
call: confluence-content-macro-body.atlassiangetandconvertmacrobodybymacroid
with:
id: tools.id
version: tools.version
macroId: tools.macroId
to: tools.to
spaceKeyContext: tools.spaceKeyContext
embeddedContentRender: tools.embeddedContentRender
outputParameters:
- type: object
mapping: $.