1. 描述
详情日志。
2. 请求URL
GET:http://api.xdua.com/log/[id]
3. 请求参数
| 名称 | 位置 | 类型 | 必填 | 默认值 | 示例 | 说明 |
|---|---|---|---|---|---|---|
| id | path | string | 是 | rYub4wrT | 要修改的日志ID |
4. 返回参数
| 名称 | 位置 | 类型 | 示例 | 说明 |
|---|---|---|---|---|
| id | result | string | rYub4wrT | 详情的日志ID |
| name | result.data | string | 日志的名称 | |
| avatar | result.data | string | 日志图标 | |
| brief | result.data | string | 日志的描述 | |
| state | result.data | int | 1 | 日志的状态 |
| stato | result.data | string | "冻服更新" | 日志的状态说明 |
| expire | result.data | int | 0 | 日志状态过期时间(UNIX时间戳) |
| creator_id | result.list[] | string | Dmtv7TrE | 日志创建者ID |
| creator_name | result.list[] | string | 辣椒帅 | 日志创建者名字 |
| updator_id | result.list[] | string | XiyRvUp3 | 日志最近一次更新者ID |
| updator_name | result.list[] | string | 周海潮 | 日志最近一次更新者名字 |
| cstamp | result.data | string | 2020-01-20 02:19:55 | 日志创建时间 |
| ustamp | result.data | string | 2020-01-20 02:23:24 | 日志最近更新时间 |
| 字段名 | 位置 | 字段类型 | 字段说 |
|---|---|---|---|
| id | list | String | 授权的id8位字符串id |
| enabled | list | String | 授权使能开关 1:打开 0:关闭 |
| expire | list | Int | 授权过期时间,-1表示无穷大,正数表示UTC时间戳 |
| ugrp_id | list | String | 户群id |
| ugrp_code | list | String | 户群代号 |
| ugrp_name | list | String | 户群名字 |
| role_id | list | String | 本次授权的角色id |
| role_code | list | String | 本次授权的角色code |
| role_name | list | String | 本次授权的角色名字 |
| name | list | String | 日志的名字 |
| avatar | list | String | 日志的头像 |
| brief | list | String | 日志的简介 |
| pkg | list | String | 日志的包名 |
| cstamp | list | String | 日志的创建时间 |
| creator_id | list | String | 日志创建者的id |
| creator_name | list | String | 日志创建者的名字 |
返回示例
result部分
{
"id":"rYub4wrT",
"data": {
},
}
