Hello,
I have a Confluence page with 3 sections. Inside each section, the link to the Jira ticket can be added.
My task is to check each section for updates and if there are any I have to retrieve the titles.
Attaching the template of the page.
I've tried to call the endpoint below, but the response is very big.
url = "https://domain-name/confluence/wiki/rest/api/content"
Hi @Galina Grudinina ,
Instead of calling all pages in Confluence via "https://domain-name/confluence/wiki/rest/api/content" you can try to limit the results by searching for keywords or labels using CQL (Confluence Query Language) like below:
https://domain-name/confluence/wiki/rest/api/content/search?cql=text%20~%20"advanced%20search"%20AND%20label=docs
It will search for pages having "docs" as label and text "advanced search" in its body. Hope this helps!
-- Ziana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.