diff options
author | Mike Ricketts <rickettm@uk.ibm.com> | 2017-06-20 17:54:29 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-06-20 17:54:29 +0300 |
commit | 0e7478064f3cf91fec8cffb86a74503ab3e0322d (patch) | |
tree | be88ac18b51372e72855355e935489591a9d3775 /doc/api | |
parent | 745d46bc88be45066d4abb448f1308f11f970e26 (diff) |
Re-instate is_admin flag in users API is current user is an admin
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/users.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/api/users.md b/doc/api/users.md index b1ebd7b0c47..cf09b8f44aa 100644 --- a/doc/api/users.md +++ b/doc/api/users.md @@ -62,6 +62,7 @@ GET /users "avatar_url": "http://localhost:3000/uploads/user/avatar/1/index.jpg", "web_url": "http://localhost:3000/john_smith", "created_at": "2012-05-23T08:00:58Z", + "is_admin": false, "bio": null, "location": null, "skype": "", @@ -94,6 +95,7 @@ GET /users "avatar_url": "http://localhost:3000/uploads/user/avatar/2/index.jpg", "web_url": "http://localhost:3000/jack_smith", "created_at": "2012-05-23T08:01:01Z", + "is_admin": false, "bio": null, "location": null, "skype": "", @@ -197,6 +199,7 @@ Parameters: "avatar_url": "http://localhost:3000/uploads/user/avatar/1/index.jpg", "web_url": "http://localhost:3000/john_smith", "created_at": "2012-05-23T08:00:58Z", + "is_admin": false, "bio": null, "location": null, "skype": "", |