diff --git a/misc.md b/misc.md index d52933b..596a1b2 100644 --- a/misc.md +++ b/misc.md @@ -85,3 +85,62 @@ application/json ({ advertisement: { image: Image; url: string; id: number; }; }) + +## 冬日绘版内容 + + + + + + + + + + +
请求GET /paintboard/board
响应主体text/plain (1000 行 * 600 列的字符矩阵,第 i 行第 j 个字符表示第 j 行第 i 个像素。)
+ +## 冬日绘版重置 token + + + + + + + + + + +
请求POST /paintboard/resetToken
响应主体application/json ({ token: string; })
+ + + +## 冬日绘版绘制 + + + + + + + + + + + + + + + + + +
请求POST /paintboard/paint
参数{ token?: string; }
请求主体application/json ({ x: number; y: number; color: number; })
响应主体application/json ({})