I'm trying to HTTP GET a paged result set from reviews-v1/details
using the following url:
https://<HOST>:<PORT>/rest-service/reviews-v1/filter/details?states=Review&limit=10&FEAUTH=<AUTH_TOKEN>
I tried to provide both application/xml and application/json as Accept HTTP header, but I still get the whole collection. The docs here state the existence of Paged API, and do not state that reviews-v1/details endpoint does not support paging.
Our Crucible version is 3.7.0.
Hopefully that's enough info.
EDIT:
I cannot get this working on an Atlassian FishEye installation either, see https://fisheye2.atlassian.com/rest-service/reviews-v1/details/?state=Closed&limit=3 - it has limit
set to 3, but returns 11 detailedReviewData instances.
Community moderators have prevented the ability to post new answers.
The best way of doing this that I came up with is to use the /rest-service/reviews-v1/filter/details endpoint with fromDate and toDate parameters. One needs to find the last activity date of the first review and then iterate by incrementing above mentioned parameters (I used date += "1 day"
increment).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.