浏览代码

Merge pull request #38040 from cpuguy83/document_service_version

Add more API doc details on service update version.
Brian Goff 6 年之前
父节点
当前提交
5271c7cb48
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      api/swagger.yaml

+ 4 - 1
api/swagger.yaml

@@ -9360,7 +9360,10 @@ paths:
 
         - name: "version"
           in: "query"
-          description: "The version number of the service object being updated. This is required to avoid conflicting writes."
+          description: "The version number of the service object being updated.
+          This is required to avoid conflicting writes.
+          This version number should be the value as currently set on the service *before* the update.
+          You can find the current version by calling `GET /services/{id}`"
           required: true
           type: "integer"
         - name: "registryAuthFrom"