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
jtf
2015-08-06 10:22:31 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
94188b42dd14f283bb563489c58beb2a25e2679e
94188b42
1 parent
3c912df9
Updated 班级管理系列接口 (markdown)
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
班级管理系列接口.md
班级管理系列接口.md
View file @
94188b4
####获得所有班级接口
接口地址:/group
请求方式:GET
参数:无
返回值:
说明:旧版本无
**background**
参数
```
json
[
{
...
...
@@ -42,16 +48,22 @@
----------------------------------
####更新班级接口
接口地址:/group
请求方式:POST
参数:
|参数 |是否必须 |说明 |
|--------------|------------|------------|
|id |否 |id为空,是创建班级;id不为空,是更新班级。|
|name |是 |班级名称 |
|summary |否 |简介 |
|background |否 |班级背景图 |
返回值:
```
json
{
"id"
:
15
,
...
...
@@ -63,19 +75,30 @@
```
----------------------------------
####删除班级接口
接口地址:/group/{group}
请求方式:DELETE
参数:{group}为班级id
接口地址示例:/group/15?access_token=cCBBP9x4vq
返回值:无
----------------------------------
####获取班级所有学生接口
接口地址:/group/{group}
请求方式:GET
参数:{group}为班级id
接口地址示例:/group/15?access_token=cCBBP9x4vq
返回值:
```
json
[
{
...
...
Please
register
or
login
to post a comment