Commit e5fde8a4 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

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
parents 56fee497 1eec680d
v 8.1.0
- Add documentation for "Share project with group" API call
v 8.0.1 v 8.0.1
- Correct gem dependency versions - Correct gem dependency versions
- Re-add the "Help Text" feature that was inadvertently removed - 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 ...@@ -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 Please note that the returned JSON currently differs slightly. Thus you should not
rely on the returned JSON structure. 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 ## Hooks
Also called Project Hooks and Webhooks. Also called Project Hooks and Webhooks.
......
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