From 50c6ef20b2440b2585d119c02a224ff1656cf143 Mon Sep 17 00:00:00 2001 From: Steven Kaufer Date: Mon, 2 Mar 2015 21:17:59 +0000 Subject: [PATCH] Sort query string param for GET volumes Cinder supports passing a comma-separated list of sort keys and optional directions on the v2 GET volumes and GET volumes/detail queries. The details of the syntax are described in the sorting section at: http://specs.openstack.org/openstack/api-wg/guidelines/pagination_filter_sort.html Change-Id: I63a86f8508422de5d28b5a2970547e37c46e318c --- api-ref/src/wadls/volume-api/src/v2/common.ent | 12 ++++++++++++ .../src/wadls/volume-api/src/v2/volume-api-v2.wadl | 8 ++++++++ 2 files changed, 20 insertions(+) diff --git a/api-ref/src/wadls/volume-api/src/v2/common.ent b/api-ref/src/wadls/volume-api/src/v2/common.ent index b13f36938..ffb9f8908 100644 --- a/api-ref/src/wadls/volume-api/src/v2/common.ent +++ b/api-ref/src/wadls/volume-api/src/v2/common.ent @@ -513,6 +513,18 @@ xml:lang="EN"> Number of VCPUs. '> + + + Comma-separated list of sort keys and optional sort + directions in the form of <key>[:<direction>]. + Valid directions are asc (ascending) or + desc (descending). + '> + + + &volumeListQueryParameters; + + + + &volumeListQueryParameters; +