Selaa lähdekoodia

Add more API doc details on service update version.

Hopefully this removes some confusion as to what this version number
should be.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
Brian Goff 6 vuotta sitten
vanhempi
commit
5bdfa19b86
1 muutettua tiedostoa jossa 4 lisäystä ja 1 poistoa
  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"