Toggle navigation
Toggle navigation
This project
Loading...
Sign in
liuming
/
developer-docs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
JiangTengfei
2015-07-16 11:50:37 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
553db67c6dbb4bd47b27e6f731a45376a08c68ea
553db67c
1 parent
e6e4c7c6
Updated 课程分类信息查询 (markdown)
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
课程分类信息查询.md
课程分类信息查询.md
View file @
553db67
...
...
@@ -23,7 +23,7 @@ id为课程目录的id,path为课程目录的标识,例如目录“教材”
GET请求 http://api.boxfish.cn/course/catalog 该地址,不带参数
```
json
{
[
{
"id"
:
1867
,
...
...
@@ -42,14 +42,14 @@ GET请求 http://api.boxfish.cn/course/catalog 该地址,不带参数
"image"
:
"http://avatars.boxfish.cn/user/-12/figure/1411532427.jpg"
}
]
}
```
--------------------
返回二级、三级或四级目录:(客户端暂不需要)
GET请求 http://api.boxfish.cn/course/catalog?id=1931 或 http://api.boxfish.cn/course/catalog?path=100100
```
json
{
[
{
"id"
:
1931
,
...
...
@@ -82,7 +82,7 @@ GET请求 http://api.boxfish.cn/course/catalog?id=1931 或 http://api.boxfish.cn
"summary"
:
null
}
]
}
```
path是为提供树形结构提供的数据信息,三位数字为一个单位,每个单位固定以100开头,举例来讲:
...
...
Please
register
or
login
to post a comment