Support pagination in query across all anchors(ep4) 12/134312/38
authorrajesh.kumar <rk00747546@techmahindra.com>
Tue, 25 Apr 2023 06:28:35 +0000 (11:58 +0530)
committerrajesh.kumar <rk00747546@techmahindra.com>
Wed, 2 Aug 2023 12:45:16 +0000 (18:15 +0530)
Add pagination query parameters in query across all anchors API
pagination parameters (pageIndex and pageSize) are optional
default is to query all fragments
each pageSize represents number of records(number of anchors)
TotalRecords is returned in response header to find number of pages.

- If pagination option is provided in request then query number of
  anchors equal to pageSize. pageIndex is used for setting offset.

- return number of records(one anchor per record) as per pagesize
  and pageSize

Issue-ID: CPS-1605
Change-ID: I73f97f986a817d423f93a8d922dcd9647b2504bc
Signed-off-by: rajesh.kumar <rk00747546@techmahindra.com>

No differences found