From c30ccc62e447ed570ca283feedd872eb359d457b Mon Sep 17 00:00:00 2001 From: Vincent Giersch Date: Fri, 7 Nov 2014 17:10:36 +0100 Subject: [PATCH] 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 --- docs/sources/reference/api/hub_registry_spec.md | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/docs/sources/reference/api/hub_registry_spec.md b/docs/sources/reference/api/hub_registry_spec.md index 66724cdc82..26d4ffca30 100644 --- a/docs/sources/reference/api/hub_registry_spec.md +++ b/docs/sources/reference/api/hub_registry_spec.md @@ -579,13 +579,19 @@ The following naming restrictions apply: ### Get all tags: -GET /v1/repositories///tags + GET /v1/repositories///tags **Return**: HTTP 200 - { "latest": - "9e89cc6f0bc3c38722009fe6857087b486531f9a779a0c17e3ed29dae8f12c4f", - “0.1.1”: - “b486531f9a779a0c17e3ed29dae8f12c4f9e89cc6f0bc3c38722009fe6857087” } + [ + { + "layer": "9e89cc6f", + "name": "latest" + }, + { + "layer": "b486531f", + "name": "0.1.1", + } + ] **4.3.2 Read the content of a tag (resolve the image id):**