- OASIS SIM(废弃)
- sensors
- dynamics
- cars
- car_models
- jobs
- tasks
- scenarios
- scenario_groups
- scenario_elements
- maps
- test_cases
- scores
- traffic_flows
- controllers
- weathers
- lights
- logs(废弃)
- emails
- users
- evaluates
- file_operator
- trashes(已废弃)
- configs
- licenses
- 查询tokenGET
获取用户信息
开发中
GET
/users/{user_id}/details
请求参数
Path 参数
user_id
string
必需
Header 参数
Authorization
string
可选
示例值:
bearer {{token}}
Content-Type
string
可选
示例值:
application/json
User-Agent
string
可选
示例值:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/users//details' \
--header 'Authorization: bearer {{token}}' \
--header 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36'
返回响应
🟢200成功
application/json
Body
status
string
必需
code
integer
必需
result
object
必需
start_time
string
必需
invalid
integer
必需
avatar
null
必需
code
string
必需
created_at
string
必需
modified_at
string
必需
is_super
integer
必需
email
string
必需
nickname
string
必需
id
integer
必需
category
integer
必需
last_day
string
必需
user_id
string
必需
company_id
integer
必需
end_time
string
必需
username
string
必需
mobile
null
必需
role
string
必需
user_type
string
必需
message
string
必需
示例
{
"code": 200,
"result": {
"last_day": "2024-12-31",
"modified_at": "2024-08-19 15:12:22",
"created_at": "2022-11-14 15:07:35",
"invalid": 0,
"start_time": "2024-08-17 20:14:00",
"user_id": "l53f7244b8a011ed99cb0242c0a86002",
"nickname": "oasis",
"username": "oasis",
"last_login_time": null,
"mobile": null,
"company_id": 1,
"code": "f0bfa9ca26cb91203e9acac654e84a194bc96d127df153bd85ca9051a50a3257",
"mode": "online",
"category": 1,
"is_super": 1,
"per_id": "fdfe29eb-93f4-4660-b1c5-ccf195b1ea34",
"end_time": "2025-03-31 00:00:00",
"email": "",
"avatar": null,
"id": 1
},
"message": ""
}
🟢201Created
🟢204No Content
🟠400Bad Request
🟠401Unauthorized
🟠402Payment Required
🟠403Forbidden
🟠404Not found
🟠422Unprocessable Content
🔴500Internal Server Error
🔴501Not Implemented
🔴502Bad Gateway
🔴503Service Unavailable
🔴504Gateway Timeout
修改于 2024-11-08 06:55:47