go-common/app/service/live/resource/api/http/v1/titans.titans.md
2019-04-22 18:49:16 +08:00

3.2 KiB

GET http://api.live.bilibili.com/xlive/internal/resource/v1/titans/getMultiConfigs

请求参数

参数名 必选 类型 描述
values string
{
    "code": 0,
    "message": "ok",
    "data": {
        "list": {
            "1": {
                "keys": {
                    "mapKey": ""
                }
            }
        }
    }
}

GET http://api.live.bilibili.com/xlive/internal/resource/v1/titans/getServiceConfig

请求参数

参数名 必选 类型 描述
tree_id integer
{
    "code": 0,
    "message": "ok",
    "data": {
        "list": {
            "mapKey": ""
        }
    }
}

POST http://api.live.bilibili.com/xlive/internal/resource/v1/titans/setServiceConfig

请求参数

参数名 必选 类型 描述
tree_name string
tree_path string
tree_id integer
service string
keyword string
template integer
name string
value string
status integer
id integer
{
    "code": 0,
    "message": "ok",
    "data": {
        "id": 0
    }
}

GET http://api.live.bilibili.com/xlive/internal/resource/v1/titans/getServiceConfigList

请求参数

参数名 必选 类型 描述
tree_name string
tree_id integer
service string
keyword string
page integer
page_size integer
name string
status integer
{
    "code": 0,
    "message": "ok",
    "data": {
        "list": [
            {
                // Id
                "id": 0,
                // tree_name
                "tree_name": "",
                "tree_path": "",
                "tree_id": 0,
                "service": "",
                // 索引名称
                "template": 0,
                "keyword": "",
                // 配置值
                "value": "",
                // 配置解释
                "name": "",
                // 创建时间
                "ctime": "",
                // 最近更新时间
                "mtime": "",
                // 状态
                "status": 0
            }
        ],
        "total_num": 0
    }
}

GET http://api.live.bilibili.com/xlive/internal/resource/v1/titans/getTreeIds

请求参数

参数名 必选 类型 描述
tree_name string
{
    "code": 0,
    "message": "ok",
    "data": {
        "list": [
            0
        ]
    }
}

GET http://api.live.bilibili.com/xlive/internal/resource/v1/titans/getEasyList

请求参数

参数名 必选 类型 描述
id integer
page integer
{
    "code": 0,
    "message": "ok",
    "data": {
        "list": [
            {
                "tree_name": "",
                "tree_path": "",
                "tree_id": 0,
                "keyword": "",
                "name": ""
            }
        ]
    }
}

POST http://api.live.bilibili.com/xlive/internal/resource/v1/titans/setEasyList

请求参数

参数名 必选 类型 描述
id integer
{
    "code": 0,
    "message": "ok",
    "data": {
        "eId": 0
    }
}