From 1eec680de2e45581593745bd782126dc9ff57c41 Mon Sep 17 00:00:00 2001 From: Valery Sizov Date: Wed, 30 Sep 2015 17:47:53 +0300 Subject: [PATCH] Add documentation for 'Share project with group' API call --- CHANGELOG-EE | 3 +++ doc/api/projects.md | 14 ++++++++++++++ 2 files changed, 17 insertions(+) diff --git a/CHANGELOG-EE b/CHANGELOG-EE index d40520a59a..601e045883 100644 --- a/CHANGELOG-EE +++ b/CHANGELOG-EE @@ -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 diff --git a/doc/api/projects.md b/doc/api/projects.md index ddc5070b51..a744dbaded 100644 --- a/doc/api/projects.md +++ b/doc/api/projects.md @@ -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.