1. 描述

私详房间。

2. 调用场景

开发者登录超级控制台后,在房间列表,选择房间,点击详情,就可以查看自己的房间。GIT的默认字段和GET不一样。

3. 配置参数

参数名 参数值 说明
URL https://api.xdua.com/roomtmpl
Method GET
XduaApiHttpSchema HTTPS 只走HTTPS
XduaApiMethod GIT
XduaApiColor X 只有持有神房间,才可以创建房间
XduaApiAudience ConsoleX 只有room_id为ConsoleX的房间,也就是consolex.xdua.com才可以发起本请求
XduaApiShop XdUaXduA 房间直辖店铺,只有这个店铺的登录人员才可以访问
XduaApiSubject i 只有自己才可以访问自己创建的房间
XduaApiRoles Zoon 只要登录就可以创建房间
XduaApiResource room
XduaApiKparam id
XduaApiAction GetRoomtmpl
XduaApiRule GetRoomtmpl
XduaApiRoomtmplAstate 0 房间zone.state必须是0(STATE_ENABLED)
XduaApiCorpAstate 0 房间corp.state必须是0(STATE_ENABLED)
XduaApiShopAstate 0 房间shop.state必须是0(STATE_ENABLED)
XduaApiRoomtmplAstate 0 房间room.state必须是0(STATE_ENABLED)
XduaApiRoomtmplAstate 0 房间 room.state必须是0(STATE_ENABLED)
XduaApiRoomtmplAstate 0 房间room.state必须是0(STATE_ENABLED)
XduaApiEnable true 接口使能

4. 请求参数

名称 位置 类型 必填 默认值 示例 说明
id path string rYub4wrT 要修改的房间ID

5. 返回参数

名称 位置 类型 示例 说明
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 辣椒帅 房间创建者名字
ipdator_id result.list[] string XiyRvUp3 房间最近一次更新者ID
ipdator_name result.list[] string 周海潮 房间最近一次更新者名字
cstamp result.data string 2020-01-20 02:19:55 房间创建时间
istamp result.data string 2020-01-20 02:23:24 房间最近更新时间

返回示例

result部分

{
    "id":"rYub4wrT",
    "data": {


    },
}

6. 错误码

results matching ""

    No results matching ""