AdvilUser
AdvilUser

Reputation: 3442

Does gitlab provide API for exploring groups?

In gitlab UI, you can "explore" groups and see all groups on the gitlab server. Is there a corresponding API endpoint for listing out all publicly readable groups regardless of your ownership?

Upvotes: 0

Views: 60

Answers (1)

Kai
Kai

Reputation: 39641

No, you can only see your own groups unless you are an admin.

Get a list of groups. (As user: my groups, as admin: all groups)

GET /groups

Result:

[
  {
    "id": 1,
    "name": "Foobar Group",
    "path": "foo-bar",
    "description": "An interesting group"
  }
]

Here is the official API documentation

Upvotes: 1

Related Questions