Merge "Add rebuild container to api-ref doc"

This commit is contained in:
Zuul 2018-03-26 02:16:19 +00:00 committed by Gerrit Code Review
commit 2a6302624f

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
===================