Skip to content
Snippets Groups Projects
Commit 1bdd3ce4 authored by Marin Jankovski's avatar Marin Jankovski
Browse files

Merge branch 'search-group' into 'master'

Search group documentation

See merge request !1455
parents e0ac7409 561a7153
No related branches found
No related tags found
No related merge requests found
Pipeline #
Loading
@@ -20,7 +20,7 @@ GET /groups
Loading
@@ -20,7 +20,7 @@ GET /groups
] ]
``` ```
   
You can search for groups by name or path with: `/groups?search=Rails` You can search for groups by name or path, see below.
   
## Details of a group ## Details of a group
   
Loading
@@ -73,6 +73,26 @@ Parameters:
Loading
@@ -73,6 +73,26 @@ Parameters:
   
- `id` (required) - The ID of a user group - `id` (required) - The ID of a user group
   
## Search for group
Get all groups that match your string in their name or path.
```
GET /groups?search=foobar
```
```json
[
{
"id": 1,
"name": "Foobar Group",
"path": "foo-bar",
"owner_id": 18,
"description": "An interesting group"
}
]
```
## Group members ## Group members
   
**Group access levels** **Group access levels**
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment