I would like to retrieve all the pages from a confluence instance that includes multiple spaces.
My current query looks something like this:
https://{{host}}/wiki/rest/api/content/search?&cql=lastModified<now("-4w")and%type=page&start=0&limit=1000
However this can return a different first 1000 items on different runs. Likewise the second request to get the second page of items can return items that were in the first 1000:
https://{{host}}/wiki/rest/api/content/search?&cql=lastModified<now("-4w")and%type=page&start=1000&limit=1000
Any help would be much appreciated
Hi!
I suggest to use order by created in your cql.
https://developer.atlassian.com/server/confluence/advanced-searching-using-cql/
Also, will this method help you from atlassian-python-api module?
https://github.com/AstroMatt/atlassian-python-api/blob/master/atlassian/confluence.py#L150
Cheers,
Gonchik Tsymzhitov
Thanks great suggestion
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.