v1

latestOpenAPI 3.0.12026-07-13130168404.3 KB
Content body

Get asynchronous content body conversion task result in bulk

Returns the content body for the corresponding asyncId of a completed conversion task. If the task is not completed, the task status is returned instead.

Once a conversion task is completed, the result can be obtained for up to 5 minutes, or until an identical conversion request is made again with the allowCache parameter set to false.

Note that there is a maximum limit of 50 task results per request to this endpoint.

Permissions required: Permission to access the Confluence site ('Can use' global permission).

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

Query parameters

idsstring[] required

The asyncIds of the conversion tasks.

Response

Returned if asynchronous conversion tasks are successfully found.

valuestring
representation'view' | 'export_view' | 'styled_view' | 'storage' | 'editor' | 'editor2' | 'anonymous_export_view' | 'wiki' | 'atlas_doc_format'
renderTaskIdstring
errorstring
status'WORKING' | 'QUEUED' | 'FAILED' | 'COMPLETED' | 'RERUNNING'

Rerunning is reserved for when the job is working, but there is a previous run's value in the cache. You may choose to continue polling, or use the cached value.

_linksGenericLinks