获取开放平台所有接口
最近更新时间: 2026年01月05日 02时14分38秒
开放平台
描述
获取开放平台所有接口
支持的模式
无需授权可直接访问
请求方法
GET
请求地址
返回参数
| 参数名 | 类型 | 备注 | 码表 |
|---|---|---|---|
endpoint | string | 请求路径,以_拼接 | |
url | string | 请求地址 | |
description | string | 接口描述 | |
dataSource | string | 数据来源 | |
docsUrl | string | 文档地址 | |
method | string | 请求方法 | |
title | string | 文档名称 | |
extra_config.auth/validator.scopes | string | 权限 | |
parameters | array[object] | 请求参数 | |
field | string | 字段名 | |
remark | string | 字段备注 | |
type | string | 字段类型 | |
stopwatch | string | 字段码表 | |
requestBody | array[object] | 请求体参数 | |
field | string | 字段名 | |
isRequired | boolean | 是否必填 | |
remark | string | 请求体备注 | |
type | string | 字段类型 | |
stopwatch | string | 字段码表 | |
response | array[object] | 响应体参数 | |
field | string | 字段名 | |
isRequired | boolean | 是否必填 | |
remark | string | 响应体备注 | |
type | string | 字段类型 | |
stopwatch | string | 字段码表 |
解释说明
endpoint是开放平台中对接口请求路径的标准化标识。采用以下规则组成:以接口版本、模块名、操作名等字段按下划线 _ 拼接而成。其值对应开放平台 API 文档中的具体接口,请以文档为准。
请求示例
curl -X GET \
'https://api.tongji.edu.cn/v1/openplatform/api/get_api_list' 返回示例
{
"code": "A00000",
"data": [
{
"ApiInfo": [
{
"dataSource": "",
"description": "日程列表",
"docsUrl": "https://api.tongji.edu.cn/docs/#/interface/calendar?id=日程列表",
"parameters": null,
"requestBody": null,
"response": null,
"endpoint": "v1_infra_calendar_list",
"title": "日程列表",
"extra_config": {
"auth/validator": {
"scopes": [
"lordofthering",
"calendar",
"infra_calendar_list"
]
}
},
"method": "GET",
"url": "https://api.tongji.edu.cn/v1/infra/calendar/list"
},
{
"dataSource": "",
"description": "日程详情",
"docsUrl": "https://api.tongji.edu.cn/docs/#/interface/calendar?id=日程详情",
"endpoint": "v1_infra_calendar_detail",
"title": "日程详情",
"extra_config": {
"auth/validator": {
"scopes": [
"lordofthering",
"calendar",
"infra_calendar_detail"
]
}
},
"method": "GET",
"url": "https://api.tongji.edu.cn/v1/infra/calendar/detail"
},
],
"SortEnName": "calendar",
"SortName": "日程服务"
}
],
"msg": "成功"
}