学科网接口
  1. 知识树
学科网接口
  • 基础数据API
    • 行政区
      • 获取行政区列表
      • 获取指定ID的行政区
    • 资源库基础标签
      • 资源库基础标签
    • 名校
      • 名校列表
    • 学段
      • 获取学段列表
    • 年级
      • 获取年级列表
    • 学制
      • 获取学制列表
    • 学期
      • 获取学期列表
    • 学科
      • 获取学科列表
    • 课程
      • 获取课程列表
      • 获取指定ID的课程
    • 知识树
      • 获取指定课程的知识树
        GET
      • 获取指定课程的精简版知识树
        GET
      • 获取多个ID的知识点
        GET
      • 获取章节和知识点的映射关系
        GET
    • 教材版本
      • 获取指定课程ID的教材版本列表
    • 教材
      • 获取教材列表
    • 教材(章节)目录
      • 获取指定教材的章节列表
    • 试卷类型
      • 获取试卷类型列表
    • 试题难度等级
      • 获取试题难度等级列表
    • 试题类型
      • 获取试题类型列表
      • 获取标签列表
  • 题库API
    • 试题推送
      • 章节-知识点推题
      • 举一反三推题
      • 搜题(精品版)
      • 关键词搜题
  1. 知识树

获取指定课程的知识树

测试环境
https://openapi.xkw.com
测试环境
https://openapi.xkw.com
GET
https://openapi.xkw.com
/xopqbm/courses/knowledge-points
最后修改时间:2023-04-27 14:00:51
责任人:未设置
Xop-App-Id=103231681885018300&Xop-Nonce=11e7bd52ee7b45328630fe39d7f295ad&Xop-Timestamp=1682603681&course_id=1&xop_url=/xopqbm/courses/knowledge-points&secret=vIbGWISJTsXJQG62szeGbzSMllXl6Nbo

请求参数

Query 参数
course_id
integer 
课程ID
可选
示例值:
1
Header 参数
Xop-App-Id
string 
可选
示例值:
103231681885018300
Xop-Nonce
string 
可选
示例值:
11e7bd52ee7b45328630fe39d7f295ad
Xop-Timestamp
string 
可选
示例值:
1682603681
Xop-Sign
string 
可选
示例值:
e97994b42883545fb011bba95784bb8281d14b0a

示例代码

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://openapi.xkw.com/xopqbm/courses/knowledge-points?course_id=1' \
--header 'Xop-App-Id: 103231681885018300' \
--header 'Xop-Nonce: 11e7bd52ee7b45328630fe39d7f295ad' \
--header 'Xop-Timestamp: 1682603681' \
--header 'Xop-Sign: e97994b42883545fb011bba95784bb8281d14b0a'

返回响应

