Skip to content

Latest commit

 

History

History
36 lines (30 loc) · 684 Bytes

session.md

File metadata and controls

36 lines (30 loc) · 684 Bytes

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

{
  "id": 1,
  "username": "john_smith",
  "email": "[email protected]",
  "name": "John Smith",
  "private_token": "dd34asd13as",
  "blocked": false,
  "created_at": "2012-05-23T08:00:58Z",
  "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
}