2012-09-20 16:44:44 +02:00
|
|
|
Login to get private token
|
|
|
|
|
|
|
|
```
|
|
|
|
POST /session
|
|
|
|
```
|
|
|
|
|
|
|
|
Parameters:
|
|
|
|
|
|
|
|
+ `email` (required) - The email of user
|
|
|
|
+ `password` (required) - Valid password
|
|
|
|
|
|
|
|
|
|
|
|
```json
|
|
|
|
{
|
|
|
|
"id": 1,
|
2012-12-10 23:46:31 +01:00
|
|
|
"username": "john_smith",
|
2012-09-20 16:44:44 +02:00
|
|
|
"email": "john@example.com",
|
|
|
|
"name": "John Smith",
|
|
|
|
"private_token": "dd34asd13as",
|
2013-03-18 22:06:24 +01:00
|
|
|
"blocked": false,
|
2012-09-20 16:44:44 +02:00
|
|
|
"created_at": "2012-05-23T08:00:58Z",
|
2013-03-18 22:06:24 +01:00
|
|
|
"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
|
2012-09-20 16:44:44 +02:00
|
|
|
}
|
|
|
|
```
|