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

查询社区导航栏

开发中
GET
https://openatom.atomgit.com/api/toolbar/queryToolbarListByCommunityId

请求参数

Header 参数
X-ATOMGIT-POP-COMMUNITY
string 
可选
示例值:
openatom

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://openatom.atomgit.com/api/toolbar/queryToolbarListByCommunityId' \
--header 'X-ATOMGIT-POP-COMMUNITY: openatom' \
--header 'X-ATOMGIT-POP-COMMUNITY;'

返回响应

🟢200成功
application/json
Body
code
integer 
必需
msg
string 
必需
data
array [object {9}] 
必需
barId
integer 
导航ID
必需
barName
string 
导航名称
必需
barNameEn
null 
导航英文名称
必需
jumpUrl
string 
跳转地址
必需
sort
integer 
顺序
必需
0->
createName
string 
创建人
必需
createTime
string 
创建时间
必需
updateName
null 
修改人
必需
updateTime
string 
修改时间
必需
示例
{
    "code": 200,
    "msg": "成功",
    "data": [
        {
            "barId": 1,
            "barName": "开源项目",
            "barNameEn": null,
            "jumpUrl": "https://atomgit.com/openatomfoundation",
            "communityId": 1,
            "sort": 0,
            "flag": 1,
            "createName": "test-1",
            "createTime": "2024-05-13T17:04:14",
            "updateName": null,
            "updateTime": "2024-06-26T19:01:04"
        },
        {
            "barId": 6,
            "barName": "招聘公告",
            "barNameEn": null,
            "jumpUrl": "https://openatom.atomgit.com/explore/journalism/detail/370175730220404736",
            "communityId": 1,
            "sort": 1,
            "flag": 1,
            "createName": "test-1",
            "createTime": "2024-05-14T16:43:28",
            "updateName": null,
            "updateTime": "2024-10-21T09:22:55"
        },
        {
            "barId": 3,
            "barName": "开放原子开源大赛",
            "barNameEn": null,
            "jumpUrl": "https://competition.atomgit.com/",
            "communityId": 1,
            "sort": 2,
            "flag": 1,
            "createName": "test-1",
            "createTime": "2024-05-14T16:41:34",
            "updateName": null,
            "updateTime": "2024-10-21T09:23:35"
        },
        {
            "barId": 2,
            "barName": "校源行",
            "barNameEn": null,
            "jumpUrl": "https://xiaoyuanxing.openatom.cn/",
            "communityId": 1,
            "sort": 3,
            "flag": 1,
            "createName": "test-1",
            "createTime": "2024-05-14T16:40:52",
            "updateName": null,
            "updateTime": "2024-10-21T09:23:53"
        },
        {
            "barId": 5,
            "barName": "开源态势洞察",
            "barNameEn": null,
            "jumpUrl": "https://openatom.org/insight/index",
            "communityId": 1,
            "sort": 4,
            "flag": 1,
            "createName": "test-1",
            "createTime": "2024-05-14T16:42:22",
            "updateName": null,
            "updateTime": "2024-10-21T09:23:45"
        },
        {
            "barId": 4,
            "barName": "开源法律",
            "barNameEn": null,
            "jumpUrl": "https://openatom.org/law/translate",
            "communityId": 1,
            "sort": 5,
            "flag": 1,
            "createName": "test-1",
            "createTime": "2024-05-14T16:41:57",
            "updateName": null,
            "updateTime": "2024-10-21T09:23:01"
        }
    ]
}
上一页
获取社区
下一页
运营位通用接口
Built with