config: add support for pagination in api-request list queries
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
Trunk |
Fix Committed
|
High
|
Hampapur Ajay |
Bug Description
Currently a collection of resource-type can be queried by GET using an anchor of
a. None - entire list of resources of resource-type are picked up
b. list of backref ids
c. list of parent ids
There is no support for pagination at all. To support this 2 query parameters will be added in GET of collection
a. paginate_start - a string indicating the uuid from which to grab the next <paginate_count> worth of items. To get the first set paginate_start can be set to empty string or paginate_count can be set to a str(number)
b. paginate_count - a string representing count of items to be retrieved in this GET. If paginate_start is set but paginate_count is not then return a default number of items
Changed in juniperopenstack: | |
assignee: | nobody → Hampapur Ajay (hajay) |
Changed in juniperopenstack: | |
importance: | Undecided → High |
tags: | added: config |
Review in progress for https:/ /review. opencontrail. org/8412
Submitter: Hampapur Ajay (<email address hidden>)