summaryrefslogtreecommitdiff
path: root/doc/api/projects.md
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-03-13 11:46:16 +0100
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-03-13 11:52:43 +0100
commite8b3b92ddebc47595fe4b69dc5b5a3a6dd1365ab (patch)
tree28e12a526f6ef32ee8cafebd80b390d2ebf37e3f /doc/api/projects.md
parente1dffa32db3d2ac877c0fc6f1728566d46c9e93f (diff)
downloadgitlab-ce-e8b3b92ddebc47595fe4b69dc5b5a3a6dd1365ab.tar.gz
Bring share project with group API from EEshare-project-ce
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'doc/api/projects.md')
-rw-r--r--doc/api/projects.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/api/projects.md b/doc/api/projects.md
index 9e9486cd87a..3703f4b327a 100644
--- a/doc/api/projects.md
+++ b/doc/api/projects.md
@@ -619,6 +619,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.