You could read the content of a page with the body expanded.
Please refer to the Confluence REST API examples for more details: https://developer.atlassian.com/server/confluence/confluence-rest-api-examples/
Same question. If the page has an index and links to the sections on the same page. How to directly access the data content on links through the REST API's?
To be precise, Say I have a page id 12345, on confluence, if I am accessing :
http://helloworld/wiki/pages/12345/XYZ#XYZ-abcdabcd this on the url, how do we access the underlined part through REST API?
The Atlassian API doesn't have a way to return just the part of the page following an anchor. The best you can do is get the page by the space and title, then parse for the html anchor.
Assuming your URL has a space, like:
I think you would do it with
page=confluence.get_page_by_title('SPC', 'XYZ', expand='body.storage')
Im getting 404: Page Unavailable error with below REST API call. Kindly help. Any permission issue? I provided Basic Auth in Postman with my username and accesstoken:
Hello Community! Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events