summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Winata <awinata@gitlab.com>2018-06-01 15:02:52 +1000
committerAndrew Winata <awinata@gitlab.com>2018-06-01 15:02:52 +1000
commitfbc9a1ac69145a3b6f8d4d4f96363b0f81225652 (patch)
tree7e0014fa3e455a5c1ac3af1457a6f7e715e26573
parent50fda506e3bc93af47c8ebcbfc7d38c7ae55467d (diff)
downloadgitlab-ce-docs-clarify-API-share-project-to-group.tar.gz
Docs clarify API to share project to a groupdocs-clarify-API-share-project-to-group
-rw-r--r--doc/api/members.md4
-rw-r--r--doc/api/projects.md2
2 files changed, 5 insertions, 1 deletions
diff --git a/doc/api/members.md b/doc/api/members.md
index 3234f833eae..fca5ce16baf 100644
--- a/doc/api/members.md
+++ b/doc/api/members.md
@@ -173,3 +173,7 @@ DELETE /projects/:id/members/:user_id
curl --request DELETE --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v4/groups/:id/members/:user_id
curl --request DELETE --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v4/projects/:id/members/:user_id
```
+
+## Give a group access to a project
+
+Look at [share project with group](projects.md#share-project-with-group)
diff --git a/doc/api/projects.md b/doc/api/projects.md
index d3e95926322..30a41839f28 100644
--- a/doc/api/projects.md
+++ b/doc/api/projects.md
@@ -1198,7 +1198,7 @@ POST /projects/:id/share
| --------- | ---- | -------- | ----------- |
| `id` | integer/string | yes | The ID or [URL-encoded path of the project](README.md#namespaced-path-encoding) |
| `group_id` | integer | yes | The ID of the group to share with |
-| `group_access` | integer | yes | The permissions level to grant the group |
+| `group_access` | integer | yes | The [permissions level](members.md) to grant the group |
| `expires_at` | string | no | Share expiration date in ISO 8601 format: 2016-09-26 |
## Delete a shared project link within a group