Use rest_status_code for api-ref response codes

Rather than our freeform way of listing response codes in our
api-ref, we should be using the os-api-ref extension option to
get nicely formatted response code listings.

https://docs.openstack.org/os-api-ref/latest/usage.html#rest-status-code

Change-Id: Ibafafa2f9c3b301b5cdd9b1cb3b8b6d678faa731
This commit is contained in:
junboli 2018-03-22 18:38:36 +08:00 committed by junbo.li
parent bb3d806598
commit acf8c99e9b
27 changed files with 1649 additions and 340 deletions

View File

@ -20,8 +20,18 @@ List availability zones
Lists all availability zones. Lists all availability zones.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403) --------------
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
Request Request
------- -------

View File

@ -14,8 +14,18 @@ List extensions
Lists all extensions. Lists all extensions.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403) --------------
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
Request Request
------- -------

View File

@ -37,8 +37,18 @@ List share limits
Lists share limits. Lists share limits.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403) --------------
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
Request Request
------- -------

View File

@ -24,9 +24,20 @@ action to other roles.
This API was removed in API version 2.7; please see share actions for the This API was removed in API version 2.7; please see share actions for the
new version of the API to utilize this feature. new version of the API to utilize this feature.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404), conflict(409)
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
- 409
Request Request
------- -------
@ -111,9 +122,20 @@ snapshots and share replicas before attempting to unmanage a share.
This API was removed in API version 2.7; please see share actions for the This API was removed in API version 2.7; please see share actions for the
new version of the API to utilize this feature. new version of the API to utilize this feature.
Normal response codes: 202 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404), conflict(409)
.. rest_status_code:: success status.yaml
- 202
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
- 409
Request Request
------- -------

View File

@ -14,10 +14,17 @@ Show quota classes for a project
Shows quota class set for a project. If no specific value for the quota class Shows quota class set for a project. If no specific value for the quota class
resource exists, then the default value will be reported. resource exists, then the default value will be reported.
Normal response codes: 200 Response codes
--------------
Error response codes: forbidden(403), itemNotFound(404) .. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 403
- 404
Request Request
------- -------
@ -58,10 +65,18 @@ Update quota classes for a project
Updates quota class set for a project. If the ``quota_class_name`` key does not Updates quota class set for a project. If the ``quota_class_name`` key does not
exist, then the API will create one. exist, then the API will create one.
Normal response codes: 200 Response codes
--------------
Error response codes: badRequest(400), forbidden(403), itemNotFound(404) .. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 403
- 404
Request Request
------- -------

View File

@ -30,8 +30,18 @@ Show default quota set
Shows default quotas for a tenant. Shows default quotas for a tenant.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403) --------------
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
Request Request
------- -------
@ -75,8 +85,18 @@ If you specify the optional ``user_id`` query parameter, you get
the quotas for this user in the tenant. If you omit this parameter, the quotas for this user in the tenant. If you omit this parameter,
you get the quotas for the project. you get the quotas for the project.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403) --------------
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
Request Request
------- -------
@ -121,8 +141,18 @@ If you specify the optional ``user_id`` query parameter, you get
the quotas for this user in the tenant. If you omit this parameter, the quotas for this user in the tenant. If you omit this parameter,
you get the quotas for the project. you get the quotas for the project.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403) --------------
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
Request Request
------- -------
@ -167,8 +197,18 @@ If you specify the optional ``user_id`` query parameter, you update
the quotas for this user in the tenant. If you omit this parameter, the quotas for this user in the tenant. If you omit this parameter,
you update the quotas for the project. you update the quotas for the project.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403) --------------
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
Request Request
------- -------
@ -228,8 +268,18 @@ If you specify the optional ``user_id`` query parameter, you delete
the quotas for this user in the tenant. If you omit this parameter, the quotas for this user in the tenant. If you omit this parameter,
you delete the quotas for the project. you delete the quotas for the project.
Normal response codes: 202 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403) --------------
.. rest_status_code:: success status.yaml
- 202
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
Request Request
------- -------

View File

