listNewsSources
列出资讯来源
全部已归因的资讯来源。无需认证。
get
/v2/news/sources无需凭据(匿名可调 —— 不需要 API 密钥)
响应
facetsmap<string, object[]>具名 facet 桶。仅在请求 facets= 时出现。
«key»object[]可空
itemsobject[]必填本页成员。空数组,从不为 null。
attributionstring必填转载说明,授权方自己写的原文。请随条目一同展示,不要自行拼写。不可用作判别依据。
column_urlstringuri 必填该源的专栏索引。源没有专栏时为空串。
display_namestring必填不得用作判别条件。
homepage_urlstringuri 必填来源自己的站点主页。该来源没有时为空字符串。
namestring必填来源键。
objectstring必填类型判别字段。恒为 news_source。
枚举news_source
missingstring[]已请求但不可见的 ids。仅出现在 ids=/refs= 批量车道。
next_cursorstring不透明 keyset cursor。末页省略。
objectstring必填类型判别字段。恒为 list。
枚举listtotalintegerint64include_total=true 时出现;页码模式(page=)下恒在。与 items 同一个可见性闸。
total_relationstring仅在 page 模式出现。eq:total 为精确值。gte:total 为下界。
枚举eqgte
请求示例
cURL
curl "https://api.nextmoe.dev/v2/news/sources"