From 686585f33a80f7dfaa45400b700235d0615b7fce Mon Sep 17 00:00:00 2001 From: Nathan Hsieh Date: Mon, 29 Dec 2014 10:39:09 -0800 Subject: [PATCH] updated search api docs to include pagination changes Signed-off-by: Nathan Hsieh --- docs/sources/reference/api/registry_api.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/sources/reference/api/registry_api.md b/docs/sources/reference/api/registry_api.md index 43a463cd5e..8648162149 100644 --- a/docs/sources/reference/api/registry_api.md +++ b/docs/sources/reference/api/registry_api.md @@ -514,7 +514,7 @@ Search the Index given a search term. It accepts **Example request**: - GET /v1/search?q=search_term HTTP/1.1 + GET /v1/search?q=search_term&page=1&n=25 HTTP/1.1 Host: index.docker.io Accept: application/json @@ -536,6 +536,8 @@ Search the Index given a search term. It accepts Query Parameters: - **q** – what you want to search for +- **n** - number of results you want returned per page (default: 25) +- **page** - page number of results Status Codes: