Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
8388c5cb
Commit
8388c5cb
authored
Mar 09, 2022
by
Ben Prescott @bprescott_↙ ☺
Committed by
Marcel Amirault
Mar 09, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document groups API runners_token issue
parent
21905974
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
doc/api/groups.md
doc/api/groups.md
+8
-1
No files found.
doc/api/groups.md
View file @
8388c5cb
...
...
@@ -484,7 +484,9 @@ Example response:
## Details of a group
Get all details of a group. This endpoint can be accessed without authentication
if the group is publicly accessible. In case the user that requests is administrator of the group, it returns the
`runners_token`
for the group too.
if the group is publicly accessible. In case the user that requests is an administrator
if the group is publicly accessible. With authentication, it returns the
`runners_token`
for the group too, if the user is an administrator or group owner.
```
plaintext
GET /groups/:id
...
...
@@ -506,6 +508,11 @@ To get the details of all projects within a group, use either the [list a group'
curl
--header
"PRIVATE-TOKEN: <your_access_token>"
"https://gitlab.example.com/api/v4/groups/4"
```
NOTE:
There is
[
a known issue
](
https://gitlab.com/gitlab-org/gitlab/-/issues/345200
)
that can
prevent
`runners_token`
from being returned when the call has the
`with_projects=false`
parameter.
This endpoint returns:
-
All projects and shared projects in GitLab 12.5 and earlier.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment