1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

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

This commit is contained in:
¨Sven 2013-11-13 22:09:44 +10:00
parent 3885ef585b
commit f0f8462d18

View file

@ -914,7 +914,12 @@ Search images
.. http:get:: /images/search .. 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**: **Example request**:
@ -931,17 +936,27 @@ Search images
[ [
{ {
"Name":"cespare/sshd", "description": "",
"Description":"" "is_official": false,
"is_trusted": false,
"name": "wma55/u1210sshd",
"star_count": 0
}, },
{ {
"Name":"johnfuller/sshd", "description": "",
"Description":"" "is_official": false,
"is_trusted": false,
"name": "jdswinbank/sshd",
"star_count": 0
}, },
{ {
"Name":"dhrp/mongodb-sshd", "description": "",
"Description":"" "is_official": false,
"is_trusted": false,
"name": "vgauthier/sshd",
"star_count": 0
} }
...
] ]
:query term: term to search :query term: term to search