mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Fix Docker Hub tags list specification
The current implementation of the Docker Hub returns a list of objects containing the tag name and the layer id. Docker-DCO-1.1-Signed-off-by: Vincent Giersch <vincent.giersch@ovh.net>
This commit is contained in:
parent
3afe9dbd24
commit
c30ccc62e4
1 changed files with 11 additions and 5 deletions
|
@ -579,13 +579,19 @@ The following naming restrictions apply:
|
||||||
|
|
||||||
### Get all tags:
|
### Get all tags:
|
||||||
|
|
||||||
GET /v1/repositories/<namespace>/<repository_name>/tags
|
GET /v1/repositories/<namespace>/<repository_name>/tags
|
||||||
|
|
||||||
**Return**: HTTP 200
|
**Return**: HTTP 200
|
||||||
{ "latest":
|
[
|
||||||
"9e89cc6f0bc3c38722009fe6857087b486531f9a779a0c17e3ed29dae8f12c4f",
|
{
|
||||||
“0.1.1”:
|
"layer": "9e89cc6f",
|
||||||
“b486531f9a779a0c17e3ed29dae8f12c4f9e89cc6f0bc3c38722009fe6857087” }
|
"name": "latest"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"layer": "b486531f",
|
||||||
|
"name": "0.1.1",
|
||||||
|
}
|
||||||
|
]
|
||||||
|
|
||||||
**4.3.2 Read the content of a tag (resolve the image id):**
|
**4.3.2 Read the content of a tag (resolve the image id):**
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue