Commit 9d06921ffb2082cdcb6bcce3e420d53011a3b71d
1 parent
4cfbfbb8
Exists in
master
and in
4 other branches
Added missing API documentation
Change-Id: I1337ee7ff51d018d6f62d447345032597e84269f
Showing
1 changed file
with
15 additions
and
0 deletions
Show diff stats
doc/api/projects.md
| ... | ... | @@ -484,3 +484,18 @@ DELETE /projects/:id/fork |
| 484 | 484 | Parameter: |
| 485 | 485 | |
| 486 | 486 | + `id` (required) - The ID of the project |
| 487 | + | |
| 488 | + | |
| 489 | +## Search for projects by name | |
| 490 | + | |
| 491 | +Search for projects by name which are public or the calling user has access to | |
| 492 | + | |
| 493 | +``` | |
| 494 | +GET /projects/search/:query | |
| 495 | +``` | |
| 496 | + | |
| 497 | +Parameters: | |
| 498 | + | |
| 499 | ++ query (required) - A string contained in the project name | |
| 500 | ++ per_page (optional) - number of projects to return per page, defaults to 20 | |
| 501 | ++ offset (optional) - the offset in pages to retrieve | ... | ... |