GET servers API sorting REST API updates
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-api-site |
Fix Released
|
Medium
|
Atsushi SAKAI |
Bug Description
https:/
commit f268be97bd3a3ce
Author: Steven Kaufer <email address hidden>
Date: Fri Jun 27 07:10:49 2014 +0000
GET servers API sorting REST API updates
Updates the v2 and v3 /servers and /servers/detail APIs to support the
multiple sort keys and sort directions (using the 'sort_key' and
'sort_dir' parameters); these parameters can be specified multiple
times to create a list of sort keys and directions. These parameters
are passed from the API layer to the compute layer, then to the
instance layer (with updated version), then to the database layers,
and then to the common paginate_query function; the paginate_query
function already supports multiple sort keys and directions. The
function signatures in these various layers are updated with new
'sort_keys' and 'sort_dirs' parameters that represent the sort keys
and directions information as lists.
This support is enabled on the v2 API by the existence of a new
'os-
API. The extension API sample issues 2 server creates and then ensures
that both servers are listed (name is unique) in the list reply.
DocImpact: The existing v2 and v3 servers API documentation needs to
reflect these new parameters.
The nova client will also be updated to use these parameters.
Change-Id: I02baf6c3cc7d29
Partially implements: blueprint nova-pagination
Changed in openstack-manuals: | |
status: | New → Confirmed |
importance: | Undecided → High |
no longer affects: | openstack-manuals |
Changed in openstack-api-site: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in openstack-api-site: | |
assignee: | nobody → Atsushi SAKAI (sakaia) |
Changed in openstack-api-site: | |
milestone: | none → liberty |
Fix proposed to branch: master /review. openstack. org/211096
Review: https:/