I am building an app to query our Service Desk Knowledge Base and have come across a curious situation. I am using the Postman collection from https://developer.atlassian.com/cloud/confluence/rest/v2/intro
to test my page queries.
I have a number of parent/child pages that I retrieve via the API and wish to display a short synopsis of the group.
Legal
Legal Page 1
Legal Page 2
The excerpt is on the Legal page.
When I query this page by it’s ID, i get the correct body text, for the command: /wiki/api/v2/pages/:id?body-format=atlas_doc_format
Yet, when I query for pages in a space, I get some old initial excerpt text.
/wiki/api/v2/spaces/:id/pages?sort=title&body-format={{body-format}}&limit={{limit}}
This doesn’t seem to happen for every parent page though, but it is consistent. I have edited pages where it works and they update, yet updating the ones that have the old text, never changes. I have looked and purged old trashed pages, I’ve also looked for duplicates, in case that was the problem and again, found none.
I have checked the page IDs for both endpoints and I’m looking at the same page, so that kinda proves I’m not finding a duplicate I’d say.
I’m at a loss as to what to do next, so any advice would be appreciated.