From 1e0d453b1fec070233181bd18c76f36db85fb3b0 Mon Sep 17 00:00:00 2001 From: Atsushi SAKAI Date: Thu, 13 Aug 2015 11:30:50 +0900 Subject: [PATCH] Add description of discoverability API (GET /info) I am wondering which keyword is better middleware or capability. Change-Id: Idce809a943a2dc4acd7a259ffb2c3aab08288103 Closes-Bug: #1329041 --- api-ref/src/docbkx/ch_objectstorage-v1.xml | 13 ++++++++ api-ref/src/wadls/object-api/src/common.ent | 23 +++++++++++++ .../object-api/src/os-object-api-1.0.wadl | 33 ++++++++++++++++++- .../object-api/src/samples/info_response.json | 7 ++++ 4 files changed, 75 insertions(+), 1 deletion(-) create mode 100644 api-ref/src/wadls/object-api/src/samples/info_response.json diff --git a/api-ref/src/docbkx/ch_objectstorage-v1.xml b/api-ref/src/docbkx/ch_objectstorage-v1.xml index 6bce11dd5..e5a09635e 100644 --- a/api-ref/src/docbkx/ch_objectstorage-v1.xml +++ b/api-ref/src/docbkx/ch_objectstorage-v1.xml @@ -45,6 +45,19 @@ Accept-Ranges: bytes see Header Field Definitions. +
+ Discoverability + + If configured, lists the activated capabilities for this version + of the OpenStack Object Storage API. + + + + + + +
Endpoints If configured, lists endpoints for a specified account. diff --git a/api-ref/src/wadls/object-api/src/common.ent b/api-ref/src/wadls/object-api/src/common.ent index 49d2faebf..b891b764c 100644 --- a/api-ref/src/wadls/object-api/src/common.ent +++ b/api-ref/src/wadls/object-api/src/common.ent @@ -604,6 +604,29 @@ include them in this header. '> + + + + A hash-based message authentication code (HMAC) that enables + access to administrator-only information. To use this parameter, + the swiftinfo_expires parameter is also required. + + + + + + + Sets the expiration time in UNIX Epoch timestamp format. + + +'> + + + @@ -93,6 +96,35 @@ + + + + Lists the activated capabilities for this version of the + OpenStack Object Storage API. + + + + + &info-requestParameter; + + + + + + + + + + + + + + - diff --git a/api-ref/src/wadls/object-api/src/samples/info_response.json b/api-ref/src/wadls/object-api/src/samples/info_response.json new file mode 100644 index 000000000..bcc91f7d5 --- /dev/null +++ b/api-ref/src/wadls/object-api/src/samples/info_response.json @@ -0,0 +1,7 @@ +{ + "swift": { + "version": "1.11.0" + }, + "staticweb": {}, + "tempurl": {} +}