1、获取视频列表

请求说明

接口地址: /api/open/api/explosive/searchvideo
请求方式:POST
Content-Type:application/json

{
  "pageIndex": 0,
  "pageSize": 0,
  "orderName": "string",
  "apid": 0,
  "acid": 0,
  "startTime": "string",
  "endTime": "string",
  "amout": 0,
  "duration": 0,
  "keys": "string"
}

输入参数说明

参数 类型 说明 必填项 缺省值
pageIndex int 分页索引
pageSize int 分页大小
apid int 平台 ID
acid int 平台领域 ID
keys string 关键词
orderName int 排序:1(发布时间)、2(阅读量)、3(评论数) 1
startTime string 起始时间
endTime string 结束时间
amout string 阅读量: 10000、50000、100000、500000
duration int 视频时长

输出参数说明

参数 类型 说明
hmctid int
apid int
acid int
hmctdocid string
hmcttitle string
hmctimage string
hmcttype string
hmctdate string
hmctamout string
hmctcommentnum string
hmctsource string
autwebid string
hmcturl string
hmctoriginal string
hmctduration string

完整返回结果示例

{
  "code": "Success",
  "msg": "请求成功",
  "data": {
    "pageIndex": 1,
    "pageSize": 3,
    "pageCount": 1500,
    "dataCount": 4500,
    "list": [
      {
        "hmctid": 20012275371567,
        "apid": 1,
        "acid": 4,
        "hmctdocid": "string",
        "hmcttitle": "string",
        "hmctimage": "string",
        "hmcttype": 3,
        "hmctdate": "2019-04-01T17:13:19",
        "hmctamout": 764,
        "hmctcommentnum": 0,
        "hmctsource": "string",
        "autwebid": "string",
        "hmcturl": "string",
        "hmctoriginal": null,
        "hmctduration": null
      }
    ]
  }
}

2、解析视频详情

请求说明

接口地址: /api/open/api/explosive/searchvideodetail
请求方式:POST
Content-Type:application/json

输入参数说明

参数 类型 说明 必填项 缺省值
url string 链接地址

输出结果说明

参数 类型 说明
name string 名称
url string 视频地址
image string 封面图地址
plateName string 平台名称
type string 类型

完整返回结果示例

{
  "code": "Success",
  "msg": "请求成功",
  "data": [
    {
      "name": "string",
      "url": "string",
      "image": "string",
      "plateName": "string",
      "type": "string"
    }
  ]
}