@ -16,8 +16,18 @@ List back-end storage pools
Lists all back-end storage pools. If search options are provided, the pool Lists all back-end storage pools. If search options are provided, the pool
list that is returned is filtered with these options. list that is returned is filtered with these options.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403) --------------
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
Request Request
------- -------
@ -56,8 +66,18 @@ List back-end storage pools with details
Lists all back-end storage pools with details. If search options are provided, Lists all back-end storage pools with details. If search options are provided,
the pool list that is returned is filtered with these options. the pool list that is returned is filtered with these options.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403) --------------
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
Request Request
------- -------

View File

@ -39,8 +39,18 @@ List security services
Lists all security services. Lists all security services.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403) --------------
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
Request Request
------- -------
@ -73,8 +83,18 @@ List security services with details
Lists all security services with details. Lists all security services with details.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403) --------------
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
Request Request
------- -------
@ -116,9 +136,19 @@ Show security service details
Shows details for a security service. Shows details for a security service.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404)
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
Request Request
------- -------
@ -161,9 +191,19 @@ Create security service
Creates a security service. Creates a security service.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
unprocessableEntity(422)
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 422
Request Request
------- -------
@ -224,9 +264,20 @@ the ``name`` and ``description`` attributes. A security service in
``active`` state is attached to a share network with an associated ``active`` state is attached to a share network with an associated
share server. share server.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404), unprocessableEntity(422)
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
- 422
Request Request
------- -------
@ -283,9 +334,19 @@ Delete security service
Deletes a security service. Deletes a security service.
Normal response codes: 202 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404)
.. rest_status_code:: success status.yaml
- 202
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
Request Request
------- -------

View File

@ -72,10 +72,19 @@ methods:
Grants access to a share. Grants access to a share.
Normal response codes: 202 Response codes
--------------
Error response codes: badRequest(400), unauthorized(401), forbidden(403), .. rest_status_code:: success status.yaml
itemNotFound(404)
- 202
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
Request Request
------- -------
@ -126,10 +135,19 @@ The shared file systems service stores each access rule in its database and
assigns it a unique ID. This ID can be used to revoke access after access assigns it a unique ID. This ID can be used to revoke access after access
has been requested. has been requested.
Normal response codes: 202 Response codes
--------------
Error response codes: badRequest(400), unauthorized(401), forbidden(403), .. rest_status_code:: success status.yaml
itemNotFound(404)
- 202
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
Request Request
------- -------
@ -156,10 +174,19 @@ List access rules
Lists access rules for a share. The Access ID returned is necessary to deny Lists access rules for a share. The Access ID returned is necessary to deny
access. access.
Normal response codes: 200 Response codes
--------------
Error response codes: badRequest(400), unauthorized(401), forbidden(403), .. rest_status_code:: success status.yaml
itemNotFound(404)
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
Request Request
------- -------
@ -209,9 +236,19 @@ Administrator only. Explicitly updates the state of a share.
Use the ``policy.json`` file to grant permissions for this action Use the ``policy.json`` file to grant permissions for this action
to other roles. to other roles.
Normal response codes: 202 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404)
.. rest_status_code:: success status.yaml
- 202
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
Request Request
------- -------
@ -240,9 +277,19 @@ Administrator only. Force-deletes a share in any state.
Use the ``policy.json`` file to grant permissions for this action Use the ``policy.json`` file to grant permissions for this action
to other roles. to other roles.
Normal response codes: 202 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404)
.. rest_status_code:: success status.yaml
- 202
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
Request Request
------- -------
@ -267,9 +314,19 @@ Extend share
Increases the size of a share. Increases the size of a share.
Normal response codes: 202 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404)
.. rest_status_code:: success status.yaml
- 202
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
Request Request
------- -------
@ -295,9 +352,19 @@ Shrink share
Shrinks the size of a share. Shrinks the size of a share.
Normal response codes: 202 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404)
.. rest_status_code:: success status.yaml
- 202
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
Request Request
------- -------
@ -323,9 +390,20 @@ Unmanage share
This API is available in versions later than or equal to 2.7 This API is available in versions later than or equal to 2.7
Normal response codes: 202 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404), conflict(409)
.. rest_status_code:: success status.yaml
- 202
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
- 409
Request Request
------- -------
@ -351,9 +429,20 @@ Revert share to snapshot
Reverts a share to the specified snapshot, which must be the most recent one Reverts a share to the specified snapshot, which must be the most recent one
known to manila. This API is available in versions later than or equal to 2.27. known to manila. This API is available in versions later than or equal to 2.27.
Normal response codes: 202 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404), conflict(409)
.. rest_status_code:: success status.yaml
- 202
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
- 409
Request Request
------- -------

