diff options
author | Job van der Voort <jobvandervoort@gmail.com> | 2015-04-21 16:21:51 +0200 |
---|---|---|
committer | Job van der Voort <jobvandervoort@gmail.com> | 2015-04-21 16:21:51 +0200 |
commit | a8e93b7f51d968c1380ed210499869b62b07fd15 (patch) | |
tree | c864e80dfd9cf4f83fcede678acc986e3a125bf5 /doc/api/session.md | |
parent | 0625b15a481b3a3edd88110b3c18031ad9068d2f (diff) | |
download | gitlab-ce-7.10.0.rc5.tar.gz |
Version 7.10.0.rc5v7.10.0.rc5
Diffstat (limited to 'doc/api/session.md')
-rw-r--r-- | doc/api/session.md | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/doc/api/session.md b/doc/api/session.md deleted file mode 100644 index 47c1c8a7a49..00000000000 --- a/doc/api/session.md +++ /dev/null @@ -1,39 +0,0 @@ -# Session - -Login to get private token - -``` -POST /session -``` - -Parameters: - -- `login` (required) - The login of user -- `email` (required if login missing) - The email of user -- `password` (required) - Valid password - -**You can login with both GitLab and LDAP credentials now** - - -```json -{ - "id": 1, - "username": "john_smith", - "email": "john@example.com", - "name": "John Smith", - "private_token": "dd34asd13as", - "blocked": false, - "created_at": "2012-05-23T08:00:58Z", - "bio": null, - "skype": "", - "linkedin": "", - "twitter": "", - "website_url": "", - "dark_scheme": false, - "theme_id": 1, - "is_admin": false, - "can_create_group": true, - "can_create_team": true, - "can_create_project": true -} -``` |