From 9d06921ffb2082cdcb6bcce3e420d53011a3b71d Mon Sep 17 00:00:00 2001 From: Izaak Alpert Date: Mon, 23 Sep 2013 19:18:29 -0400 Subject: [PATCH] Added missing API documentation --- doc/api/projects.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+), 0 deletions(-) diff --git a/doc/api/projects.md b/doc/api/projects.md index 9afffcb..380f6f2 100644 --- a/doc/api/projects.md +++ b/doc/api/projects.md @@ -484,3 +484,18 @@ DELETE /projects/:id/fork Parameter: + `id` (required) - The ID of the project + + +## Search for projects by name + +Search for projects by name which are public or the calling user has access to + +``` +GET /projects/search/:query +``` + +Parameters: + ++ query (required) - A string contained in the project name ++ per_page (optional) - number of projects to return per page, defaults to 20 ++ offset (optional) - the offset in pages to retrieve -- libgit2 0.21.2