View File

@ -17,9 +17,19 @@ List export locations
Lists all export locations for a share. Lists all export locations for a share.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404)
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
Request Request
------- -------
@ -54,9 +64,19 @@ Show single export location
Show details of an export location belonging to a share. Show details of an export location belonging to a share.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404)
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
Request Request
------- -------

View File

@ -29,8 +29,17 @@ List share group snapshots
Lists all share group snapshots. Lists all share group snapshots.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401) --------------
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
Request Request
------- -------
@ -72,8 +81,17 @@ List share group snapshots with details
Lists all share group snapshots with details. Lists all share group snapshots with details.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401) --------------
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
Request Request
------- -------
@ -121,8 +139,17 @@ List share group snapshots members
Lists all share group snapshots members. Lists all share group snapshots members.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401) --------------
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
Request Request
------- -------
@ -161,8 +188,18 @@ Show share group snapshot details
Shows details for a share group snapshot. Shows details for a share group snapshot.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), itemNotFound(404) --------------
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 404
Request Request
------- -------
@ -201,10 +238,20 @@ Create share group snapshot
Creates a snapshot from a share. Creates a snapshot from a share.
Response codes
--------------
Normal response codes: 200 .. rest_status_code:: success status.yaml
Error response codes: badRequest(400), unauthorized(401), forbidden(403),
itemNotFound(404), unprocessableEntity(422) - 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
- 422
Request Request
------- -------
@ -254,9 +301,19 @@ Administrator only. Explicitly updates the state of a share group snapshot.
Use the ``policy.json`` file to grant permissions for this action Use the ``policy.json`` file to grant permissions for this action
to other roles. to other roles.
Normal response codes: 202 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404)
.. rest_status_code:: success status.yaml
- 202
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
Request Request
------- -------
@ -281,9 +338,20 @@ Update share group snapshot
Updates a share group snapshot. Updates a share group snapshot.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404), unprocessableEntity(422)
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
- 422
Request Request
------- -------
@ -330,9 +398,19 @@ Delete share group snapshot
Deletes a share group snapshot. Deletes a share group snapshot.
Normal response codes: 202 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404)
.. rest_status_code:: success status.yaml
- 202
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
Request Request
------- -------

View File

@ -41,7 +41,12 @@ List share group types
Lists all share group types. Lists all share group types.
Normal response codes: 200 Response codes
--------------
.. rest_status_code:: success status.yaml
- 200
Request Request
------- -------
@ -75,9 +80,19 @@ List default share group types
Lists default share group types. Lists default share group types.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404)
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
Request Request
------- -------
@ -111,9 +126,19 @@ List share group types extra specs
Lists the extra specifications for a share group type. Lists the extra specifications for a share group type.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404)
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
Request Request
------- -------
@ -144,9 +169,20 @@ Create share group type
Creates a share group type. Creates a share group type.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404), conflict(409)
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
- 409
Request Request
------- -------
@ -192,9 +228,19 @@ Shows access details for a share group type.
You can view access details for private share group types only. You can view access details for private share group types only.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404)
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
Request Request
------- -------
@ -226,9 +272,20 @@ Set extra spec for share group type
Sets an extra specification for the share group type. Sets an extra specification for the share group type.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404), conflict(409)
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
- 409
Request Request
------- -------
@ -266,9 +323,19 @@ Unset an group spec
Unsets an extra specification for the share type. Unsets an extra specification for the share type.
Normal response codes: 202 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404)
.. rest_status_code:: success status.yaml
- 202
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
Request Request
------- -------
@ -289,9 +356,20 @@ Adds share group type access for a project.
You can add access to private share group types only. You can add access to private share group types only.
Normal response codes: 202 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404), conflict(409)
.. rest_status_code:: success status.yaml
- 202
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
- 409
Request Request
------- -------
@ -318,9 +396,19 @@ Removes share group type access from a project.
You can remove access from private share group types only. You can remove access from private share group types only.
Normal response codes: 202 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404)
.. rest_status_code:: success status.yaml
- 202
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
Request Request
------- -------
@ -345,9 +433,19 @@ Delete share group type
Deletes a share group type. Deletes a share group type.
Normal response codes: 202 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404)
.. rest_status_code:: success status.yaml
- 202
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
Request Request
------- -------

