文档

ListHotNewsWithType - 获取选题热点列表

更新时间:
一键部署

获取选题热点列表。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

当前API暂无授权信息透出。

请求参数

名称类型必填描述示例值
AgentKeystring

业务空间唯一标识:AgentKey

c160c841c8e54295bf2f441432785944_p_efm
NewsTypestring

新闻类别。society: 社会时事,person: 人物新闻,government: 党政时事

society
NewsTypesarray

新闻类别列表多选。society: 社会时事,person: 人物新闻,government: 党政时事

string

新闻类别

society
Sizeinteger

每页记录数

10
Currentinteger

当前页码

1

返回参数

名称类型描述示例值
object

PlainResult<List>

RequestIdstring

请求唯一标识

3f7045e099474ba28ceca1b4eb6d6e21
Successboolean

是否成功:true 成功,false 失败

true
Codestring

状态码

DataNotExists
Messagestring

错误说明

数据不存在
HttpStatusCodeinteger

http 状态码

200
Dataobject []

业务数据

NewsTypestring

新闻类别。society: 社会时事,person: 人物新闻,government: 党政时事

society
NewsTypeNamestring

新闻类别名称

社会时事
Newsobject []

新闻列表

SearchSourcestring

搜索源

新浪热榜
SearchSourceNamestring

搜索源名称

新浪热榜
PubTimestring

发布时间

2023-04-11 06:14:07
Sourcestring

来源

新浪新闻综合
Tagstring

标签

社会
Titlestring

标题

新闻标题
Contentstring

内容

新闻内容
Authorstring

作者

作者名称
Urlstring

文章 URL

http://xxxxx/xxx
Summarystring

文章摘要

摘要
DocUuidstring

内部文档唯一标识

3f7045e099474ba28ceca1b4eb6d6e21
UpdateTimestring

系统更新时间

2023-10-14 14:30:00
ImageUrlsarray

图片地址

string

新闻图像的 URL。

http://xxxx.png
TotalPagesinteger

总页数

77

示例

正常返回示例

JSON格式

{
  "RequestId": "3f7045e099474ba28ceca1b4eb6d6e21",
  "Success": true,
  "Code": "DataNotExists",
  "Message": "数据不存在",
  "HttpStatusCode": 200,
  "Data": [
    {
      "NewsType": "society",
      "NewsTypeName": "社会时事",
      "News": [
        {
          "SearchSource": "新浪热榜",
          "SearchSourceName": "新浪热榜",
          "PubTime": "2023-04-11 06:14:07",
          "Source": "新浪新闻综合",
          "Tag": "社会",
          "Title": "新闻标题",
          "Content": "新闻内容",
          "Author": "作者名称",
          "Url": "http://xxxxx/xxx",
          "Summary": "摘要",
          "DocUuid": "3f7045e099474ba28ceca1b4eb6d6e21",
          "UpdateTime": "2023-10-14 14:30:00",
          "ImageUrls": [
            "http://xxxx.png"
          ]
        }
      ],
      "TotalPages": 77
    }
  ]
}

错误码

访问错误中心查看更多错误码。

  • 本页导读 (1)
文档反馈