aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-04-22 21:48:42 +0200
committerlonkaars <l.leblansch@gmail.com>2021-04-22 21:48:42 +0200
commit09dfbc130329da1e52dfc3ea4de356256c4bfb4b (patch)
treec2e562e4c6a3b6b2fdccaf512a6144817167bf49
parent1cf6504bbbaf946da792985a0bd7ada6ea85a281 (diff)
/verify/discord api endpoint draft
-rw-r--r--api/readme.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/api/readme.md b/api/readme.md
index f5cd981..669b53b 100644
--- a/api/readme.md
+++ b/api/readme.md
@@ -589,6 +589,23 @@ returns error when image is not .png or larger than 256x256
</td>
</tr>
+<tr>
+<td>/verify/discord</td>
+<td><code>GET</code></td>
+<td>get a one-time code for verifying account ownership with the discord bot</td>
+<td><code>none</code></td>
+<td><code>user</code></td>
+<td>
+
+```ts
+{
+ code: string
+}
+```
+
+</td>
+</tr>
+
</tbody>
</code>
</table>