Add rebuild container to api-ref doc

Change-Id: I19feb8d9fbf828d816f0088daf0d5279c9bb6cc8
This commit is contained in:
caishan 2018-03-18 23:17:53 -07:00
parent 956461e9c3
commit 5d123efc27

View File

@ -563,6 +563,44 @@ This request does not return anything in the response body.
- X-Openstack-Request-Id: request_id
Rebuild a container
===================
.. rest_method:: POST /v1/containers/{container_ident}/rebuild
Rebuild a container.
Response Codes
--------------
.. rest_status_code:: success status.yaml
- 202
.. rest_status_code:: error status.yaml
- 401
- 403
- 404
Request
-------
.. rest_parameters:: parameters.yaml
- container_ident: container_ident
Response
--------
This request does not return anything in the response body.
.. rest_parameters:: parameters.yaml
- X-Openstack-Request-Id: request_id
Restart a container
===================