Merge pull request #29600 from allencloud/update-docs-about-service-update

update service update in docs
(cherry picked from commit 524704143b)

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Vincent Demeester 2016-12-22 15:17:51 +01:00 committed by Sebastiaan van Stijn
parent d383ff9e4d
commit 0e3248ebeb
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C
2 changed files with 2 additions and 1 deletions

View file

@ -4835,7 +4835,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

@ -83,6 +83,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