1
0
mirror of https://github.com/docker/cli.git synced 2026-01-13 18:22:35 +03:00

update service update in docs

Signed-off-by: allencloud <allen.sun@daocloud.io>
Upstream-commit: b44efead25a1d2600f0950e5e2800c17e7489a43
Component: engine
This commit is contained in:
allencloud
2016-12-21 01:14:02 +08:00
parent 5c41fff748
commit 5f8f7eaafe
2 changed files with 2 additions and 1 deletions

View File

@@ -4823,7 +4823,7 @@ Return information on the service `id`.
#### Update a service
`POST /services/(id or name)/update`
`POST /services/(id)/update`
Update a service. When using this endpoint to create a service using a
private repository from the registry, the `X-Registry-Auth` header can be used

View File

@@ -81,6 +81,7 @@ keywords: "API, Docker, rcli, REST, documentation"
* `DELETE /secrets/{id}` removes the secret `id`.
* `GET /secrets/{id}` returns information on the secret `id`.
* `POST /secrets/{id}/update` updates the secret `id`.
* `POST /services/(id or name)/update` now accepts service name or prefix of service id as a parameter.
## v1.24 API changes