开放原子开源基金会开源运营专区APIs
  1. 推荐
开放原子开源基金会开源运营专区APIs
  • 接口文档
  • 前台
    • 推荐
      • 组织
        • 组织列表
      • 开发者
        • 开发者列表
      • 仓库
        • 仓库列表
      • 资讯
        • 推荐-资讯接口
        • 推荐-资讯详情接口
        • 点赞、收藏接口(已包含取消操作)-需登录
        • 点赞、收藏、浏览统计接口
    • 首页
      • 社区
        • 获取社区
      • 导航栏
        • 查询社区导航栏
      • 运营
        • 运营位通用接口
      • 模版
        • 获取社区模版关系表中控制的模版
      • 热门组织
        • 热门组织
      • 热门开发者
        • 热门开发者
      • 热门仓库
        • 热门仓库
      • 精选
        • 首页精选-模块
      • 推荐
        • 首页-推荐-模版1
          GET
        • 首页-推荐-模板2,3
          GET
        • 首页-组织
          POST
        • 首页-仓库
          POST
        • 首页-最新
          POST
      • 数据
        • 获取首页数据信息
        • PV,UV实时统计接口(每访问一次页面调用一次)
      • footer
        • footer列表
      • 邮箱
        • 添加订阅
        • 退订邮箱
      • 资讯
        • 资讯模块
      • 活动
        • 活动列表
    • 登录/关注
      • 当前登录用户信息
      • 用户小红点
      • 关注用户
      • 取消关注用户
      • 关注组织
      • 取消关注组织
      • 加入社区
      • 当前登录用户是否已加入该社区
      • code换token
    • 悬浮窗
      • 悬浮窗列表
    • 自定义弹窗
      • 弹窗信息接口
    • SEO
      • 获取robots文件内容
      • 获取sitemap接口
    • 广告
      • 获取广告
    • 原生登录接口
      • 注册-邮箱
      • 登录-账号密码
      • 验证码-邮箱
      • 登录-邮箱验证码
      • 账号-登出
      • 账号-注销
  1. 推荐

首页-最新

开发中
POST
https://openatom.atomgit.com/api/information/home_info_list
分页文章资讯

请求参数

Header 参数
X-ATOMGIT-POP-COMMUNITY
string 
社区CODE
可选
默认值:
openatom
Body 参数application/json
pageNum
integer 
当前页面
必需
pageSize
integer 
页面容量
必需
示例
{
    "queryColumn": 1,
    "pageNum": 1,
    "pageSize": 5,
    "keyWord": ""
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://openatom.atomgit.com/api/information/home_info_list' \
--header 'X-ATOMGIT-POP-COMMUNITY: openatom' \
--header 'Content-Type: application/json' \
--data-raw '{
    "queryColumn": 1,
    "pageNum": 1,
    "pageSize": 5,
    "keyWord": ""
}'

返回响应

