获取用户封禁信息
正式环境
https://api.xiaojukeji.com/
正式环境
https://api.xiaojukeji.com/
GET
/v1/safe/punish
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.xiaojukeji.com//v1/safe/punish?client_uid=&phone=11100011296' \
--header 'Authorization;' \
--header 'Content-Type: application/x-www-form-urlencoded'
响应示例响应示例
{
"ban_status": 0,
"ban_end_time": 0,
"page_title": "string",
"title": "string",
"description": "string",
"reason": {
"title": "string",
"description": [
{
"content": "string",
"detail": "string"
}
]
},
"rule": {
"title": "string",
"description": [
"string"
]
}
}
请求参数
Query 参数
client_uid
string
必需
phone
string
乘车人手机号
示例值:
11100011296
Header 参数
Content-Type
string
必需
示例值:
application/x-www-form-urlencoded
Authorization
string
必需
默认值:
Bearer domain|{{access_token}}