🟢200成功
application/json
Body
code
integer 
必需
msg
string 
必需
data
array [object {12}] 
必需
id
integer 
必需
name
string 
必需
course_id
integer 
必需
type
string 
必需
parent_id
integer 
必需
ordinal
integer 
必需
for_lite
boolean 
必需
tag
string 
必需
create_time
string 
必需
update_time
string 
必需
depth
integer 
必需
root_id
integer 
必需
示例
{"code":2000000,"msg":"OK","data":[{"id":65443,"name":"基础知识","course_id":1,"type":"NODE","parent_id":0,"ordinal":0,"for_lite":true,"tag":"STANDARD","create_time":"2018-08-17T09:33:50","update_time":"2023-02-14T05:51:04","depth":1,"root_id":65443},{"id":65487,"name":"句法实践","course_id":1,"type":"NODE","parent_id":0,"ordinal":1,"for_lite":true,"tag":"STANDARD","create_time":"2018-08-17T09:33:50","update_time":"2023-02-14T05:51:04","depth":1,"root_id":65487},{"id":65524,"name":"阅读鉴赏","course_id":1,"type":"NODE","parent_id":0,"ordinal":2,"for_lite":true,"tag":"STANDARD","create_time":"2018-08-17T09:33:50","update_time":"2023-02-14T05:51:04","depth":1,"root_id":65524},{"id":65515,"name":"积累运用","course_id":1,"type":"NODE","parent_id":0,"ordinal":3,"for_lite":true,"tag":"STANDARD","create_time":"2018-08-17T09:33:50","update_time":"2023-02-14T05:51:04","depth":1,"root_id":65515},{"id":65532,"name":"语言表达","course_id":1,"type":"NODE","parent_id":0,"ordinal":4,"for_lite":true,"tag":"STANDARD","create_time":"2018-08-17T09:33:50","update_time":"2023-04-25T07:54:14","depth":1,"root_id":65532},{"id":65536,"name":"写作训练","course_id":1,"type":"NODE","parent_id":0,"ordinal":5,"for_lite":true,"tag":"STANDARD","create_time":"2018-08-17T09:33:50","update_time":"2023-02-14T05:51:04","depth":1,"root_id":65536},{"id":65542,"name":"其他","course_id":1,"type":"NODE","parent_id":0,"ordinal":6,"for_lite":false,"tag":"STANDARD","create_time":"2018-08-17T09:33:50","update_time":"2023-04-25T07:54:14","depth":1,"root_id":65542},{"id":65444,"name":"拼音","course_id":1,"type":"NODE","parent_id":65443,"ordinal":0,"for_lite":true,"tag":"STANDARD","create_time":"2018-08-17T09:33:50","update_time":"2023-02-14T05:51:04","depth":2,"root_id":65443},{"id":65451,"name":"汉字","course_id":1,"type":"NODE","parent_id":65443,"ordinal":1,"for_lite":true,"tag":"STANDARD","create_time":"2018-08-17T09:33:50","update_time":"2023-02-14T05:51:04","depth":2,"root_id":65443},{"id":65465,"name":"词语","course_id":1,"type":"NODE","parent_id":65443,"ordinal":2,"for_lite":true,"tag":"STANDARD","create_time":"2018-08-17T09:33:50","update_time":"2023-02-14T05:51:04","depth":2,"root_id":65443},{"id":65446,"name":"声母","course_id":1,"type":"KNOWLEDGE_POINT","parent_id":65444,"ordinal":0,"for_lite":false,"tag":"STANDARD","create_time":"2018-08-17T09:33:50","update_time":"2023-02-14T05:51:04","depth":3,"root_id":65443},{"id":65447,"name":"韵母","course_id":1,"type":"KNOWLEDGE_POINT","parent_id":65444,"ordinal":1,"for_lite":false,"tag":"STANDARD","create_time":"2018-08-17T09:33:50","update_time":"2023-02-14T05:51:04","depth":3,"root_id":65443},{"id":65449,"name":"音节","course_id":1,"type":"KNOWLEDGE_POINT","parent_id":65444,"ordinal":2,"for_lite":false,"tag":"STANDARD","create_time":"2018-08-17T09:33:50","update_time":"2023-02-14T05:51:04","depth":3,"root_id":65443},{"id":65445,"name":"字母(表)","course_id":1,"type":"KNOWLEDGE_POINT","parent_id":65444,"ordinal":3,"for_lite":false,"tag":"STANDARD","create_time":"2018-08-17T09:33:50","update_time":"2023-02-14T05:51:04","depth":3,"root_id":65443},{"id":65448,"name":"声调与标调","course_id":1,"type":"KNOWLEDGE_POINT","parent_id":65444,"ordinal":4,"for_lite":false,"tag":"STANDARD","create_time":"2018-08-17T09:33:50","update_time":"2023-02-14T05:51:04","depth":3,"root_id":65443},{"id":67327,"name":"拼读方法","course_id":1,"type":"KNOWLEDGE_POINT","parent_id":65444,"ordinal":5,"for_lite":false,"tag":"STANDARD","create_time":"2018-12-28T08:12:22","update_time":"2023-02-14T05:51:04","depth":3,"root_id":65443},{"id":65450,"name":"拼合规律","course_id":1,"type":"KNOWLEDGE_POINT","parent_id":65444,"ordinal":6,"for_lite":false,"tag":"STANDARD","create_time":"2018-08-17T09:33:50","update_time":"2023-02-14T05:51:04","depth":3,"root_id":65443},{"id":67324,"name":"字母表顺序","course_id":1,"type":"TESTING_POINT","parent_id":65445,"ordinal":0,"for_lite":false,"tag":"STANDARD","create_time":"2018-12-28T07:39:37","update_time":"2023-02-14T05:51:04","depth":4,"root_id":65443},{"id":67325,"name":"大小写对应","course_id":1,"type":"TESTING_POINT","parent_id":65445,"ordinal":1,"for_lite":false,"tag":"STANDARD","create_time":"2018-12-28T07:39:37","update_time":"2023-02-14T05:51:04","depth":4,"root_id":65443},{"id":67326,"name":"字母书写规则","course_id":1,"type":"TESTING_POINT","parent_id":65445,"ordinal":2,"for_lite":false,"tag":"STANDARD","create_time":"2018-12-28T07:39:37","update_time":"2023-02-14T05:51:04","depth":4,"root_id":65443},{"id":67313,"name":"平舌音","course_id":1,"type":"TESTING_POINT","parent_id":65446,"ordinal":0,"for_lite":false,"tag":"STANDARD","create_time":"2018-12-28T07:39:37","update_time":"2023-02-14T05:51:04","depth":4,"root_id":65443},{"id":67314,"name":"翘舌音","course_id":1,"type":"TESTING_POINT","parent_id":65446,"ordinal":1,"for_lite":false,"tag":"STANDARD","create_time":"2018-12-28T07:39:37","update_time":"2023-02-14T05:51:04","depth":4,"root_id":65443},{"id":67315,"name":"单韵母","course_id":1,"type":"TESTING_POINT","parent_id":65447,"ordinal":0,"for_lite":false,"tag":"
修改于 2023-04-27 14:00:51
上一页
获取指定ID的课程
下一页
获取指定课程的精简版知识树
Built with