зеркало из https://github.com/microsoft/docker.git
Add missing "tag" parameter to tag API
Closes #4877 Signed-off-by: Doug Davis <dug@us.ibm.com>
This commit is contained in:
Родитель
1b6da6a6fe
Коммит
ee0b64f7a7
|
@ -673,7 +673,7 @@ Tag the image `name` into a repository
|
|||
|
||||
**Example request**:
|
||||
|
||||
POST /images/test/tag?repo=myrepo&force=0 HTTP/1.1
|
||||
POST /images/test/tag?repo=myrepo&force=0&tag=v42 HTTP/1.1
|
||||
|
||||
**Example response**:
|
||||
|
||||
|
@ -683,6 +683,7 @@ Query Parameters:
|
|||
|
||||
- **repo** – The repository to tag in
|
||||
- **force** – 1/True/true or 0/False/false, default false
|
||||
- **tag** - The new tag name
|
||||
|
||||
Status Codes:
|
||||
|
||||
|
|
|
@ -683,7 +683,7 @@ Tag the image `name` into a repository
|
|||
|
||||
**Example request**:
|
||||
|
||||
POST /images/test/tag?repo=myrepo&force=0 HTTP/1.1
|
||||
POST /images/test/tag?repo=myrepo&force=0&tag=v42 HTTP/1.1
|
||||
|
||||
**Example response**:
|
||||
|
||||
|
@ -693,6 +693,7 @@ Query Parameters:
|
|||
|
||||
- **repo** – The repository to tag in
|
||||
- **force** – 1/True/true or 0/False/false, default false
|
||||
- **tag** - The new tag name
|
||||
|
||||
Status Codes:
|
||||
|
||||
|
|
|
@ -864,7 +864,7 @@ Tag the image `name` into a repository
|
|||
|
||||
**Example request**:
|
||||
|
||||
POST /images/test/tag?repo=myrepo&force=0 HTTP/1.1
|
||||
POST /images/test/tag?repo=myrepo&force=0&tag=v42 HTTP/1.1
|
||||
|
||||
**Example response**:
|
||||
|
||||
|
@ -874,6 +874,7 @@ Query Parameters:
|
|||
|
||||
- **repo** – The repository to tag in
|
||||
- **force** – 1/True/true or 0/False/false, default false
|
||||
- **tag** - The new tag name
|
||||
|
||||
Status Codes:
|
||||
|
||||
|
|
|
@ -870,7 +870,7 @@ Tag the image `name` into a repository
|
|||
|
||||
**Example request**:
|
||||
|
||||
POST /images/test/tag?repo=myrepo&force=0 HTTP/1.1
|
||||
POST /images/test/tag?repo=myrepo&force=0&tag=v42 HTTP/1.1
|
||||
|
||||
**Example response**:
|
||||
|
||||
|
@ -880,6 +880,7 @@ Query Parameters:
|
|||
|
||||
- **repo** – The repository to tag in
|
||||
- **force** – 1/True/true or 0/False/false, default false
|
||||
- **tag** - The new tag name
|
||||
|
||||
Status Codes:
|
||||
|
||||
|
|
|
@ -930,7 +930,7 @@ Tag the image `name` into a repository
|
|||
|
||||
**Example request**:
|
||||
|
||||
POST /images/test/tag?repo=myrepo&force=0 HTTP/1.1
|
||||
POST /images/test/tag?repo=myrepo&force=0&tag=v42 HTTP/1.1
|
||||
|
||||
**Example response**:
|
||||
|
||||
|
@ -940,6 +940,7 @@ Query Parameters:
|
|||
|
||||
- **repo** – The repository to tag in
|
||||
- **force** – 1/True/true or 0/False/false, default false
|
||||
- **tag** - The new tag name
|
||||
|
||||
Status Codes:
|
||||
|
||||
|
|
|
@ -919,7 +919,7 @@ Tag the image `name` into a repository
|
|||
|
||||
**Example request**:
|
||||
|
||||
POST /images/test/tag?repo=myrepo&force=0 HTTP/1.1
|
||||
POST /images/test/tag?repo=myrepo&force=0&tag=v42 HTTP/1.1
|
||||
|
||||
**Example response**:
|
||||
|
||||
|
@ -929,6 +929,7 @@ Query Parameters:
|
|||
|
||||
- **repo** – The repository to tag in
|
||||
- **force** – 1/True/true or 0/False/false, default false
|
||||
- **tag** - The new tag name
|
||||
|
||||
Status Codes:
|
||||
|
||||
|
|
|
@ -924,7 +924,7 @@ Tag the image `name` into a repository
|
|||
|
||||
**Example request**:
|
||||
|
||||
POST /images/test/tag?repo=myrepo&force=0 HTTP/1.1
|
||||
POST /images/test/tag?repo=myrepo&force=0&tag=v42 HTTP/1.1
|
||||
|
||||
**Example response**:
|
||||
|
||||
|
@ -934,6 +934,7 @@ Query Parameters:
|
|||
|
||||
- **repo** – The repository to tag in
|
||||
- **force** – 1/True/true or 0/False/false, default false
|
||||
- **tag** - The new tag name
|
||||
|
||||
Status Codes:
|
||||
|
||||
|
|
|
@ -952,7 +952,7 @@ Tag the image `name` into a repository
|
|||
|
||||
**Example request**:
|
||||
|
||||
POST /images/test/tag?repo=myrepo&force=0 HTTP/1.1
|
||||
POST /images/test/tag?repo=myrepo&force=0&tag=v42 HTTP/1.1
|
||||
|
||||
**Example response**:
|
||||
|
||||
|
@ -962,6 +962,7 @@ Query Parameters:
|
|||
|
||||
- **repo** – The repository to tag in
|
||||
- **force** – 1/True/true or 0/False/false, default false
|
||||
- **tag** - The new tag name
|
||||
|
||||
Status Codes:
|
||||
|
||||
|
|
|
@ -702,7 +702,7 @@ Tag the image `name` into a repository
|
|||
|
||||
**Example request**:
|
||||
|
||||
POST /images/test/tag?repo=myrepo&force=0 HTTP/1.1
|
||||
POST /images/test/tag?repo=myrepo&force=0&tag=v42 HTTP/1.1
|
||||
|
||||
**Example response**:
|
||||
|
||||
|
@ -712,6 +712,7 @@ Query Parameters:
|
|||
|
||||
- **repo** – The repository to tag in
|
||||
- **force** – 1/True/true or 0/False/false, default false
|
||||
- **tag** - The new tag name
|
||||
|
||||
Status Codes:
|
||||
|
||||
|
|
|
@ -749,7 +749,7 @@ Tag the image `name` into a repository
|
|||
|
||||
**Example request**:
|
||||
|
||||
POST /images/test/tag?repo=myrepo&force=0 HTTP/1.1
|
||||
POST /images/test/tag?repo=myrepo&force=0&tag=v42 HTTP/1.1
|
||||
|
||||
**Example response**:
|
||||
|
||||
|
@ -759,6 +759,7 @@ Query Parameters:
|
|||
|
||||
- **repo** – The repository to tag in
|
||||
- **force** – 1/True/true or 0/False/false, default false
|
||||
- **tag** - The new tag name
|
||||
|
||||
Status Codes:
|
||||
|
||||
|
|
|
@ -792,7 +792,7 @@ Tag the image `name` into a repository
|
|||
|
||||
**Example request**:
|
||||
|
||||
POST /images/test/tag?repo=myrepo&force=0 HTTP/1.1
|
||||
POST /images/test/tag?repo=myrepo&force=0&tag=v42 HTTP/1.1
|
||||
|
||||
**Example response**:
|
||||
|
||||
|
@ -802,6 +802,7 @@ Query Parameters:
|
|||
|
||||
- **repo** – The repository to tag in
|
||||
- **force** – 1/True/true or 0/False/false, default false
|
||||
- **tag** - The new tag name
|
||||
|
||||
Status Codes:
|
||||
|
||||
|
|
|
@ -797,7 +797,7 @@ Tag the image `name` into a repository
|
|||
|
||||
**Example request**:
|
||||
|
||||
POST /images/test/tag?repo=myrepo&force=0 HTTP/1.1
|
||||
POST /images/test/tag?repo=myrepo&force=0&tag=v42 HTTP/1.1
|
||||
|
||||
**Example response**:
|
||||
|
||||
|
@ -807,6 +807,7 @@ Query Parameters:
|
|||
|
||||
- **repo** – The repository to tag in
|
||||
- **force** – 1/True/true or 0/False/false, default false
|
||||
- **tag** - The new tag name
|
||||
|
||||
Status Codes:
|
||||
|
||||
|
|
|
@ -901,7 +901,7 @@ Tag the image `name` into a repository
|
|||
|
||||
**Example request**:
|
||||
|
||||
POST /images/test/tag?repo=myrepo&force=0 HTTP/1.1
|
||||
POST /images/test/tag?repo=myrepo&force=0&tag=v42 HTTP/1.1
|
||||
|
||||
**Example response**:
|
||||
|
||||
|
@ -911,6 +911,7 @@ Query Parameters:
|
|||
|
||||
- **repo** – The repository to tag in
|
||||
- **force** – 1/True/true or 0/False/false, default false
|
||||
- **tag** - The new tag name
|
||||
|
||||
Status Codes:
|
||||
|
||||
|
|
|
@ -823,7 +823,7 @@ Tag the image `name` into a repository
|
|||
|
||||
**Example request**:
|
||||
|
||||
POST /images/test/tag?repo=myrepo&force=0 HTTP/1.1
|
||||
POST /images/test/tag?repo=myrepo&force=0&tag=v42 HTTP/1.1
|
||||
|
||||
**Example response**:
|
||||
|
||||
|
@ -833,6 +833,7 @@ Query Parameters:
|
|||
|
||||
- **repo** – The repository to tag in
|
||||
- **force** – 1/True/true or 0/False/false, default false
|
||||
- **tag** - The new tag name
|
||||
|
||||
Status Codes:
|
||||
|
||||
|
|
|
@ -871,7 +871,7 @@ Tag the image `name` into a repository
|
|||
|
||||
**Example request**:
|
||||
|
||||
POST /images/test/tag?repo=myrepo&force=0 HTTP/1.1
|
||||
POST /images/test/tag?repo=myrepo&force=0&tag=v42 HTTP/1.1
|
||||
|
||||
**Example response**:
|
||||
|
||||
|
@ -881,6 +881,7 @@ Query Parameters:
|
|||
|
||||
- **repo** – The repository to tag in
|
||||
- **force** – 1/True/true or 0/False/false, default false
|
||||
- **tag** - The new tag name
|
||||
|
||||
Status Codes:
|
||||
|
||||
|
|
|
@ -897,7 +897,7 @@ Tag the image `name` into a repository
|
|||
|
||||
**Example request**:
|
||||
|
||||
POST /images/test/tag?repo=myrepo&force=0 HTTP/1.1
|
||||
POST /images/test/tag?repo=myrepo&force=0&tag=v42 HTTP/1.1
|
||||
|
||||
**Example response**:
|
||||
|
||||
|
@ -907,6 +907,7 @@ Query Parameters:
|
|||
|
||||
- **repo** – The repository to tag in
|
||||
- **force** – 1/True/true or 0/False/false, default false
|
||||
- **tag** - The new tag name
|
||||
|
||||
Status Codes:
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче