获取新闻列表
URL
/action/openapi/news_list
支持格式
JSON JSONP XML
HTTP请求方式
是否需要登录
否
访问授权限制
暂无
授权范围(scope)
访问新闻资讯
注意事项
暂无
返回结果
JSON
返回字段说明
返回值字段 | 类型及范围 | 说明 |
---|---|---|
catalog | int | [1-综合新闻|2-软件更新|3-所有] |
newsCount | int | 新闻条数 |
pageSize | int | 每页条数 |
news_list.id | long | 新闻id |
news_list.author | string | 投递者名称 |
news_list.title | string | 新闻标题 |
news_list.pubDate | datetime | 发布日期 |
news_list.authorid | long | 投递者编号 |
news_list.commentCount | int | 评论数 |
news_list.type | long | 新闻类型 [0-链接新闻|1-软件推荐|2-讨论区帖子|3-博客|4-普通新闻|7-翻译文章] |
notice.replyCount | int | 未读评论数 |
notice.msgCount | int | 未读私信数 |
notice.fansCount | int | 新增粉丝数 |
notice.referCount | int | 未读@我数 |
错误说明