Chinese
Postman
OpenAPI
Contact us
Sign up
Search...
/
概述
介绍
API 参考
Auth
Clans
Classrooms
Stats
Users
POST
创建用户
GET
获取用户
PUT
Update
GET
按用户获取教室
PUT
获取用户英雄
PUT
设置用户的代码配置
POST
将一个OAuth2身份
PUT
授予订阅
PUT
撤销他的高级访问权限
PUT
格兰特“课堂”版
PUT
缩短用户许可
GET
搜索用户
Postman
OpenAPI
Contact us
Sign up
API 参考
Users
创建用户
POST
https://koudashijie.com/api
/
users
创建一个
User
(“用户”)
Request
This endpoint expects an object.
name
string
Required
email
string
Required
role
"student" or "teacher"
Optional
Allowed values:
student
teacher
"student"
或者
"teacher"
preferredLanguage
string
Optional
heroConfig
object
Optional
Show property
birthday
string
Optional
Response
This endpoint returns an object.
_id
string
Optional
email
string
Optional
name
string
Optional
slug
string
Optional
role
string
Optional
通常这是指
"teacher"
(“老师”)或者
"student"
(“学生”)
stats
object
Optional
Show 3 properties
oAuthIdentities
list of objects
Optional
Show 2 properties
subscription
object
Optional
Show 2 properties
license
object
Optional
Show 2 properties
Built with