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(%27confidential%27,%27classified%27)?AND?type=%27page%27?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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.