| 请求 | GET / |
|---|---|
| 响应主体 | text/html (可以通过 document.querySelector("meta[name=csrf-token]").content 获取) |
| 请求 | GET /_lfe/config |
|---|---|
| 响应主体 | application/json (ConfigResponse) |
| 请求 | GET /_lfe/tags |
|---|---|
| 响应主体 | application/json (TagsResponse) |
| 请求 | GET /ranking |
|---|---|
| 参数 | RankingListParams |
| 响应主体 | application/json (DataResponse<{ rankList: List<Rating> }>) |
| 请求 | GET /ranking/elo |
|---|---|
| 参数 | { page?: number } |
| 响应主体 | application/json (DataResponse<{ ranking: List<EloRating & { previous: EloRating | null }> }>) |
| 请求 | GET /user/notification |
|---|---|
| 参数 | NotificationsParams |
| 响应主体 | application/json (DataResponse<NotificationsData>) |
| 请求 | GET /api/qiaFan/getFan/:id |
|---|---|
| 响应主体 | application/json ({ advertisement: Advertisement | null }) |
| 请求 | GET /paintboard/board |
|---|---|
| 响应主体 | text/plain (1000 行 * 600 列的字符矩阵,第 i 行第 j 个字符表示第 j 行第 i 个像素。) |
| 请求 | POST /paintboard/resetToken |
|---|---|
| 响应主体 | application/json ({ token: string }) |
| 请求 | POST /paintboard/paint |
|---|---|
| 参数 | { token?: string } |
| 请求主体 | application/json ({ x: number; y: number; color: number }) |
| 响应主体 | application/json ({}) |