Comments (2)
I am more surprised that the Nexus API returns any response /s (Have to deal with Nexus 2 + 3 at work and ave grown to hate their usually lacking API for the things I would love to do)
Anyway, my sarcasm and personal grievance with Nexus aside, I am aware of this limitation and had it for the longest time on my ToDo list.
Unfortunately, to my knowlage and basic research that I did when I added this feature to my ToDo list was that there is no unified way that REST APIs handle this.
Take GitHub/GitLab for example their pagination, while similar, has its difference.
IIRC GitLab has the Link header AND extra x-page
, x-next-page
headers, while GitHub only has the Link header to page.
This plays well into your discovery that there isn no unified agreed way how to handle this. (sidnote: this is not really a security issue rather than a performance one for the API server/client if the responses are too large)
IMHO I am in favour of handling APIs with the Link header (GitHub Docs, GitLab Docs), since I have seen that one used more. Unfortunately there is no 'solution to rule them all' (REST APIs), so this will always be a bit of feature that either works or breaks.
Finally, there is no easy way to handle this with okhttp, unlike Unirest (apparently), however I am confined that changing the request API will have no beneficial effect here either, since that wont solve the problem of API-Developers not handling pagination in a standardized way (cause there doesnt seem to be a standard)
from rest-list-parameter-plugin.
Regarding your question if this where a desired feature of this plugin, yes it is!
I am up for discussion to find a way to cover as many APIs as possible with the selected solution in the end, but I am afraid that there will always be the one outlier API that will handle pagination different to all others.
from rest-list-parameter-plugin.
Related Issues (20)
- [BUG] java.lang.Integer cannot be cast to class java.lang.String HOT 7
- Error if value in JSON is an integer instead of a string HOT 7
- [FEATURE] Support "Safe HTML" in descriptions HOT 6
- [BUG] Odd invalid value behaviour when used in combination with the Parametrized Scheduler plugin HOT 10
- [BUG] Only global jenkins credentials are passed if REST/Web endpoint requires authentication HOT 4
- Can you provide support for blue ocean HOT 1
- [BUG] RestListParameterValue Not Exported To Remote Access API HOT 1
- RESTList not returns its value to Active Choices Reactive Parameters when it referenced
- [BUG] isValid() does not always work as intended
- [FEATURE] allow "Json-Path expression yielded no results" to default to an empty string parameter
- [FEATURE] Give the user a option to alphabetically sort values HOT 2
- [FEATURE] Improve the usability of the actual value selection process HOT 7
- [BUG] Only Java level Web proxy settings apply HOT 3
- [FEATURE] Replace Integration Tests with Unit Tests HOT 1
- [BUG] Get error, A problem occurred while processing the request! HOT 2
- [FEATURE] add option to follow links on paged JSON API responses
- [FEATURE] Display choice one way and pass as variable in another way HOT 4
- [BUG] User scoped credentials cannot be used HOT 5
- Whats Next? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rest-list-parameter-plugin.