Answer the question
In order to leave comments, you need to log in
How to properly organize rest api pagination?
Hello.
According to the 'commandments' of building a rest api, I must answer, if this is a list of entities, add information on the limit, offset and the total number of records;
{
"listInfo" : {
"limit": 20,
"offset": 0,
"count": 150
},
"items": [
...
]
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question