summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2015-12-13 11:43:17 -0800
committerStan Hu <stanhu@gmail.com>2015-12-22 10:58:23 -0800
commit301a30e0ea573c83c28358b2c856396fda878089 (patch)
treeaed16ce1197a8dec29582cc549b7846e188f4271 /doc/api
parent1cf45407d3be9e9767d27e55b6f3e2e0d8dea36f (diff)
downloadgitlab-ce-301a30e0ea573c83c28358b2c856396fda878089.tar.gz
Add project permissions to all project API endpoints
This standardizes all the project API formats. Also needed to support Huboard.
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/projects.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/api/projects.md b/doc/api/projects.md
index 658e65c6f01..0ca81ffd49e 100644
--- a/doc/api/projects.md
+++ b/doc/api/projects.md
@@ -118,6 +118,16 @@ Parameters:
"path": "brightbox",
"updated_at": "2013-09-30T13:46:02Z"
},
+ "permissions": {
+ "project_access": {
+ "access_level": 10,
+ "notification_level": 3
+ },
+ "group_access": {
+ "access_level": 50,
+ "notification_level": 3
+ }
+ },
"archived": false,
"avatar_url": null
}