When I call this endpoint:
https://wiki.xxxxxxxxx.com/rest/api/content?&lastModified%3E=now(-2)&type=page&limit=2000
I know my results should not be more than 10-15 pages but I am getting every page on our site back in the results.
Any idea of where I am going wrong with this call?
Hey Kurt,
This seemed to work for me:
https://wiki.xandr.com/rest/api/content/search?cql=lastModified%3E2021-03-11
I received an error when I used your formatting:
{
statusCode: 400,
data: {
authorized: false,
valid: true,
allowedInReadOnlyMode: true,
errors: [ ],
successful: false
},
message: "Could not parse cql : lastModified%3E=now(%22-2d%22)",
reason: "Bad Request"
}
Hi Steve
based on
https://developer.atlassian.com/server/confluence/advanced-searching-using-cql/
it should be more like
http://myhost:8080/rest/api/content/search?cql=lastModified>=now("-2d")
the cql= needs to be embedded
Cheers
Kurt
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.