mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-24 20:16:08 +10:00
Merge branch 'doc_api' into 'master'
Add documentation for 'Share project with group' API call https://dev.gitlab.org/gitlab/gitlab-ee/issues/322 See merge request !493
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
v 8.1.0
|
||||
- Add documentation for "Share project with group" API call
|
||||
|
||||
v 8.0.1
|
||||
- Correct gem dependency versions
|
||||
- Re-add the "Help Text" feature that was inadvertently removed
|
||||
|
||||
@@ -477,6 +477,20 @@ Revoking team membership for a user who is not currently a team member is consid
|
||||
Please note that the returned JSON currently differs slightly. Thus you should not
|
||||
rely on the returned JSON structure.
|
||||
|
||||
### Share project with group
|
||||
|
||||
Allow to share project with group.
|
||||
|
||||
```
|
||||
POST /projects/:id/share
|
||||
```
|
||||
|
||||
Parameters:
|
||||
|
||||
- `id` (required) - The ID of a project
|
||||
- `group_id` (required) - The ID of a group
|
||||
- `group_access` (required) - Level of permissions for sharing
|
||||
|
||||
## Hooks
|
||||
|
||||
Also called Project Hooks and Webhooks.
|
||||
|
||||
Reference in New Issue
Block a user