1. 获取文章列表

请求说明

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

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

输入参数说明

参数 类型 说明 必填项 缺省值
pageIndex int 分页索引
pageSize int 分页大小
mTpye int 文章类型 (1:Article(默认) 2:Gallery 3:Video 4:TinyHeadline)
apid int 平台 ID
acid int 平台领域 ID
keys string 关键词
orderName int 排序:1(发布时间)、2(阅读量)、3(评论数) 1
startTime string 起始时间
endTime string 结束时间
amout string 阅读量: 10000、50000、100000、500000
originnal int 是否原创:0(否)、1(是)

输出结果说明

参数 类型 说明
hmctid int Id
apid int 平台Id
acid int 领域Id
hmctdocid string 文章Id
hmcttitle string 标题
hmctimage string 封面
hmcttype string 类型
hmctdate string 日期
hmctamout string 阅读量
hmctcommentnum string 评论量
hmctsource string 来源
autwebid string 作者Id
hmcturl string 链接
hmctoriginal string 是否原创

完整返回结果示例

{
    "code": "Success",
    "msg": "请求成功",
    "data": {
        "pageIndex": 1,
        "pageSize": 1,
        "pageCount": 4500,
        "dataCount": 4500,
        "list": [
            {
                "hmctid": 10000011883142,
                "apid": 7,
                "acid": 14,
                "hmctdocid": null,
                "hmcttitle": "string",
                "hmctimage": "string",
                "hmcttype": 1,
                "hmctdate": "2018-01-12T10:09:59",
                "hmctamout": 501,
                "hmctcommentnum": 0,
                "hmctsource": "string",
                "autwebid": "797225",
                "hmcturl": "string",
                "hmctoriginal": null
            }
        ]
    }
}

2、获取文章详情

请求说明

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

输入参数说明

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

输出结果说明

参数 类型 说明
title string 标题
platename string 平台名称
content string 内容
word string 摘要
url string 链接

完整返回结果示例

{
  "code": "Success",
  "msg": "请求成功",
  "data": {
    "title": "string",
    "platename": "string",
    "content": "string",
    "word": "string",
    "url": "string"
  }
}