| 请求 | GET /team/:id |
|---|---|
| 响应主体 | application/json (LentilleDataResponse<TeamData>) |
| 请求 | GET /user/mine/team |
|---|---|
| 响应主体 | application/json (LentilleDataResponse<UserTeamsData>) |
| 请求 | GET /team/:id/member |
|---|---|
| 响应主体 | application/json (LentilleDataResponse<TeamMembersData>) |
| 请求 | GET /team/:id/problem |
|---|---|
| 参数 | TeamProblemListParams |
| 响应主体 | application/json (LentilleDataResponse<TeamProblemsData>) |
| 请求 | GET /team/:id/training |
|---|---|
| 参数 | { page?: number } |
| 响应主体 | application/json (LentilleDataResponse<TeamProblemSetsData>) |
| 请求 | GET /team/:id/contest |
|---|---|
| 参数 | { page?: number } |
| 响应主体 | application/json (LentilleDataResponse<TeamContestsData>) |
| 请求 | POST /api/team/join/:id |
|---|---|
| 请求主体 | application/json ({ applyMessage?: string }) |
| 响应主体 | application/json ({}) |
| 请求 | POST /api/team/exit/:id |
|---|---|
| 响应主体 | application/json ({}) |
| 请求 | POST /api/team/create |
|---|---|
| 请求主体 | application/json ({ name: string }) |
| 响应主体 | application/json ({ teamId: number }) |
| 请求 | POST /api/team/edit/:id |
|---|---|
| 请求主体 | application/json ({ settings: { description: string; joinPermission: number } }) |
| 响应主体 | application/json ({}) |
| 请求 | POST /api/team/setMaster/:id |
|---|---|
| 请求主体 | application/json ({ uid: number }) |
| 响应主体 | application/json ({}) |
| 请求 | POST /api/team/editNotice/:id |
|---|---|
| 请求主体 | application/json ({ notice: string }) |
| 响应主体 | application/json ({}) |
| 请求 | POST /api/team/editMember/:id |
|---|---|
| 请求主体 | application/json (ManageTeamMemberRequest) |
| 响应主体 | application/json (TeamMember) |
| 请求 | POST /api/team/review/:id |
|---|---|
| 请求主体 | application/json ({ uid: number; reviewResult: "apply" | "refuse" | "ban" }) |
| 响应主体 | application/json ({}) |
| 请求 | POST /api/team/kick/:id |
|---|---|
| 请求主体 | application/json ({ uid: number }) |
| 响应主体 | application/json ({}) |