-
Suggestion
-
Resolution: Unresolved
Issue Summary
Confluence Cloud V1 Get content endpoint with ?expand=body.view can be used to retrieve all content inside a space.
Given that this endpoint is being deprecated and removed in December, the expectation would be that the Confluence Cloud V2 API Get pages and Get blog posts endpoints would support ?body-format=view as well.
- However, the only support ?body-format=storage and ?body-format=atlas_doc_format
- Note: Get page by id and Get blog post by id endpoints for retrieving single items already support ?body-format=view
The ask is for Get pages and Get blog posts endpoints to support ** ?body-format=view ** as well.
Workaround
Workaround 1
- Use Get pages and Get blog posts endpoints to gather the ids of the content you need
- Use Get page by id and Get blog post by id endpoints for retrieving each content, as this endpoint supports ?body-format=view
Workaround 2
- Use Get pages and Get blog posts endpoints using ?body-format=storage
- Use the Create asynchronous content body conversion tasks in bulk endpoint to convert it from storage to view format.
-
- In the request body, we need to specify "to" request param per item with the target format, in this case would be "view". The body value and representation that you want to make the conversion for also needs to be specified.
- Poll the status of the conversion using the Get asynchronous content body conversion task endpoint result in bulk and extract the content in the view format from the response
- mentioned in
-
Page Loading...