api-key 获取
说明
获取api-key 刷新令牌
通过浏览器方式
在浏览器登录账号后, 访问 https://www.hidreamai.com/prod-api/user/api_key 即可获取当前账户api-key
返回参数
参数 | 类型 | 说明 |
---|---|---|
code | int | 返回状态码 |
message | string | 返回状态信息 |
request_id | string | 本次请求的ID |
result | list | 返回结果 |
其中返回结果 result
字段具体为:
参数 | 类型 | 说明 |
---|---|---|
api_key | string | api-key值 |
created_time | string | api-key创建时间 (格式: RFC3339) |
示例:
{
"code": 0,
"message": "Success",
"request_id": "dec14a98-b996-11ee-9203-2e0412837ce4",
"result": [
{
"api_key": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.ABnEuPSS7GE.........",
"created_time": "2024-01-23T09:23:24+00:00"
},
{
"api_key": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.6r4rg7B8bKQA........",
"created_time": "2024-01-23T09:23:24+00:00"
}
]
}