I need help just getting a heartbeat with API v2 when attempting to fetch page content. Any example of working code that would be the equivalent for the following would be appreciated!
All previous efforts have resulted in pages with content being reported to have none.
The legacy code below works just fine.
Hi @Juan Leon
I suspect that you need to add a "body-format" parameter to your API call. When I call that API endpoint without that parameter, the body response field is empty.
The "export_view" parameter value generates an HTML partial, which might be easiest to process.
ref: https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page/#api-pages-id-get
Hi @Juan Leon
If this is regarding development of code for an app, its best to raise your request on the developer forum.
https://community.developer.atlassian.com/
This post my help you as well: how-can-i-access-confluence-page-content-through-the-confluence-rest-v2-api
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.