1. 描述
查询对象。
2. 调用场景
开发者登录http://consolex.xdua.com后,可以以Zoon角色查询属于自己名下的所有对象。
3. 配置参数
参数意义参考接口参数
参数名 | 参数值 | 说明 |
---|---|---|
Name | QryObj | |
URL | https://api.xdua.com/obj | |
Method | GET | |
XduaApiHttpSchema | HTTPS | 只走HTTPS |
XduaApiMethod | QRY | |
XduaApiColor | X | 只有持有神对象,才可以创建对象 |
XduaApiAudience | ConsoleX | 只有obj_id为ConsoleX的对象,也就是consolex.xdua.com才可以发起本请求 |
XduaApiShop | XdUaXduA | 对象直辖店铺,只有这个店铺的登录人员才可以访问 |
XduaApiSubject | u | 所有注册对象均可以使用 |
XduaApiRoles | Admin | 必须是Zoon才可以查询角色 |
XduaApiResource | obj | |
XduaApiKparam | where |
常量where |
XduaApiAction | QueryObj | |
XduaApiRule | QueryObj | |
XduaApiAstates | 0 | 按序obj,zone,corp,shop,obj,obj,login的状态都必须是0(STATE_ENABLED) |
XduaApiEnable | true | 接口使能 |
4. URL
5. 请求参数
字段名 | 位置 | 类型 | 说明 | 描述 | 可选 |
---|---|---|---|---|---|
apiv | head | string | API版本,默认是1.0.0 | 1.0.0 | 可选 |
Authorization | head | string | 客户端保存的鉴权token | Authorization字符串 | 必选 |
tabx | query | string | 对象表 | 对象表 | 可选 |
6. 返回参数
result.list部分
名称 | 位置 | 类型 | 示例 | 说明 |
---|---|---|---|---|
id | result | string | rYub4wrT | 详情的对象ID |
name | result.list[] | string | 对象的名称 | |
avatar | result.list[] | string | 对象图标 | |
brief | result.list[] | string | 对象的描述 | |
state | result.list[] | int | 0 | 对象的状态 |
stato | result.list[] | string | "冻服更新" | 对象的状态说 |
expire | result.list[] | int | 0 | 对象状态过期时间(UNIX时间戳) |
creator_id | result.list[] | string | Dmtv7TrE | 对象创建者ID |
creator_name | result.list[] | string | 辣椒帅 | 对象创建者名字 |
ipdator_id | result.list[] | string | XiyRvUp3 | 对象最近一次更新者ID |
ipdator_name | result.list[] | string | 周海潮 | 对象最近一次更新者名字 |
cstamp | result.list[] | string | 2020-01-20 02:19:55 | 对象创建时间 |
istamp | result.list[] | string | 2020-01-20 02:23:24 | 对象最近更新时间 |
result.list部分
名称 | 位置 | 类型 | 示例 | 说明 |
---|---|---|---|---|
id | result | string | rYub4wrT | 详情的对象ID |
name | result.list[] | string | 对象的名称 | |
avatar | result.list[] | string | 对象图标 | |
brief | result.list[] | string | 对象的描述 | |
state | result.list[] | int | 0 | 对象的状态 |
stato | result.list[] | string | "冻服更新" | 对象的状态说 |
expire | result.list[] | int | 0 | 对象状态过期时间(UNIX时间戳) |
creator_id | result.list[] | string | Dmtv7TrE | 对象创建者ID |
creator_name | result.list[] | string | 辣椒帅 | 对象创建者名字 |
ipdator_id | result.list[] | string | XiyRvUp3 | 对象最近一次更新者ID |
ipdator_name | result.list[] | string | 周海潮 | 对象最近一次更新者名字 |
cstamp | result.list[] | string | 2020-01-20 02:19:55 | 对象创建时间 |
istamp | result.list[] | string | 2020-01-20 02:23:24 | 对象最近更新时间 |