-
Task
-
Resolution: Unresolved
-
Major
-
None
-
-
Blue Ocean 1.6 - beta 2, Blue Ocean - 1.6 - beta 4
Currently only next Link header is generated in blueocean API response for collection APIs.
To support previous in UI, we need previous (rel="prev") HTTP Link header parameter in blueocean response as well.
Refer to PagedResponse.
Link:</blue/rest/organizations/?start=100&limit=100>; rel="next", </blue/rest/organizations/?start=0&limit=100>; rel="prev"
- Generate prev Link parameter only for pages > 1
- Generate next Link parameter only for pages != total-page-size or when its not last page
- Write tests to validate start, prev and next values
- blocks
-
JENKINS-48075 Show next/prev links in results screen
- Closed