跳到文档正文
浏览和搜索
本页内容

读取已存储的新闻文章

GET/api/news/history

授权

  • Authorizationstringheader必填使用 TweetStream API 密钥进行 Bearer 认证:Bearer <key>。

查询参数

  • beforestring可选上一次响应返回的 cursor,或 ISO 日期。
  • sourceIdstring可选
  • limitinteger可选

响应字段

  • dataobject[]必填
    • authorstring | null必填
    • categoriesstring[]必填
    • contentstring | null必填
    • copyrightstring | null必填
    • descriptionstring | null必填
    • idstring必填
    • keywordsstring[]必填
    • languagestring | null必填
    • mediaobject[]必填
    • modifiedAtstring | null必填
    • primaryCategorystring | null必填
    • publishedAtstring必填
    • receivedAtstring必填
    • sourceobject必填
      • idstring必填
      • namestring必填
    • summarystring | null必填
    • titlestring必填
    • urlstring必填
  • metadataobject必填
    • countinteger必填
    • nextCursorstring | null必填
    • sourceIdstring可选

响应

  • 200成功
  • 400请求无效
  • 401API key 缺失或无效
  • 403已认证的账号无法使用此功能
  • 429已达到速率限制
  • 500请求未能完成