Browse code

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

¨Sven authored on 2013/11/13 21:09:44
Showing 1 changed files
... ...
@@ -914,7 +914,12 @@ Search images
914 914
 
915 915
 .. http:get:: /images/search
916 916
 
917
-	Search for an image in the docker index
917
+	Search for an image in the docker index.
918
+	
919
+	.. note::
920
+	
921
+	   The response keys have changed from API v1.6 to reflect the JSON 
922
+	   sent by the registry server to the docker daemon's request.
918 923
 	
919 924
 	**Example request**:
920 925
 
... ...
@@ -930,18 +935,28 @@ Search images
930 930
 	   Content-Type: application/json
931 931
 	   
932 932
 	   [
933
-		{
934
-			"Name":"cespare/sshd",
935
-			"Description":""
936
-		},
937
-		{
938
-			"Name":"johnfuller/sshd",
939
-			"Description":""
940
-		},
941
-		{
942
-			"Name":"dhrp/mongodb-sshd",
943
-			"Description":""
944
-		}
933
+		   {
934
+		       "description": "",
935
+		       "is_official": false,
936
+		       "is_trusted": false,
937
+		       "name": "wma55/u1210sshd",
938
+		       "star_count": 0
939
+		   },
940
+		   {
941
+		       "description": "",
942
+		       "is_official": false,
943
+		       "is_trusted": false,
944
+		       "name": "jdswinbank/sshd",
945
+		       "star_count": 0
946
+		   },
947
+		   {
948
+		       "description": "",
949
+		       "is_official": false,
950
+		       "is_trusted": false,
951
+		       "name": "vgauthier/sshd",
952
+		       "star_count": 0
953
+		   }
954
+	   ...
945 955
 	   ]
946 956
 
947 957
 	   :query term: term to search