mirror of https://github.com/docker/docs.git
Fix inconsistent of remote API and document
Signed-off-by: Hu Keping <hukeping@huawei.com>
This commit is contained in:
parent
7f6a7973cd
commit
22fda380a9
|
@ -1517,7 +1517,10 @@ Status Codes:
|
||||||
|
|
||||||
`GET /images/search`
|
`GET /images/search`
|
||||||
|
|
||||||
Search for an image on [Docker Hub](https://hub.docker.com).
|
Search for an image on [Docker Hub](https://hub.docker.com). This API
|
||||||
|
returns both `is_trusted` and `is_automated` images. Currently, they
|
||||||
|
are considered identical. In the future, the `is_trusted` property will
|
||||||
|
be deprecated and replaced by the `is_automated` property.
|
||||||
|
|
||||||
> **Note**:
|
> **Note**:
|
||||||
> The response keys have changed from API v1.6 to reflect the JSON
|
> The response keys have changed from API v1.6 to reflect the JSON
|
||||||
|
@ -1534,25 +1537,28 @@ Search for an image on [Docker Hub](https://hub.docker.com).
|
||||||
|
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"description": "",
|
"star_count": 12,
|
||||||
"is_official": false,
|
"is_official": false,
|
||||||
"is_automated": false,
|
|
||||||
"name": "wma55/u1210sshd",
|
"name": "wma55/u1210sshd",
|
||||||
"star_count": 0
|
"is_trusted": false,
|
||||||
|
"is_automated": false,
|
||||||
|
"description": "",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"description": "",
|
"star_count": 10,
|
||||||
"is_official": false,
|
"is_official": false,
|
||||||
"is_automated": false,
|
|
||||||
"name": "jdswinbank/sshd",
|
"name": "jdswinbank/sshd",
|
||||||
"star_count": 0
|
"is_trusted": false,
|
||||||
|
"is_automated": false,
|
||||||
|
"description": "",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"description": "",
|
"star_count": 18,
|
||||||
"is_official": false,
|
"is_official": false,
|
||||||
"is_automated": false,
|
|
||||||
"name": "vgauthier/sshd",
|
"name": "vgauthier/sshd",
|
||||||
"star_count": 0
|
"is_trusted": false,
|
||||||
|
"is_automated": false,
|
||||||
|
"description": "",
|
||||||
}
|
}
|
||||||
...
|
...
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue