Improve REST API Pagination
AnsweredThe new Rest API currently provides a very limited set of metadata in the response.
{
"total_items": 100,
"items": [
{
...
}
]
}
It would be very helpful if the metadata provides more information like in a lot of rest api best practices is mentioned:
{
"total_items": 100,
"current_page": 1,
"total_pages": 10,
"next_page": 2,
"prev_page": null
"items": [
{
...
}
]
}
3
-
Official comment
Niels Hoffmann Thank you for the suggestion. We are considering extending the pagination on the Public API and will take your suggestions when developing this extension.
-
Niels Hoffmann do you have more best practices on API? I really would like to discuss them with you :)
0
Please sign in to leave a comment.
Comments
2 comments