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
diff options
context:
space:
mode:
authorAlex Denisov <1101.debian@gmail.com>2013-03-19 01:06:24 +0400
committerAlex Denisov <1101.debian@gmail.com>2013-03-19 08:47:08 +0400
commita15fe61fb041ae7c2704bde6d73c246b85d618f7 (patch)
tree20788092f19c5ce28cc757fa8595361f114e4e12 /doc
parent28e7d1a8bf3ef172331125cf56d92af85ea5e8b2 (diff)
API docs updated
Diffstat (limited to 'doc')
-rw-r--r--doc/api/session.md12
-rw-r--r--doc/api/users.md5
2 files changed, 16 insertions, 1 deletions
diff --git a/doc/api/session.md b/doc/api/session.md
index c7e57aaca7a..d68788d5583 100644
--- a/doc/api/session.md
+++ b/doc/api/session.md
@@ -17,7 +17,17 @@ Parameters:
"email": "john@example.com",
"name": "John Smith",
"private_token": "dd34asd13as",
+ "blocked": false,
"created_at": "2012-05-23T08:00:58Z",
- "blocked": true
+ "bio": null,
+ "skype": "",
+ "linkedin": "",
+ "twitter": "",
+ "dark_scheme": false,
+ "theme_id": 1
+ "is_admin": false,
+ "can_create_group" : true,
+ "can_create_team" : true,
+ "can_create_project" : true
}
```
diff --git a/doc/api/users.md b/doc/api/users.md
index 70a2449f2e1..c05bcb3e539 100644
--- a/doc/api/users.md
+++ b/doc/api/users.md
@@ -154,6 +154,7 @@ GET /user
"username": "john_smith",
"email": "john@example.com",
"name": "John Smith",
+ "private_token": "dd34asd13as",
"blocked": false,
"created_at": "2012-05-23T08:00:58Z",
"bio": null,
@@ -162,6 +163,10 @@ GET /user
"twitter": "",
"dark_scheme": false,
"theme_id": 1
+ "is_admin": false,
+ "can_create_group" : true,
+ "can_create_team" : true,
+ "can_create_project" : true
}
```