Get whole Space Content from Confluence REST Api -


is possible whole content of confluence space rest api?

i try example curl -u admin:admin http://localhost:8080/confluence/rest/api/content/3965072?expand=body.storage

but first page content.

yes, need this:

http://localhost:8080/confluence/rest/api/space/space_key/content?expand=body.storage

you can specific type of content item (page or blogpost) this:

http://localhost:8080/confluence/rest/api/space/space_key/content/page?expand=body.storage

http://localhost:8080/confluence/rest/api/space/space_key/content/blogpost?expand=body.storage

you need take in consideration pagination: https://developer.atlassian.com/confdev/confluence-rest-api/pagination-in-the-rest-api


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -