Merge pull request #2660 from SvenDowideit/2601-remote-api-json-case

update the API docs to reflect the change in the case of the /index/search reposnse
This commit is contained in:
Andy Rothfusz 2013-11-13 11:17:54 -08:00
commit 8e71391572
1 changed files with 28 additions and 13 deletions

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