From f0f8462d18cf2efc44ee48cfdd2706e8a4a800d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C2=A8Sven?= <¨SvenDowideit@home.org.au¨> Date: Wed, 13 Nov 2013 22:09:44 +1000 Subject: [PATCH] update the v1.7 API to reflect the case change in the /index/search response, and note that its to align better with the registry server response that its proxying --- docs/sources/api/docker_remote_api_v1.7.rst | 41 ++++++++++++++------- 1 file changed, 28 insertions(+), 13 deletions(-) diff --git a/docs/sources/api/docker_remote_api_v1.7.rst b/docs/sources/api/docker_remote_api_v1.7.rst index 3985f7aa0a..0e848d46b0 100644 --- a/docs/sources/api/docker_remote_api_v1.7.rst +++ b/docs/sources/api/docker_remote_api_v1.7.rst @@ -914,7 +914,12 @@ Search images .. http:get:: /images/search - Search for an image in the docker index + Search for an image in the docker index. + + .. note:: + + The response keys have changed from API v1.6 to reflect the JSON + sent by the registry server to the docker daemon's request. **Example request**: @@ -930,18 +935,28 @@ Search images Content-Type: application/json [ - { - "Name":"cespare/sshd", - "Description":"" - }, - { - "Name":"johnfuller/sshd", - "Description":"" - }, - { - "Name":"dhrp/mongodb-sshd", - "Description":"" - } + { + "description": "", + "is_official": false, + "is_trusted": false, + "name": "wma55/u1210sshd", + "star_count": 0 + }, + { + "description": "", + "is_official": false, + "is_trusted": false, + "name": "jdswinbank/sshd", + "star_count": 0 + }, + { + "description": "", + "is_official": false, + "is_trusted": false, + "name": "vgauthier/sshd", + "star_count": 0 + } + ... ] :query term: term to search