v1

latestOpenAPI 3.0.12026-07-13130168404.3 KB
Content body

Create asynchronous content body conversion tasks in bulk

Asynchronously converts content bodies from one format to another format in bulk. Use the Content body REST API to get the status of conversion tasks. Note that there is a maximum limit of 10 conversions per request to this endpoint.

Supported conversions:

  • storage: editor, export_view, styled_view, view
  • editor: storage

Once a conversion task is completed, it is available for polling for up to 5 minutes.

Permissions required: 'View' permission for the space, and permission to view the content if the spaceKeyContext or contentIdContext are present.

post/wiki/rest/api/contentbody/convert/async/bulk/tasks

Request body

Response

Returned if asynchronous tasks are created to convert content bodies. If a conversion task fails to be created, a “FAILED_TO_QUEUE” string will be returned instead of an asyncId.

asyncIdstring required