Commit 11931bfb9c683ec615d3c4935976b7f70262f291
1 parent
ba169cc5
Exists in
master
and in
4 other branches
update projects api docs
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing
1 changed file
with
17 additions
and
1 deletions
Show diff stats
doc/api/projects.md
| @@ -2,7 +2,7 @@ | @@ -2,7 +2,7 @@ | ||
| 2 | 2 | ||
| 3 | ### List projects | 3 | ### List projects |
| 4 | 4 | ||
| 5 | -Get a list of projects owned by the authenticated user. | 5 | +Get a list of projects acessed by the authenticated user. |
| 6 | 6 | ||
| 7 | ``` | 7 | ``` |
| 8 | GET /projects | 8 | GET /projects |
| @@ -82,6 +82,22 @@ GET /projects | @@ -82,6 +82,22 @@ GET /projects | ||
| 82 | ``` | 82 | ``` |
| 83 | 83 | ||
| 84 | 84 | ||
| 85 | +#### List owned projects | ||
| 86 | + | ||
| 87 | +Get a list of projects owned by the authenticated user. | ||
| 88 | + | ||
| 89 | +``` | ||
| 90 | +GET /projects/owned | ||
| 91 | +``` | ||
| 92 | + | ||
| 93 | +#### List ALL projects | ||
| 94 | + | ||
| 95 | +Get a list of all GitLab projects (admin only). | ||
| 96 | + | ||
| 97 | +``` | ||
| 98 | +GET /projects/all | ||
| 99 | +``` | ||
| 100 | + | ||
| 85 | ### Get single project | 101 | ### Get single project |
| 86 | 102 | ||
| 87 | Get a specific project, identified by project ID or NAMESPACE/PROJECT_NAME , which is owned by the authentication user. | 103 | Get a specific project, identified by project ID or NAMESPACE/PROJECT_NAME , which is owned by the authentication user. |