diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2018-06-20 12:29:33 +0000 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2018-06-20 12:29:33 +0000 |
commit | 47812b058562dc630a471eba5d234e1c98478679 (patch) | |
tree | e87d31881f2b7a3d5d9b9d3322336a94a42cc326 | |
parent | bd88a2769c8589c2258237fdd1587da920271cd8 (diff) | |
parent | fbc9a1ac69145a3b6f8d4d4f96363b0f81225652 (diff) | |
download | gitlab-ce-47812b058562dc630a471eba5d234e1c98478679.tar.gz |
Merge branch 'docs-clarify-API-share-project-to-group' into 'master'
Docs clarify API to share project to a group
See merge request gitlab-org/gitlab-ce!19301
-rw-r--r-- | doc/api/members.md | 4 | ||||
-rw-r--r-- | doc/api/projects.md | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/doc/api/members.md b/doc/api/members.md index 1a10aa75ac0..8ebe464c359 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 |