Hello everybody,
is it possible to get the number of pages per Space via GET-Requests? I did a lot of trials but I can't find a processable solution for that.
Does anybody have some experiences with that and could give me a hint?
Thanks a lot.
Kind regards,
Timo
Hi Timo,
You can use confluence cql search to get the number of pages per space via GET requests.
Here is the sample rest url "http://<confluence-base-url>/rest/api/search?cql=space=TEST and type = page".
You can get the total number of pages from the response object like this response.totalSize.
For more information on the confluence cql search please refer to this url https://developer.atlassian.com/server/confluence/advanced-searching-using-cql/
Thanks,
Santwana
Great, it works.
Thanks a lot.
Kind regards,
Timo
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.