浏览代码

Merge pull request #39700 from rindeal/patch-1

Document `message` parameter to `/images/create`
Brian Goff 5 年之前
父节点
当前提交
a874c42eda
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      api/swagger.yaml

+ 4 - 0
api/swagger.yaml

@@ -6667,6 +6667,10 @@ paths:
           in: "query"
           description: "Tag or digest. If empty when pulling an image, this causes all tags for the given image to be pulled."
           type: "string"
+        - name: "message"
+          in: "query"
+          description: "Set commit message for imported image."
+          type: "string"
         - name: "inputImage"
           in: "body"
           description: "Image content if the value `-` has been specified in fromSrc query parameter"