View File

@ -30,8 +30,18 @@ List share groups
Lists all share groups. Lists all share groups.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403) --------------
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
Request Request
------- -------
@ -82,9 +92,19 @@ Show share group details
Shows details for a share group. Shows details for a share group.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404)
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
Request Request
------- -------
@ -128,9 +148,21 @@ Create share group
Creates a share group. Creates a share group.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404), conflict(409), unprocessableEntity(422)
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
- 409
- 422
Request Request
------- -------
@ -189,9 +221,19 @@ Administrator only. Explicitly updates the state of a share group.
Use the ``policy.json`` file to grant permissions for this action Use the ``policy.json`` file to grant permissions for this action
to other roles. to other roles.
Normal response codes: 202 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404)
.. rest_status_code:: success status.yaml
- 202
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
Request Request
------- -------
@ -217,9 +259,20 @@ Update share group
Updates a share group. Updates a share group.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404), unprocessableEntity(422)
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
- 422
Request Request
------- -------
@ -271,9 +324,20 @@ Delete share group
Deletes a share group. Deletes a share group.
Normal response codes: 202 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404), conflict(409)
.. rest_status_code:: success status.yaml
- 202
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
- 409
Request Request
------- -------

View File

@ -19,9 +19,19 @@ List export locations
.. rest_method:: GET /v2/{tenant_id}/share_instances/{share_instance_id}/export_locations .. rest_method:: GET /v2/{tenant_id}/share_instances/{share_instance_id}/export_locations
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404)
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
Request Request
------- -------
@ -55,9 +65,19 @@ Show single export location
.. rest_method:: GET /v2/{tenant_id}/share_instances/{share_instance_id}/export_locations/{export_location_id} .. rest_method:: GET /v2/{tenant_id}/share_instances/{share_instance_id}/export_locations/{export_location_id}
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404)
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
Request Request
------- -------

View File

@ -16,8 +16,18 @@ List share instances
Lists all share instances. Lists all share instances.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403) --------------
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
Request Request
------- -------
@ -60,9 +70,19 @@ Show share instance details
Shows details for a share instance. Shows details for a share instance.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404)
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
Request Request
------- -------
@ -107,10 +127,19 @@ Administrator only. Explicitly updates the state of a share instance.
Use the ``policy.json`` file to grant permissions for this action Use the ``policy.json`` file to grant permissions for this action
to other roles. to other roles.
Normal response codes: 202 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404)
.. rest_status_code:: success status.yaml
- 202
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
Request Request
------- -------
@ -138,10 +167,19 @@ Administrator only. Force-deletes a share instance.
Use the ``policy.json`` file to grant permissions for this action Use the ``policy.json`` file to grant permissions for this action
to other roles. to other roles.
Normal response codes: 202 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404)
.. rest_status_code:: success status.yaml
- 202
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
Request Request
------- -------

View File

@ -14,9 +14,19 @@ Show share metadata
Shows the metadata for a share. Shows the metadata for a share.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404)
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
Request Request
------- -------
@ -47,9 +57,20 @@ Set share metadata
Sets the metadata on a share. Sets the metadata on a share.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404), conflict(409)
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
- 409
Request Request
------- -------
@ -87,10 +108,19 @@ Update share metadata
Updates the metadata for a share. Updates the metadata for a share.
Response codes
--------------
Normal response codes: 200 .. rest_status_code:: success status.yaml
Error response codes: badRequest(400), unauthorized(401), forbidden(403),
itemNotFound(404) - 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
Request Request
------- -------
@ -131,9 +161,19 @@ Un-sets the metadata on a share.
To unset a metadata key value, specify only the key name in the To unset a metadata key value, specify only the key name in the
URI. URI.
Normal response codes: 202 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404)
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
Request Request
------- -------

View File

