You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: api/swagger.yaml
+6-22Lines changed: 6 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -6181,17 +6181,9 @@ paths:
6181
6181
6182
6182
Only the registry domain name (and port if not the default 443) are required. However, for legacy reasons, the Docker Hub registry must be specified with both a `https://` prefix and a `/v1/` suffix even though Docker will prefer to use the v2 registry API.
6183
6183
type: "string"
6184
-
- name: "X-Requested-Platform"
6185
-
in: "header"
6186
-
description: |
6187
-
This is a JSON object representing an OCI image-spec `Platform` object. It is used to request a platform in the case that the engine supports multiple platforms. For example:
6188
-
6189
-
```
6190
-
{
6191
-
"architecture": "amd64",
6192
-
"os": "linux"
6193
-
}
6194
-
```
6184
+
- name: "platform"
6185
+
in: "query"
6186
+
description: "Platform in the format os[/arch[/variant]]"
6195
6187
type: "string"
6196
6188
default: ""
6197
6189
responses:
@@ -6275,17 +6267,9 @@ paths:
6275
6267
in: "header"
6276
6268
description: "A base64-encoded auth configuration. [See the authentication section for details.](#section/Authentication)"
6277
6269
type: "string"
6278
-
- name: "X-Requested-Platform"
6279
-
in: "header"
6280
-
description: |
6281
-
This is a JSON object representing an OCI image-spec `Platform` object. It is used to request a platform in the case that the engine supports multiple platforms. For example:
6282
-
6283
-
```
6284
-
{
6285
-
"architecture": "amd64",
6286
-
"os": "linux"
6287
-
}
6288
-
```
6270
+
- name: "platform"
6271
+
in: "query"
6272
+
description: "Platform in the format os[/arch[/variant]]"
0 commit comments