summaryrefslogtreecommitdiff
path: root/api-ref
diff options
context:
space:
mode:
authorTim Burke <tim.burke@gmail.com>2022-04-07 12:45:07 -0700
committerTim Burke <tim.burke@gmail.com>2022-04-07 12:45:07 -0700
commitd496d03b7f46550dc6cdf9bf6079d6120cb08f8e (patch)
tree3697f278393dffc2c064cee0dd3660fa688ec5c2 /api-ref
parent3d7ff12064709fd77eb95cd2e2c3276707d5b5d6 (diff)
downloadswift-d496d03b7f46550dc6cdf9bf6079d6120cb08f8e.tar.gz
api-ref: Document `reverse` param
Change-Id: I731ff275e14fbb0271ddb50f91550197d6d0a4a4
Diffstat (limited to 'api-ref')
-rw-r--r--api-ref/source/parameters.yaml8
-rw-r--r--api-ref/source/storage-account-services.inc1
-rw-r--r--api-ref/source/storage-container-services.inc1
3 files changed, 10 insertions, 0 deletions
diff --git a/api-ref/source/parameters.yaml b/api-ref/source/parameters.yaml
index 3950dcfc8..01952f58f 100644
--- a/api-ref/source/parameters.yaml
+++ b/api-ref/source/parameters.yaml
@@ -1130,6 +1130,14 @@ prefix:
in: query
required: false
type: string
+reverse:
+ description: |
+ By default, listings are returned sorted by name, ascending. If you include
+ the ``reverse=true`` query parameter, the listing will be returned sorted
+ by name, descending.
+ in: query
+ required: false
+ type: boolean
swiftinfo_expires:
description: |
The time at which ``swiftinfo_sig`` expires. The time is in
diff --git a/api-ref/source/storage-account-services.inc b/api-ref/source/storage-account-services.inc
index 455ed02dc..2bcab9ab9 100644
--- a/api-ref/source/storage-account-services.inc
+++ b/api-ref/source/storage-account-services.inc
@@ -82,6 +82,7 @@ Request
- format: format
- prefix: prefix
- delimiter: delimiter
+ - reverse: reverse
- X-Auth-Token: X-Auth-Token
- X-Service-Token: X-Service-Token
- X-Newest: X-Newest
diff --git a/api-ref/source/storage-container-services.inc b/api-ref/source/storage-container-services.inc
index 8c3216eea..7d7be9fc5 100644
--- a/api-ref/source/storage-container-services.inc
+++ b/api-ref/source/storage-container-services.inc
@@ -56,6 +56,7 @@ Request
- format: format
- delimiter: delimiter
- path: path
+ - reverse: reverse
- X-Auth-Token: X-Auth-Token
- X-Service-Token: X-Service-Token
- X-Newest: X-Newest