@ -33,9 +33,20 @@ ends must set the ``driver_handles_share_servers`` parameter to
action is not supported. You can configure a back end in the action is not supported. You can configure a back end in the
``manila.conf`` file. ``manila.conf`` file.
Normal response codes: 202 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404), conflict(409)
.. rest_status_code:: success status.yaml
- 202
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
- 409
Request Request
------- -------
@ -58,9 +69,20 @@ Start Migration (Since version 2.15)
Initiates share migration. This API will initiate the share data copy to the Initiates share migration. This API will initiate the share data copy to the
new host. The copy operation is non-disruptive. new host. The copy operation is non-disruptive.
Normal response codes: 202 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404), conflict(409)
.. rest_status_code:: success status.yaml
- 202
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
- 409
Request Request
------- -------
@ -83,9 +105,20 @@ Complete Migration (Since version 2.15)
Completes share migration. This API will initiate the switch-over from the Completes share migration. This API will initiate the switch-over from the
source to destination share. This operation is disruptive. source to destination share. This operation is disruptive.
Normal response codes: 202 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404), conflict(409)
.. rest_status_code:: success status.yaml
- 202
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
- 409
Request Request
------- -------

View File

@ -44,8 +44,18 @@ List share networks
Lists all share networks. Lists all share networks.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403) --------------
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
Request Request
------- -------
@ -79,8 +89,18 @@ List share networks with details
Lists all share networks with details. Lists all share networks with details.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403) --------------
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
Request Request
------- -------
@ -123,9 +143,19 @@ Show share network details
Shows details for a share network. Shows details for a share network.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404)
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
Request Request
------- -------
@ -168,9 +198,20 @@ Create share network
Creates a share network. Creates a share network.
Normal response codes: 202 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
entityTooLarge(413), unprocessableEntity(422)
.. rest_status_code:: success status.yaml
- 202
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 413
- 422
Request Request
------- -------
@ -221,9 +262,20 @@ Add security service to share network
Adds a security service to a share network. Adds a security service to a share network.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404), conflict(409)
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
- 409
Request Request
------- -------
@ -274,9 +326,19 @@ Remove security service from share network
Removes a security service from a share network. Removes a security service from a share network.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404)
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
Request Request
@ -329,9 +391,20 @@ Updates a share network.
Note that if the share network is used by any share server, you can Note that if the share network is used by any share server, you can
update only the ``name`` and ``description`` attributes. update only the ``name`` and ``description`` attributes.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404), unprocessableEntity(422)
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
- 422
Request Request
------- -------
@ -383,9 +456,20 @@ Delete share network
Deletes a share network. Deletes a share network.
Normal response codes: 202 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404), conflict(409)
.. rest_status_code:: success status.yaml
- 202
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
- 409
Request Request
------- -------

View File

