You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the HTTP Link header for pagination in my API.
e.g. GET /items?limit=10&filter=active
returns a Link-header with Link: <https://example.com/features?limit=10&filter=active&cursor=a34Dsdf>; rel="next"
What I would like is for the auto-generation tools to be able to create a method e.g. "getNextPortion" that uses the parameters from the Link header to get the next n items.
Is this possible, or must I use "primitive" headers containing single integers and strings?
The text was updated successfully, but these errors were encountered:
I'm using the HTTP
Link
header for pagination in my API.e.g.
GET /items?limit=10&filter=active
returns a
Link
-header withLink: <https://example.com/features?limit=10&filter=active&cursor=a34Dsdf>; rel="next"
What I would like is for the auto-generation tools to be able to create a method e.g. "getNextPortion" that uses the parameters from the Link header to get the next n items.
Is this possible, or must I use "primitive" headers containing single integers and strings?
The text was updated successfully, but these errors were encountered: