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
李振兴
2015-10-08 16:01:17 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
bfc2902d0441c05eab4ceaa5f34a91c302b59111
bfc2902d
1 parent
0c5d4015
Created 当前偏好下课程目录详细信息获取接口 (markdown)
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
59 additions
and
0 deletions
当前偏好下课程目录详细信息获取接口.md
当前偏好下课程目录详细信息获取接口.md
0 → 100644
View file @
bfc2902
###接口地址
> /catalog
###请求方式
> get请求
###请求参数
> 无参数
###返回值
######获取成功
> 状态码:200
```
json
[
{
"id"
:
100100101
,
"name"
:
"TEXTBOOK"
},
{
"id"
:
102
,
"name"
:
"PASSAGE"
},
{
"id"
:
105
,
"name"
:
"PHONICS"
},
{
"id"
:
103
,
"name"
:
"DIALOG"
},
{
"id"
:
104
,
"name"
:
"WORDS"
},
{
"id"
:
101
,
"name"
:
"QUIZ"
,
"quiz"
:
1
},
{
"id"
:
106
,
"name"
:
"OTHERS"
}
]
```
######获取失败情况1
> 状态码:404
```
json
{
"failed"
:
"该用户未设置偏好"
}
```
\ No newline at end of file
...
...
Please
register
or
login
to post a comment