File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
pydis_site/apps/api/viewsets/bot Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ class AocCompletionistBlockViewSet(
23
23
>>> [
24
24
... {
25
25
... "user": 2,
26
- ... "is_blocked": False
26
+ ... "is_blocked": False,
27
27
... "reason": "Too good to be true"
28
28
... }
29
29
... ]
@@ -36,7 +36,7 @@ class AocCompletionistBlockViewSet(
36
36
>>>
37
37
... {
38
38
... "user": 2,
39
- ... "is_blocked": False
39
+ ... "is_blocked": False,
40
40
... "reason": "Too good to be true"
41
41
... }
42
42
@@ -50,7 +50,7 @@ class AocCompletionistBlockViewSet(
50
50
#### Request body
51
51
>>> {
52
52
... "user": int,
53
- ... "is_blocked": bool
53
+ ... "is_blocked": bool,
54
54
... "reason": string
55
55
... }
56
56
@@ -60,6 +60,7 @@ class AocCompletionistBlockViewSet(
60
60
61
61
### DELETE /bot/aoc-completionist-blocks/<user__id:int>
62
62
Deletes the AoC Completionist block item with the given `user__id`.
63
+
63
64
#### Status codes
64
65
- 204: returned on success
65
66
- 404: if the AoC Completionist block with the given user__id does not exist
Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ class AocAccountLinkViewSet(
59
59
60
60
### DELETE /bot/aoc-account-links/<user__id:int>
61
61
Deletes the AoC account link item with the given `user__id`.
62
+
62
63
#### Status codes
63
64
- 204: returned on success
64
65
- 404: if the AoC account link with the given user__id does not exist
You can’t perform that action at this time.
0 commit comments