Signed-off-by: Hu Keping <hukeping@huawei.com>
| ... | ... |
@@ -1517,7 +1517,10 @@ Status Codes: |
| 1517 | 1517 |
|
| 1518 | 1518 |
`GET /images/search` |
| 1519 | 1519 |
|
| 1520 |
-Search for an image on [Docker Hub](https://hub.docker.com). |
|
| 1520 |
+Search for an image on [Docker Hub](https://hub.docker.com). This API |
|
| 1521 |
+returns both `is_trusted` and `is_automated` images. Currently, they |
|
| 1522 |
+are considered identical. In the future, the `is_trusted` property will |
|
| 1523 |
+be deprecated and replaced by the `is_automated` property. |
|
| 1521 | 1524 |
|
| 1522 | 1525 |
> **Note**: |
| 1523 | 1526 |
> The response keys have changed from API v1.6 to reflect the JSON |
| ... | ... |
@@ -1532,30 +1535,33 @@ Search for an image on [Docker Hub](https://hub.docker.com). |
| 1532 | 1532 |
HTTP/1.1 200 OK |
| 1533 | 1533 |
Content-Type: application/json |
| 1534 | 1534 |
|
| 1535 |
- [ |
|
| 1536 |
- {
|
|
| 1537 |
- "description": "", |
|
| 1538 |
- "is_official": false, |
|
| 1539 |
- "is_automated": false, |
|
| 1540 |
- "name": "wma55/u1210sshd", |
|
| 1541 |
- "star_count": 0 |
|
| 1542 |
- }, |
|
| 1543 |
- {
|
|
| 1544 |
- "description": "", |
|
| 1545 |
- "is_official": false, |
|
| 1546 |
- "is_automated": false, |
|
| 1547 |
- "name": "jdswinbank/sshd", |
|
| 1548 |
- "star_count": 0 |
|
| 1549 |
- }, |
|
| 1550 |
- {
|
|
| 1551 |
- "description": "", |
|
| 1552 |
- "is_official": false, |
|
| 1553 |
- "is_automated": false, |
|
| 1554 |
- "name": "vgauthier/sshd", |
|
| 1555 |
- "star_count": 0 |
|
| 1556 |
- } |
|
| 1557 |
- ... |
|
| 1558 |
- ] |
|
| 1535 |
+ [ |
|
| 1536 |
+ {
|
|
| 1537 |
+ "star_count": 12, |
|
| 1538 |
+ "is_official": false, |
|
| 1539 |
+ "name": "wma55/u1210sshd", |
|
| 1540 |
+ "is_trusted": false, |
|
| 1541 |
+ "is_automated": false, |
|
| 1542 |
+ "description": "", |
|
| 1543 |
+ }, |
|
| 1544 |
+ {
|
|
| 1545 |
+ "star_count": 10, |
|
| 1546 |
+ "is_official": false, |
|
| 1547 |
+ "name": "jdswinbank/sshd", |
|
| 1548 |
+ "is_trusted": false, |
|
| 1549 |
+ "is_automated": false, |
|
| 1550 |
+ "description": "", |
|
| 1551 |
+ }, |
|
| 1552 |
+ {
|
|
| 1553 |
+ "star_count": 18, |
|
| 1554 |
+ "is_official": false, |
|
| 1555 |
+ "name": "vgauthier/sshd", |
|
| 1556 |
+ "is_trusted": false, |
|
| 1557 |
+ "is_automated": false, |
|
| 1558 |
+ "description": "", |
|
| 1559 |
+ } |
|
| 1560 |
+ ... |
|
| 1561 |
+ ] |
|
| 1559 | 1562 |
|
| 1560 | 1563 |
Query Parameters: |
| 1561 | 1564 |
|