This object is used when creating or updating content.

interface AsyncConvertContentBodyRequest {
    additionalProperties?: any;
    allowCache?: boolean;
    contentIdContext?: string;
    embeddedContentRender?: string;
    expand?: string | string[] | ("embeddedContent" | "mediaToken" | "webresource.superbatch.metatags" | "webresource.superbatch.tags.all" | "webresource.superbatch.tags.css" | "webresource.superbatch.tags.data" | "webresource.superbatch.tags.js" | "webresource.superbatch.uris.all" | "webresource.superbatch.uris.css" | "webresource.superbatch.uris.data" | "webresource.superbatch.uris.js" | "webresource.tags.all" | "webresource.tags.css" | "webresource.tags.data" | "webresource.tags.js" | "webresource.uris.all" | "webresource.uris.css" | "webresource.uris.data" | "webresource.uris.js")[];
    representation: string;
    spaceKeyContext?: string;
    to: string;
    value: string;
}

Hierarchy (view full)

Properties

additionalProperties?: any
allowCache?: boolean

If this field is false, the cache will erase its current value and begin a new conversion. If this field is true, the cache will not erase its current value, and will set the status of the async conversion to RERUNNING. Once the data is updated, the status will change to COMPLETED. Large macros that take long to convert, and whose data need not immediately up to date (same as previous conversion's result within last 5 minutes) should set this fields to true. Cache values are stored per user per content body and expansions.

contentIdContext?: string

The content ID used to find the space 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 contentIdContext=123 parameter is provided, then the link will be converted to a link to the "Example page" page in the same space that has the content with ID=123. Note, spaceKeyContext will be ignored if this parameter is provided.

embeddedContentRender?: string

Mode 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.
expand?: string | string[] | ("embeddedContent" | "mediaToken" | "webresource.superbatch.metatags" | "webresource.superbatch.tags.all" | "webresource.superbatch.tags.css" | "webresource.superbatch.tags.data" | "webresource.superbatch.tags.js" | "webresource.superbatch.uris.all" | "webresource.superbatch.uris.css" | "webresource.superbatch.uris.data" | "webresource.superbatch.uris.js" | "webresource.tags.all" | "webresource.tags.css" | "webresource.tags.data" | "webresource.tags.js" | "webresource.uris.all" | "webresource.uris.css" | "webresource.uris.data" | "webresource.uris.js")[]

A multi-value parameter indicating which properties of the content to expand and populate.

representation: string

The content format type. Set the value of this property to the name of the format being used, e.g. 'storage'.

spaceKeyContext?: string

The 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.

to: string

The name of the target format for the content body.

value: string

The body of the content in the relevant format.

Generated using TypeDoc v0.25.12