فهرست منبع

update service update in docs

Signed-off-by: allencloud <allen.sun@daocloud.io>
allencloud 8 سال پیش
والد
کامیت
b44efead25
2فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 1 1
      docs/api/v1.24.md
  2. 1 0
      docs/api/version-history.md

+ 1 - 1
docs/api/v1.24.md

@@ -4823,7 +4823,7 @@ Return information on the service `id`.
 
 
 #### Update a service
 #### 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
 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
 private repository from the registry, the `X-Registry-Auth` header can be used

+ 1 - 0
docs/api/version-history.md

@@ -81,6 +81,7 @@ keywords: "API, Docker, rcli, REST, documentation"
 * `DELETE /secrets/{id}` removes the secret `id`.
 * `DELETE /secrets/{id}` removes the secret `id`.
 * `GET /secrets/{id}` returns information on the secret `id`.
 * `GET /secrets/{id}` returns information on the secret `id`.
 * `POST /secrets/{id}/update` updates 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
 ## v1.24 API changes