Created
July 17, 2017 09:03
-
-
Save psachin/fa691b6c50a7b4098943152f796b835a to your computer and use it in GitHub Desktop.
review-484254.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/api-ref/source/storage-account-services.inc b/api-ref/source/storage-account-services.inc | |
index b3c19b765c44..37800bc2d36f 100644 | |
--- a/api-ref/source/storage-account-services.inc | |
+++ b/api-ref/source/storage-account-services.inc | |
@@ -65,9 +65,11 @@ codes: | |
``limit``, or ``end_marker`` query parameter and you have reached | |
the end of the list. | |
+Response code: | |
-Normal response codes: 200 | |
-Error response codes:204, | |
+- 200: Normal response | |
+ | |
+- 204: Error response | |
Request | |
@@ -243,7 +245,9 @@ If the request succeeds, the operation returns the ``No Content | |
To confirm your changes, issue a show account metadata request. | |
-Error response codes:204, | |
+Response code: | |
+ | |
+- 204: Error response | |
Request | |
@@ -326,7 +330,9 @@ Show account metadata request: | |
If the account or authentication token is not valid, the operation | |
returns the ``Unauthorized (401)`` response code. | |
-Error response codes:204,401, | |
+Response code: | |
+ | |
+- 204, 401: Error response | |
Request | |
@@ -362,4 +368,4 @@ Response Parameters | |
- X-Account-Storage-Policy-name-Object-Count: X-Account-Storage-Policy-name-Object-Count | |
- X-Account-Meta-Quota-Bytes: X-Account-Meta-Quota-Bytes_resp | |
- X-Account-Access-Control: X-Account-Access-Control_resp | |
- - Content-Type: Content-Type_cud_resp | |
\ No newline at end of file | |
+ - Content-Type: Content-Type_cud_resp | |
diff --git a/api-ref/source/storage-container-services.inc b/api-ref/source/storage-container-services.inc | |
index 27f3edde5e35..bb1eb73669cc 100644 | |
--- a/api-ref/source/storage-container-services.inc | |
+++ b/api-ref/source/storage-container-services.inc | |
@@ -37,8 +37,12 @@ Example requests and responses: | |
If the container does not exist, the call returns the ``Not Found | |
(404)`` response code. | |
-Normal response codes: 200 | |
-Error response codes:416,404,204, | |
+ | |
+Response code: | |
+ | |
+- 200: Normal response | |
+ | |
+- 204, 404, 416: Error response | |
Request | |
@@ -189,8 +193,12 @@ Example requests and responses: | |
If the request succeeds, the operation returns the ``201 Created``, | |
if the container has already existed, it returns the ``204 No Content``. | |
-Normal response codes: 201 | |
-Error response codes: 204 | |
+Response code: | |
+ | |
+- 201: Normal response | |
+ | |
+- 204: Error response | |
+ | |
Request | |
------- | |
@@ -328,7 +336,9 @@ If the request succeeds, the operation returns the ``No Content | |
To confirm your changes, issue a show container metadata request. | |
-Error response codes:204, | |
+Response code: | |
+ | |
+- 204: Error response | |
Request | |
@@ -412,7 +422,9 @@ Show container metadata request: | |
If the request succeeds, the operation returns the ``No Content | |
(204)`` response code. | |
-Error response codes:204, | |
+Response code: | |
+ | |
+- 204: Error response | |
Request | |
@@ -520,8 +532,11 @@ If the container exists but is not empty, the response is: | |
</p> | |
</html> | |
-Normal response codes: 204 | |
-Error response codes: 404,409, | |
+Response code: | |
+ | |
+- 204: Normal response | |
+ | |
+- 404, 409: Error response | |
Request | |
@@ -547,9 +562,3 @@ Response Parameters | |
- Content-Type: Content-Type_cud_resp | |
- X-Trans-Id: X-Trans-Id | |
- X-Openstack-Request-Id: X-Openstack-Request-Id | |
- | |
- | |
- | |
- | |
- | |
- | |
diff --git a/api-ref/source/storage-object-services.inc b/api-ref/source/storage-object-services.inc | |
index 6dd2aeb35e57..5bb1b883db52 100644 | |
--- a/api-ref/source/storage-object-services.inc | |
+++ b/api-ref/source/storage-object-services.inc | |
@@ -91,9 +91,11 @@ code for any ranged GET requests that specify more than: | |
- Eight non-increasing ranges. | |
+Response codes: | |
-Normal response codes: 200 | |
-Error response codes:416,404, | |
+- 200: Normal response | |
+ | |
+- 404, 416: Error response | |
Request | |
@@ -232,8 +234,11 @@ If the MD5 checksum of the data that is written to the object store | |
does not match the optional ``ETag`` value, the operation returns | |
the ``Unprocessable Entity (422)`` response code. | |
-Normal response codes: 201 | |
-Error response codes: 422,411,408, | |
+Response codes: | |
+ | |
+- 201: Normal response | |
+ | |
+- 408, 411, 422: Error response | |
Request | |
@@ -385,7 +390,9 @@ When several replicas exist, the system copies from the most recent | |
replica. That is, the COPY operation behaves as though the | |
``X-Newest`` header is in the request. | |
-Normal response codes: 201 | |
+Response code: | |
+ | |
+- 201: Normal response | |
Request | |
@@ -475,8 +482,11 @@ However, with the ``multipart-manifest=delete`` query parameter, | |
the response body contains a list of manifest and segment objects | |
and the status of their DELETE operations. | |
-Normal response codes: 204 | |
-Error response codes: 404 | |
+Response code: | |
+ | |
+- 204: Normal response | |
+ | |
+- 404: Error response | |
Request | |
@@ -553,9 +563,11 @@ Example requests and responses: | |
If the request succeeds, the operation returns the ``200`` response | |
code. | |
+Response code: | |
-Normal response codes: 200 | |
-Error response codes:204, | |
+- 200: Normal response | |
+ | |
+- 204: Error response | |
Request | |
@@ -712,7 +724,9 @@ Example requests and responses: | |
</p> | |
</html> | |
-Error response codes:202, | |
+Response code: | |
+ | |
+- 202: Error response | |
Request | |
@@ -747,7 +761,3 @@ Response Parameters | |
- Content-Type: Content-Type_cud_resp | |
- X-Trans-Id: X-Trans-Id | |
- X-Openstack-Request-Id: X-Openstack-Request-Id | |
- | |
- | |
- | |
- | |
diff --git a/api-ref/source/storage_endpoints.inc b/api-ref/source/storage_endpoints.inc | |
index 41845425d48b..acf0ef1ada14 100644 | |
--- a/api-ref/source/storage_endpoints.inc | |
+++ b/api-ref/source/storage_endpoints.inc | |
@@ -23,7 +23,9 @@ straight to the middleware, the call is not authenticated, so be | |
sure you have tightly secured the environment and network when | |
using this call. | |
-Error response codes:201, | |
+Response code: | |
+ | |
+- 201: Error response | |
Request | |
diff --git a/api-ref/source/storage_info.inc b/api-ref/source/storage_info.inc | |
index 0487210b3db7..046f7b57e6ea 100644 | |
--- a/api-ref/source/storage_info.inc | |
+++ b/api-ref/source/storage_info.inc | |
@@ -21,8 +21,10 @@ system. To access this data, the ``swiftinfo_sig`` and ``swiftinfo_expires`` | |
query parameters must be added to the request. | |
-Normal response codes: 200 | |
-Error response codes: | |
+Response code: | |
+ | |
+- 200: Normal response | |
+ | |
Request |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment