Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

添加冬日绘版系列内容 #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
0f-0b merged 3 commits into 0f-0b:master from EarthMessenger:master
Jan 16, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 59 additions & 0 deletions misc.md
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,62 @@
<td><code>application/json</code> (<code>{ advertisement: { image: Image; url: string; id: number; }; }</code>)</td>
</tr>
</table>

## 冬日绘版内容

<table>
<tr>
<th align="right">请求</th>
<td><code>GET /paintboard/board</code></td>
</tr>
<tr>
<th align="right">响应主体</th>
<td><code>text/plain</code> (1000 行 * 600 列的字符矩阵,第 i 行第 j 个字符表示第 j 行第 i 个像素。)</td>
</tr>
</table>

## 冬日绘版重置 token

<table>
<tr>
<th align="right">请求</th>
<td><code>POST /paintboard/resetToken</code></td>
</tr>
<tr>
<th align="right">响应主体</th>
<td><code>application/json</code> (<code>{ token: string; }</code>)</td>
</tr>
</table>

<!-- ## 冬日绘版更新检测

<table>
<tr>
<th align="right">请求</th>
<td><code>GET wss://ws.luogu.com.cn/ws </code></td>
</tr>
<tr>
<th align="right">响应主体</th>
<td>自己意会</td>
</tr>
</table> -->

## 冬日绘版绘制

<table>
<tr>
<th align="right">请求</th>
<td><code>POST /paintboard/paint</code></td>
</tr>
<tr>
<th align="right">参数</th>
<td><code>{ token?: string; }</code></td>
</tr>
<tr>
<th align="right">请求主体</th>
<td><code>application/json</code> (<code>{ x: number; y: number; color: number; }</code>)</td>
</tr>
<tr>
<th align="right">响应主体</th>
<td><code>application/json</code> (<code>{}</code>)</td>
</table>

AltStyle によって変換されたページ (->オリジナル) /