@ -59,10 +59,19 @@ Create share replica
Create a share replica for the share. Create a share replica for the share.
Normal response codes: 202 Response codes
--------------
Error response codes: badRequest(400), unauthorized(401), forbidden(403), .. rest_status_code:: success status.yaml
itemNotFound(404)
- 202
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
Request Request
------- -------
@ -111,10 +120,19 @@ Promote share replica
Promotes a replica to ``active`` replica state. Promotes a replica to ``active`` replica state.
Normal response codes: 202 Response codes
--------------
Error response codes: badRequest(400), unauthorized(401), forbidden(403), .. rest_status_code:: success status.yaml
itemNotFound(404)
- 202
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
Request Request
------- -------
@ -132,10 +150,19 @@ Resync share replica
Resync a replica with its ``active`` mirror. Resync a replica with its ``active`` mirror.
Normal response codes: 202 Response codes
--------------
Error response codes: badRequest(400), unauthorized(401), forbidden(403), .. rest_status_code:: success status.yaml
itemNotFound(404)
- 202
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
Request Request
------- -------
@ -153,10 +180,19 @@ List share replicas
Lists share replicas. Lists share replicas.
Normal response codes: 200 Response codes
--------------
Error response codes: badRequest(400), unauthorized(401), forbidden(403), .. rest_status_code:: success status.yaml
itemNotFound(404)
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
Request Request
------- -------
@ -190,10 +226,19 @@ List share replicas with details
Lists share replicas with details. Lists share replicas with details.
Normal response codes: 200 Response codes
--------------
Error response codes: badRequest(400), unauthorized(401), forbidden(403), .. rest_status_code:: success status.yaml
itemNotFound(404)
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
Request Request
------- -------
@ -233,10 +278,19 @@ Show share replica
Show a share replica. Show a share replica.
Normal response codes: 200 Response codes
--------------
Error response codes: badRequest(400), unauthorized(401), forbidden(403), .. rest_status_code:: success status.yaml
itemNotFound(404)
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
Request Request
------- -------
@ -280,10 +334,19 @@ Administrator only. Explicitly updates the ``status`` of a share replica.
Use the ``policy.json`` file to grant permissions for this action Use the ``policy.json`` file to grant permissions for this action
to other roles. to other roles.
Normal response codes: 202 Response codes
--------------
Error response codes: badRequest(400), unauthorized(401), forbidden(403), .. rest_status_code:: success status.yaml
itemNotFound(404)
- 202
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
Request Request
------- -------
@ -312,10 +375,19 @@ Administrator only. Explicitly updates the ``replica state`` of a share replica.
Use the ``policy.json`` file to grant permissions for this action Use the ``policy.json`` file to grant permissions for this action
to other roles. to other roles.
Normal response codes: 202 Response codes
--------------
Error response codes: badRequest(400), unauthorized(401), forbidden(403), .. rest_status_code:: success status.yaml
itemNotFound(404)
- 202
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
Request Request
------- -------
@ -341,10 +413,20 @@ Delete share replica
Deletes a share replica. Deletes a share replica.
Normal response codes: 202 Response codes
--------------
Error response codes: badRequest(400), unauthorized(401), forbidden(403), .. rest_status_code:: success status.yaml
itemNotFound(404), conflict(409)
- 202
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
- 409
.. note:: .. note::
@ -369,10 +451,19 @@ Administrator only. Force-deletes a share replica in any state.
Use the ``policy.json`` file to grant permissions for this action Use the ``policy.json`` file to grant permissions for this action
to other roles. to other roles.
Normal response codes: 202 Response codes
--------------
Error response codes: badRequest(400), unauthorized(401), forbidden(403), .. rest_status_code:: success status.yaml
itemNotFound(404)
- 202
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
.. note:: .. note::

View File

@ -47,8 +47,18 @@ List share servers
Lists all share servers. Lists all share servers.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403) --------------
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
Request Request
------- -------
@ -84,9 +94,19 @@ Show share server details
Shows details for a share server. Shows details for a share server.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404)
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
Request Request
------- -------
@ -128,9 +148,20 @@ Deletes a share server.
An administrator can delete an active share server only if it An administrator can delete an active share server only if it
contains no dependent shares. contains no dependent shares.
Normal response codes: 202 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404), conflict(409)
.. rest_status_code:: success status.yaml
- 202
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
- 409
Request Request
------- -------

View File

