Do a page search with cql in the confluence API. I know that if my search has multiple results, I can use cursor to get the results one by one. Is that correct? Also, if correct, are there any examples or samples somewhere?
Hi @青山 明
Welcome to Confluence!!
curl -s --request GET --header 'Accept: application/json' --user "${email}:${apptoken}" --url "https://${accountname}.atlassian.net/wiki/rest/api/search?cql=label?IN('confidential','classified')?AND?type='page'?AND?space=${string}" | jq ".results | .[].title"
Here's one example to search the labels with confidential, non-confidential
Ref here
https://developer.atlassian.com/server/confluence/advanced-searching-using-cql/
Thanks,Pramodh
I received a reply, but the question is whether the cursor can be used when searching using cql of the confluence API and there are multiple search results. Is this correct?
It looks like you're new here. Sign in or register to get started.