diff options
author | Nick Thomas <nick@gitlab.com> | 2017-08-22 16:10:49 +0100 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2017-08-24 11:32:50 +0100 |
commit | 061472864ceaa4dc837eebcaa583f7b81d4e7e54 (patch) | |
tree | e760782a7247ca457edafe13de309e67364354ea /doc | |
parent | 502d6464b07154d74eecbeddbf2cd6dba841380f (diff) | |
download | gitlab-ce-061472864ceaa4dc837eebcaa583f7b81d4e7e54.tar.gz |
Fix group and project search for anonymous users
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/groups.md | 9 |
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 |