Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authormiks <miks@cubesystems.lv>2012-09-06 00:01:03 +0400
committermiks <miks@cubesystems.lv>2012-09-06 00:01:03 +0400
commit8f7360f3901ae27a457f252b1a9a091a857434ee (patch)
treeb93b90cea3c78bdb9fb43f0e69ba6dc518747304 /doc/api
parent19a52197462b9b508af6e90ed3ae55b653d4949e (diff)
API on adding users to project implemented
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/projects.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/api/projects.md b/doc/api/projects.md
index e029522be18..85b88d40fe8 100644
--- a/doc/api/projects.md
+++ b/doc/api/projects.md
@@ -106,6 +106,21 @@ Parameters:
Will return created project with status `201 Created` on success, or `404 Not
found` on fail.
+## Add project users
+
+Add users to exiting project
+
+```
+PUT /projects/:id/add_users
+```
+
+Parameters:
+
++ `id` (required) - The ID or code name of a project
++ `user_ids` (required) - new project name
++ `project_access` (required) - new project name
+
+Will return updated project with status `200 OK` on success, or `404 Not found` on fail.
## Project repository branches