...
- Currently only implemented in the resources microservice for the POC (once approach agreed upon, we will implement in traversal)& traversal microservices
- Accepts resultSize and resultIndex as query parameters (actual nomenclature tbd)
- The resultSize is an integer passed in by the client as a query parameter that specifies what amount of results should be returned
- The resultIndex is an integer that is passed in by a client as a query parameter that specifies which bucket the client wants back ie. for a resultSize of 10 an index of 1 would return 1-10, index of 2 would return 11-20 etc
- The results are returned with the below information in the header, the parameters passed in, total amount of results, and total amount of pages
- Optionally we could choose to include a flag to say has more results for ease of use, but this could also be derived by checking if resultIndex == total-pages
...