Optional
allowOptional
embeddedMode used for rendering embedded content, like attachments.
- `current` renders the embedded content using the latest version.
- `version-at-save` renders the embedded content using the version at
the time of save.
Optional
expandA multi-value parameter indicating which properties of the content to expand and populate.
The ID for the content that contains the macro.
The ID of the macro. For apps, this is passed to the macro by the Connect/Forge framework. Otherwise, find the macro ID by querying the desired content and version, then expanding the body in storage format. For example, '/content/196611/version/7?expand=content.body.storage'.
Optional
spaceThe space key used for resolving embedded content (page includes, files, and links) in the content body. For
example, if the source content contains the link <ac:link><ri:page ri:content-title="Example page" /><ac:link>
and the spaceKeyContext=TEST
parameter is provided, then the link will be converted to a link to the "Example
page" page in the "TEST" space.
The content representation to return the macro in. Currently, the following conversions are allowed:
-`export_view` - `styled_view` - `view`;
The version of the content that contains the macro. Specifying 0
as the version
will return the macro body for
the latest content version.
Generated using TypeDoc v0.25.12
If this field is false, the cache will erase its current value and begin a conversion. If this field is true, the cache will not erase its current value, and will set the status of the result in cache to RERUNNING. Once the data is updated, the status will change to COMPLETED. Large macros that take long to convert, and who want to show intermediate, but potentially stale data, immediately should set this field to true. Cache values are stored per macro per user per content and expansions.