Browse code

update service update in docs

Signed-off-by: allencloud <allen.sun@daocloud.io>

allencloud authored on 2016/12/21 02:14:02
Showing 2 changed files
... ...
@@ -4823,7 +4823,7 @@ Return information on the service `id`.
4823 4823
 
4824 4824
 #### Update a service
4825 4825
 
4826
-`POST /services/(id or name)/update`
4826
+`POST /services/(id)/update`
4827 4827
 
4828 4828
 Update a service. When using this endpoint to create a service using a
4829 4829
 private repository from the registry, the `X-Registry-Auth` header can be used
... ...
@@ -81,6 +81,7 @@ keywords: "API, Docker, rcli, REST, documentation"
81 81
 * `DELETE /secrets/{id}` removes the secret `id`.
82 82
 * `GET /secrets/{id}` returns information on the secret `id`.
83 83
 * `POST /secrets/{id}/update` updates the secret `id`.
84
+* `POST /services/(id or name)/update` now accepts service name or prefix of service id as a parameter.
84 85
 
85 86
 ## v1.24 API changes
86 87