本页面介绍了 /api/v1/users/detail
路径的 API 功能和使用方法。
功能描述
该 API 用于获取指定用户的详细信息。
请求方法
- GET
请求路径
/api/v1/users/detail
请求参数
user_id
:用户的唯一标识符,必填。
响应示例
{
"user_id": "123456",
"username": "example_user",
"email": "example@example.com",
"created_at": "2021-01-01T00:00:00Z"
}
使用说明
- 发送 GET 请求到
/api/v1/users/detail
路径。 - 在请求中包含
user_id
参数。 - 服务器将返回指定用户的详细信息。
相关链接
用户详情示例