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

获取广告

开发中
POST
https://openatom.atomgit.com/api/operator/queryAdvertisements

请求参数

Header 参数
X-ATOMGIT-POP-COMMUNITY
string 
社区CODE
可选
默认值:
openatom
Body 参数application/json
pageSize
integer 
个数
必需
preOperatorId
integer 
上一页广告ID
必需
示例
{
    "pageSize": 0,
    "preOperatorId": 0
}

示例代码

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/operator/queryAdvertisements' \
--header 'X-ATOMGIT-POP-COMMUNITY: openatom' \
--header 'Content-Type: application/json' \
--data-raw '{
    "pageSize": 0,
    "preOperatorId": 0
}'

返回响应

🟢200成功
application/json
Body
code
integer 
必需
msg
string 
必需
data
array [object {9}] 
必需
operateId
integer 
ID
必需
operateType
integer 
类型
必需
3
jumpUrl
string 
跳转地址
必需
operateName
string 
名称
必需
logoType
null 
logo类型
必需
picUrl
string 
图片地址
必需
showStartTime
string  | null 
开始时间
必需
showEndTime
string  | null 
结束时间
必需
showStatus
integer 
战时状态
必需
展示中 未开始 长期 已失效
示例
{
    "code": 200,
    "msg": "成功",
    "data": [
        {
            "operateId": 124,
            "operateType": 3,
            "jumpUrl": "https://competition.atomgit.com/competition",
            "operateName": "第二届开放原子大赛",
            "logoType": null,
            "picUrl": "https://file.pop.atomgit.com/imgs/cq/2024/10/11/9e2098606ac4d276c58fa5bbcf9d1738.jpg",
            "communityId": 1,
            "showStartTime": "2024-10-11 16:09:48",
            "showEndTime": "2024-12-31 16:09:48",
            "showStatus": 1
        },
        {
            "operateId": 125,
            "operateType": 3,
            "jumpUrl": "https://competition.atomgit.com/competitionInfo?id=be147841f922e1efbfd748f453d4c39f",
            "operateName": "超大规模多组分渗流全隐式模拟中的稀疏线性方程组求解",
            "logoType": null,
            "picUrl": "https://file.pop.atomgit.com/imgs/cq/2024/10/11/629913a6930fc5e5ef55092f5fbf9bb8.jpg",
            "communityId": 1,
            "showStartTime": "2024-10-11 16:12:06",
            "showEndTime": "2024-12-25 16:12:06",
            "showStatus": 1
        },
        {
            "operateId": 126,
            "operateType": 3,
            "jumpUrl": "https://competition.atomgit.com/competitionInfo?id=4d59fdd1604b17529552a14449f5d460",
            "operateName": "vivo蓝河操作系统创新赛-C/C++与Rust生态互通工具自动化解决方案",
            "logoType": null,
            "picUrl": "https://file.pop.atomgit.com/imgs/cq/2024/10/11/7a8ee27a397b86dbf56bfaa21012799a.png",
            "communityId": 1,
            "showStartTime": "2024-10-11 16:13:04",
            "showEndTime": "2025-01-10 16:13:04",
            "showStatus": 1
        },
        {
            "operateId": 127,
            "operateType": 3,
            "jumpUrl": "https://competition.atomgit.com/competitionInfo?id=d65b849bc916bd42e1bc5f5ee2562efa",
            "operateName": "飞桨多模态大模型套件PaddleMIX开发大赛",
            "logoType": null,
            "picUrl": "https://file.pop.atomgit.com/imgs/cq/2024/10/11/d20c3540f4aea4b0caf70ecd5f1e05e0.png",
            "communityId": 1,
            "showStartTime": "2024-10-11 16:14:12",
            "showEndTime": "2024-12-31 16:14:12",
            "showStatus": 1
        },
        {
            "operateId": 128,
            "operateType": 3,
            "jumpUrl": "https://competition.atomgit.com/competitionInfo?id=8d038e99d7962f9bfab5580c10e317cc",
            "operateName": "开源开发者工具及应用挑战赛",
            "logoType": null,
            "picUrl": "https://file.pop.atomgit.com/imgs/cq/2024/10/11/5385f0c70546acbed06e7a7551eb31eb.png",
            "communityId": 1,
            "showStartTime": "2024-10-11 16:15:16",
            "showEndTime": "2024-12-31 16:15:16",
            "showStatus": 1
        },
        {
            "operateId": 129,
            "operateType": 3,
            "jumpUrl": "https://competition.atomgit.com/competitionInfo?id=ea68644db2ecf8240c61888badeeb79c",
            "operateName": "亿级以上网格油藏模型三维可视化",
            "logoType": null,
            "picUrl": "https://file.pop.atomgit.com/imgs/cq/2024/10/11/7bcdecc7fa0df1935ba6ace1e72d5965.png",
            "communityId": 1,
            "showStartTime": "2024-10-11 16:16:28",
            "showEndTime": "2024-12-25 16:16:28",
            "showStatus": 1
        },
        {
            "operateId": 77,
            "operateType": 3,
            "jumpUrl": "https://competition.atomgit.com/competitionInfo?id=fc9b28077aef8283254d82773791d1e0",
            "operateName": "大规模物联网中间件系统挑战赛-基于BifroMQ的应用开发",
            "logoType": null,
            "picUrl": "https://file.pop.atomgit.com/imgs/openatom/2024/08/12/045674aca1101597cb5db7b6912958f9.png",
            "communityId": 1,
            "showStartTime": null,
            "showEndTime": null,
            "showStatus": 4
        },
        {
            "operateId": 124,
            "operateType": 3,
            "jumpUrl": "https://competition.atomgit.com/competition",
            "operateName": "第二届开放原子大赛",
            "logoType": null,
            "picUrl": "https://file.pop.atomgit.com/imgs/cq/2024/10/11/9e2098606ac4d276c58fa5bbcf9d1738.jpg",
            "communityId": 1,
            "showStartTime": "2024-10-11 16:09:48",
            "showEndTime": "2024-12-31 16:09:48",
            "showStatus": 1
        },
        {
            "operateId": 125,
            "operateType": 3,
            "jumpUrl": "https://competition.atomgit.com/competitionInfo?id=be147841f922e1efbfd748f453d4c39f",
            "operateName": "超大规模多组分渗流全隐式模拟中的稀疏线性方程组求解",
            "logoType": null,
            "picUrl": "https://file.pop.atomgit.com/imgs/cq/2024/10/11/629913a6930fc5e5ef55092f5fbf9bb8.jpg",
            "communityId": 1,
            "showStartTime": "2024-10-11 16:12:06",
            "showEndTime": "2024-12-25 16:12:06",
            "showStatus": 1
        },
        {
            "operateId": 126,
            "operateType": 3,
            "jumpUrl": "https://competition.atomgit.com/competitionInfo?id=4d59fdd1604b17529552a14449f5d460",
            "operateName": "vivo蓝河操作系统创新赛-C/C++与Rust生态互通工具自动化解决方案",
            "logoType": null,
            "picUrl": "https://file.pop.atomgit.com/imgs/cq/2024/10/11/7a8ee27a397b86dbf56bfaa21012799a.png",
            "communityId": 1,
            "showStartTime": "2024-10-11 16:13:04",
            "showEndTime": "2025-01-10 16:13:04",
            "showStatus": 1
        }
    ]
}
上一页
获取sitemap接口
下一页
注册-邮箱
Built with