请求 | GET /discuss |
---|---|
参数 | { forum?: string; page?: number } |
响应主体 | application/json (LentilleDataResponse<PostListData> ) |
请求 | GET /api/user/createdPosts |
---|---|
参数 | { page?: number; orderBy?: string } |
响应主体 | application/json ({ posts: List<LegacyPost> } ) |
请求 | GET /discuss/:id |
---|---|
参数 | { page?: number; sort?: string } |
响应主体 | application/json (LentilleDataResponse<PostData> ) |
请求 | POST /api/discuss/post |
---|---|
请求主体 | application/json (CreatePostRequest ) |
响应主体 | application/json ({ status: number; data: number } ) |
请求 | POST /api/discuss/reply/:id |
---|---|
请求主体 | application/json ({ captcha: string; content: string } ) |
响应主体 | application/json ({ status: number; data: [] } ) |
请求 | DELETE /api/discuss/delete/:id |
---|---|
响应主体 | application/json ({ status: number; data: [] } ) |
请求 | DELETE /api/discuss/deleteReply/:id |
---|---|
响应主体 | application/json ({ status: number; data: [] } ) |
请求 | POST /api/report/post |
---|---|
请求主体 | application/json ({ relevantID: number; reason: string } ) |
响应主体 | application/json ({ status: number; data: string } ) |
请求 | POST /api/report/post_reply |
---|---|
请求主体 | application/json ({ relevantID: number; reason: string } ) |
响应主体 | application/json ({ status: number; data: string } ) |