Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2017-08-22 18:10:49 +0300
committerNick Thomas <nick@gitlab.com>2017-08-24 13:32:50 +0300
commit061472864ceaa4dc837eebcaa583f7b81d4e7e54 (patch)
treee760782a7247ca457edafe13de309e67364354ea /doc/api/groups.md
parent502d6464b07154d74eecbeddbf2cd6dba841380f (diff)
Fix group and project search for anonymous users
Diffstat (limited to 'doc/api/groups.md')
-rw-r--r--doc/api/groups.md9
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/api/groups.md b/doc/api/groups.md
index 2b3d8e125c8..c2daa8bc029 100644
--- a/doc/api/groups.md
+++ b/doc/api/groups.md
@@ -2,7 +2,8 @@
## List groups
-Get a list of groups. (As user: my groups or all available, as admin: all groups).
+Get a list of visible groups for the authenticated user. When accessed without
+authentication, only public groups are returned.
Parameters:
@@ -43,7 +44,8 @@ You can search for groups by name or path, see below.
## List a group's projects
-Get a list of projects in this group.
+Get a list of projects in this group. When accessed without authentication, only
+public projects are returned.
```
GET /groups/:id/projects
@@ -109,7 +111,8 @@ Example response:
## Details of a group
-Get all details of a group.
+Get all details of a group. This endpoint can be accessed without authentication
+if the group is publicly accessible.
```
GET /groups/:id