🟢200成功
application/json
Body
code
integer 
必需
msg
string 
必需
data
object 
必需
records
array [object {14}] 
必需
total
string 
总共数量
必需
size
string 
每页数量
必需
current
string 
当前页码
必需
pages
string 
总共页码
必需
示例
{
    "code": 200,
    "msg": "成功",
    "data": {
        "records": [
            {
                "resourceType": "information",
                "informationId": "370175730220404736",
                "informationTitle": "2024年开放原子开源基金会招聘岗位一览",
                "informationMsg": "2024年开放原子开源基金会招聘岗位一览",
                "informationUrl": "https://file.pop.atomgit.com/imgs/openatom/2024/10/18/5157f821d79a7b0b474504d831f10cdd.png",
                "informationType": 2,
                "informationState": 1,
                "informationViews": 549,
                "informationCollectNum": 3,
                "informationLikeNum": 4,
                "publishTime": "2024-10-18 19:46:01",
                "isLike": false,
                "isCollect": false,
                "labelNameList": [
                    {
                        "labelName": "开放原子开源基金会"
                    },
                    {
                        "labelName": "开源社区"
                    },
                    {
                        "labelName": "开源招聘"
                    }
                ]
            },
            {
                "resourceType": "information",
                "informationId": "367850921226539008",
                "informationTitle": "招募倒计时 | 操作系统大会&openEuler Summit 2024即将盛大开启",
                "informationMsg": "11月15-16日,北京中关村国际创新中心,操作系统大会&openEuler Summit 2024等你参加!\n🌟 三十余场主题演讲,揭秘openEuler商业化和全球化成果;\n🎉 百余个创新展点,亲身体验openEuler最新解决方案,见证联合创新案例;\n🔍 面对面交流,与技术专家共探开发工具,动手实践;\n🌐 共商智能化、数字化发展,助力全球开源生态建设。\n🔥议题征集、SIG组招募等进入倒计时,立即报名!",
                "informationUrl": "https://file.pop.atomgit.com/imgs/openatom/2024/10/12/eefadcf7c5e1897ca6de635c45db0ee8.png",
                "informationType": 1,
                "informationState": 1,
                "informationViews": 51,
                "informationCollectNum": 0,
                "informationLikeNum": 0,
                "publishTime": "2024-10-11 11:49:29",
                "isLike": false,
                "isCollect": false,
                "labelNameList": [
                    {
                        "labelName": "开放原子开源基金会"
                    },
                    {
                        "labelName": "openEuler"
                    }
                ]
            },
            {
                "resourceType": "information",
                "informationId": "367262926043746304",
                "informationTitle": "技术引领筑生态,万物智联创未来 | 第三届OpenHarmony技术大会即将启幕",
                "informationMsg": "面向全新的万物智联时代,操作系统将扮演怎样的角色?迎来怎样的变革?在技术上还将朝着哪些方向演进?\n10月12-13日,以“技术引领筑生态,万物智联创未来”为主题的OpenHarmony技术大会(以下简称“大会”)将于上海启幕。",
                "informationUrl": "https://file.pop.atomgit.com/imgs/openatom/2024/10/10/b30821be7a8e0be217fa5196e7716fd2.png",
                "informationType": 2,
                "informationState": 1,
                "informationViews": 21,
                "informationCollectNum": 0,
                "informationLikeNum": 0,
                "publishTime": "2024-10-10 18:54:52",
                "isLike": false,
                "isCollect": false,
                "labelNameList": [
                    {
                        "labelName": "开源项目"
                    },
                    {
                        "labelName": "开放原子开源基金会"
                    },
                    {
                        "labelName": "开源生态建设"
                    },
                    {
                        "labelName": "OpenHarmony"
                    }
                ]
            },
            {
                "resourceType": "information",
                "informationId": "366906539690299392",
                "informationTitle": "openKylin亮相国际峰会LAS 2024,持续助力Linux生态构建",
                "informationMsg": "openKylin社区亮相2024 Linux App Summit,展示了创新的Kylin Mobile Runtime Environment(KMRE)技术方案,让我们共同回顾这场精彩技术盛宴",
                "informationUrl": "https://file.pop.atomgit.com/imgs/openatom/2024/10/09/b767a7f83100c0ffdc2fea5aa384e09e.png",
                "informationType": 1,
                "informationState": 1,
                "informationViews": 17,
                "informationCollectNum": 0,
                "informationLikeNum": 0,
                "publishTime": "2024-10-09 18:21:13",
                "isLike": false,
                "isCollect": false,
                "labelNameList": [
                    {
                        "labelName": "开源项目"
                    },
                    {
                        "labelName": "开放原子开源基金会"
                    },
                    {
                        "labelName": "openKylin"
                    }
                ]
            },
            {
                "resourceType": "information",
                "informationId": "366906532903915520",
                "informationTitle": "开放原子开源基金会新增捐赠人(2024年9月)",
                "informationMsg": "开放原子开源基金会新增捐赠人(2024年9月)",
                "informationUrl": "https://file.pop.atomgit.com/imgs/openatom/2024/10/09/b707407cbd1ae07893a04e7c55022e91.png",
                "informationType": 1,
                "informationState": 1,
                "informationViews": 74,
                "informationCollectNum": 0,
                "informationLikeNum": 0,
                "publishTime": "2024-10-09 18:18:13",
                "isLike": false,
                "isCollect": false,
                "labelNameList": [
                    {
                        "labelName": "开源项目"
                    },
                    {
                        "labelName": "开源基金会"
                    },
                    {
                        "labelName": "OpenHarmony"
                    },
                    {
                        "labelName": "openEuler"
                    },
                    {
                        "labelName": "开源捐赠"
                    }
                ]
            }
        ],
        "total": 70,
        "size": 5,
        "current": 1,
        "pages": 14
    }
}
上一页
首页-仓库
下一页
获取首页数据信息
Built with