Merge "[Api-ref] Add api doc for attachment complete"
This commit is contained in:
commit
c62a2925aa
@ -251,3 +251,29 @@ Response Example
|
||||
|
||||
.. literalinclude:: ./samples/attachment-update-response.json
|
||||
:language: javascript
|
||||
|
||||
|
||||
Complete attachment
|
||||
~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. rest_method:: POST /v3/{project_id}/attachments/{attachment_id}/action
|
||||
|
||||
Complete an attachment for a cinder volume.
|
||||
|
||||
Normal response codes: 202
|
||||
Error response codes: badRequest(400), itemNotFound(404)
|
||||
|
||||
|
||||
Request
|
||||
-------
|
||||
|
||||
.. rest_parameters:: parameters.yaml
|
||||
|
||||
- project_id: project_id_path
|
||||
- attachment_id: attachment_id_1
|
||||
|
||||
Request Example
|
||||
---------------
|
||||
|
||||
.. literalinclude:: ./samples/attachment-complete.json
|
||||
:language: javascript
|
||||
|
4
api-ref/source/v3/samples/attachment-complete.json
Normal file
4
api-ref/source/v3/samples/attachment-complete.json
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"os-complete": {
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user