go-common/app/service/live/resource/api/grpc/v1/api.banner.md

58 lines
978 B
Markdown
Raw Normal View History

2019-04-22 10:49:16 +00:00
##获取有效banner配置
`GET http://api.live.bilibili.com/xlive/resource/v1/banner/GetBlinkBanner`
### 请求参数
|参数名|必选|类型|描述|
|:---|:---|:---|:---|
|platform|是|string||
|build|是|integer||
```json
{
"code": 0,
"message": "ok",
"data": {
"id": 0,
"title": "",
"jumpPath": "",
"jumpTime": 0,
"jumpPathType": 0,
"imageUrl": ""
}
}
```
##获取有效banner配置
`GET http://api.live.bilibili.com/xlive/resource/v1/banner/GetBanner`
### 请求参数
|参数名|必选|类型|描述|
|:---|:---|:---|:---|
|platform|是|string||
|build|是|integer||
|type|是|string||
```json
{
"code": 0,
"message": "ok",
"data": {
"list": [
{
"id": 0,
"title": "",
"jumpPath": "",
"jumpTime": 0,
"jumpPathType": 0,
"imageUrl": ""
}
]
}
}
```