@ -92,7 +92,12 @@ List share types
Lists all share types. Lists all share types.
Normal response codes: 200 Response codes
--------------
.. rest_status_code:: success status.yaml
- 200
Request Request
------- -------
@ -133,9 +138,19 @@ List default share types
Lists default share types. Lists default share types.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404)
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
Request Request
------- -------
@ -172,9 +187,19 @@ Show share type detail
Shows details for a specified share type. Shows details for a specified share type.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404)
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
Request Request
------- -------
@ -216,9 +241,19 @@ List extra specs
Lists the extra specifications for a share type. Lists the extra specifications for a share type.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404)
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
Request Request
------- -------
@ -255,9 +290,20 @@ Create share type
Creates a share type. Creates a share type.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404), conflict(409)
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
- 409
Request Request
------- -------
@ -318,9 +364,19 @@ Shows access details for a share type.
You can view access details for private share types only. You can view access details for private share types only.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404)
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
Request Request
------- -------
@ -357,9 +413,20 @@ keys it uses. For details, see `Capabilities and Extra-Specs
<https://docs.openstack.org/manila/latest/admin/ <https://docs.openstack.org/manila/latest/admin/
capabilities_and_extra_specs.html>`_ and documentation for your driver. capabilities_and_extra_specs.html>`_ and documentation for your driver.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404), conflict(409)
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
- 409
Request Request
------- -------
@ -397,9 +464,19 @@ Unset an extra spec
Unsets an extra specification for the share type. Unsets an extra specification for the share type.
Normal response codes: 202 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404)
.. rest_status_code:: success status.yaml
- 202
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
Request Request
------- -------
@ -420,9 +497,20 @@ Adds share type access for a project.
You can add access to private share types only. You can add access to private share types only.
Normal response codes: 202 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404), conflict(409)
.. rest_status_code:: success status.yaml
- 202
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
- 409
Request Request
------- -------
@ -449,9 +537,19 @@ Removes share type access from a project.
You can remove access from private share types only. You can remove access from private share types only.
Normal response codes: 202 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404)
.. rest_status_code:: success status.yaml
- 202
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
Request Request
------- -------
@ -476,9 +574,19 @@ Delete share type
Deletes a share type. Deletes a share type.
Normal response codes: 202 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404)
.. rest_status_code:: success status.yaml
- 202
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
Request Request
------- -------

View File

@ -89,8 +89,18 @@ List shares
Lists all shares. Lists all shares.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403) --------------
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
Request Request
------- -------
@ -145,9 +155,20 @@ List shares with details
Lists all shares, with details. Lists all shares, with details.
Normal response codes: 202 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404), conflict(409)
.. rest_status_code:: success status.yaml
- 202
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
- 409
Request Request
------- -------
@ -227,9 +248,19 @@ Show share details
Shows details for a share. Shows details for a share.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404)
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
Request Request
------- -------
@ -286,9 +317,21 @@ Create share
Creates a share. Creates a share.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404), conflict(409), unprocessableEntity(422)
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
- 409
- 422
Request Request
------- -------
@ -366,9 +409,21 @@ Manage share
Configures Shared File Systems to manage a share. Configures Shared File Systems to manage a share.
This API is available for API versions later than or equal to 2.7 This API is available for API versions later than or equal to 2.7
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404), conflict(409), unprocessableEntity(422)
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
- 409
- 422
Request Request
------- -------
@ -450,9 +505,20 @@ You can update these attributes:
If you try to update other attributes, they retain their previous If you try to update other attributes, they retain their previous
values. values.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404), unprocessableEntity(422)
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
- 422
Request Request
------- -------
@ -518,9 +584,20 @@ Delete share
Deletes a share. Deletes a share.
Normal response codes: 202 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404), conflict(409)
.. rest_status_code:: success status.yaml
- 202
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
- 409
Request Request
------- -------

View File

@ -23,8 +23,18 @@ List share snapshot instances
Lists all share snapshot instances. Lists all share snapshot instances.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403) --------------
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
Request Request
------- -------
@ -57,8 +67,18 @@ List share snapshot instances with details
Lists all share snapshot instances with details. Lists all share snapshot instances with details.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403) --------------
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
Request Request
------- -------
@ -97,9 +117,19 @@ Show share snapshot instance details
Shows details for a share snapshot instance. Shows details for a share snapshot instance.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404)
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
Request Request
------- -------
@ -141,10 +171,19 @@ Administrator only. Explicitly updates the state of a share snapshot instance.
Use the ``policy.json`` file to grant permissions for this action Use the ``policy.json`` file to grant permissions for this action
to other roles. to other roles.
Normal response codes: 202 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404)
.. rest_status_code:: success status.yaml
- 202
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
Request Request
------- -------

View File

@ -46,8 +46,17 @@ List share snapshots
Lists all share snapshots. Lists all share snapshots.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401) --------------
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
Request Request
------- -------
@ -80,8 +89,17 @@ List share snapshots with details
Lists all share snapshots with details. Lists all share snapshots with details.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401) --------------
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
Request Request
------- -------
@ -121,8 +139,18 @@ Show share snapshot details
Shows details for a share snapshot. Shows details for a share snapshot.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), itemNotFound(404) --------------
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 404
Request Request
------- -------
@ -162,9 +190,20 @@ Create share snapshot
Creates a snapshot from a share. Creates a snapshot from a share.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404), unprocessableEntity(422)
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
- 422
Request Request
------- -------
@ -215,9 +254,20 @@ Manage share snapshot
(Since API v2.12) Configures Shared File Systems to manage a share snapshot. (Since API v2.12) Configures Shared File Systems to manage a share snapshot.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404), conflict(409)
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
- 409
Request Request
------- -------
@ -269,9 +319,20 @@ Unmanage share snapshot
(Since API v2.12) Configures Shared File Systems to stop managing a share snapshot. (Since API v2.12) Configures Shared File Systems to stop managing a share snapshot.
Normal response codes: 202 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404), conflict(409)
.. rest_status_code:: success status.yaml
- 202
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
- 409
Request Request
------- -------
@ -303,9 +364,19 @@ Administrator only. Explicitly updates the state of a share snapshot.
Use the ``policy.json`` file to grant permissions for this action Use the ``policy.json`` file to grant permissions for this action
to other roles. to other roles.
Normal response codes: 202 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404)
.. rest_status_code:: success status.yaml
- 202
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
Request Request
------- -------
@ -333,9 +404,19 @@ Administrator only. Force-deletes a share snapshot in any state.
Use the ``policy.json`` file to grant permissions for this action Use the ``policy.json`` file to grant permissions for this action
to other roles. to other roles.
Normal response codes: 202 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404)
.. rest_status_code:: success status.yaml
- 202
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
Request Request
------- -------
@ -371,9 +452,20 @@ You can update these attributes:
If you try to update other attributes, they retain their previous If you try to update other attributes, they retain their previous
values. values.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404), unprocessableEntity(422)
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
- 422
Request Request
------- -------
@ -420,9 +512,19 @@ Delete share snapshot
Deletes a share snapshot. Deletes a share snapshot.
Normal response codes: 202 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404)
.. rest_status_code:: success status.yaml
- 202
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
Request Request
------- -------

View File

@ -0,0 +1,59 @@
200:
default: |
Request was successful.
201:
default: |
Request has been fulfilled and new resource created.
202:
default: |
Request is accepted, but processing may take some time.
203:
default: |
Returned information is not full set, but a subset.
204:
default: |
Request fulfilled but service does not return anything.
300:
default: |
The resource corresponds to more than one representation.
400:
default: |
Some content in the request was invalid.
401:
default: |
User must authenticate before making a request.
403:
default: |
Policy does not allow current user to do this operation.
404:
default: |
The requested resource could not be found.
405:
default: |
Method is not valid for this endpoint and resource.
409:
default: |
This resource has an action in progress that would conflict with this request.
413:
default: |
This operation cannot be completed.
415:
default: |
The entity of the request is in a format not supported by the requested
resource for the method.
422:
default: |
The entity of the request is in a format not processable by the requested
resource for the method.
500:
default: |
Something went wrong with the service which prevents it from fulfilling
the request.
501:
default: |
The service does not have the functionality required to fulfill this
request.
503:
default: |
The service cannot handle the request right now.

View File

@ -25,8 +25,18 @@ List user messages
Lists all user messages. Lists all user messages.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403) --------------
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
Request Request
------- -------
@ -75,9 +85,19 @@ Show user message details
Shows details for a user message. Shows details for a user message.
Normal response codes: 200 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404)
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
Request Request
------- -------
@ -116,9 +136,19 @@ Delete message
Deletes a user message. Deletes a user message.
Normal response codes: 202 Response codes
Error response codes: badRequest(400), unauthorized(401), forbidden(403), --------------
itemNotFound(404)
.. rest_status_code:: success status.yaml
- 202
.. rest_status_code:: error status.yaml
- 400
- 401
- 403
- 404
Request Request
------- -------

View File

@ -32,7 +32,12 @@ the deployment. Links to more specific information will be provided
for each API version, as well as information about supported min and for each API version, as well as information about supported min and
max microversions. max microversions.
Normal Response Codes: 300 Response codes
--------------
.. rest_status_code:: success status.yaml
- 300
Response Response
-------- --------
@ -74,7 +79,12 @@ This gets the details of a specific API at it's root. Nearly all this
information exists at the API root, so this is mostly a redundant information exists at the API root, so this is mostly a redundant
operation. operation.
Normal Response Codes: 200 Response codes
--------------
.. rest_status_code:: success status.yaml
- 200
Request Request
------- -------