Login to get token
POST
/v3/sessionLogin to get token
请求参数
Body 参数application/x-www-form-urlencoded
login
string
可选
The username
email
string
可选
The email of the user
password
string
必需
The password of the user
示例代码
返回响应
成功(201)
HTTP 状态码: 201
内容格式: JSONapplication/json
Login to get token
数据结构
Login to get token
name
string
可选
username
string
可选
id
string
可选
state
string
可选
avatar_url
string
可选
web_url
string
可选
created_at
string
可选
is_admin
string
可选
bio
string
可选
location
string
可选
skype
string
可选
linkedin
string
可选
twitter
string
可选
website_url
string
可选
organization
string
可选
last_sign_in_at
string
可选
confirmed_at
string
可选
email
string
可选
theme_id
string
可选
color_scheme_id
string
可选
projects_limit
string
可选
current_sign_in_at
string
可选
identities
object (Identity)
可选
provider
string
可选
extern_uid
string
可选
can_create_group
string
可选
can_create_project
string
可选
two_factor_enabled
string
可选
external
string
可选
private_token
string
可选
示例
{
"name": "string",
"username": "string",
"id": "string",
"state": "string",
"avatar_url": "string",
"web_url": "string",
"created_at": "string",
"is_admin": "string",
"bio": "string",
"location": "string",
"skype": "string",
"linkedin": "string",
"twitter": "string",
"website_url": "string",
"organization": "string",
"last_sign_in_at": "string",
"confirmed_at": "string",
"email": "string",
"theme_id": "string",
"color_scheme_id": "string",
"projects_limit": "string",
"current_sign_in_at": "string",
"identities": {
"provider": "string",
"extern_uid": "string"
},
"can_create_group": "string",
"can_create_project": "string",
"two_factor_enabled": "string",
"external": "string",
"private_token": "string"
}
最后修改时间: 1 个月前