Commit 1bdd3ce4 authored by Marin Jankovski's avatar Marin Jankovski

Merge branch 'search-group' into 'master'

Search group documentation

See merge request !1455
parents e0ac7409 561a7153
...@@ -20,7 +20,7 @@ GET /groups ...@@ -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
...@@ -73,6 +73,26 @@ Parameters: ...@@ -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**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment