aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar kosayoda <[email protected]>2020-07-16 10:46:56 +0800
committerGravatar kosayoda <[email protected]>2020-07-16 10:46:56 +0800
commit4c288387097dcb65feadce360857c9fbe1b2593f (patch)
tree2d44c0765230384ca3c8db31fe5fefc67ed36893
parentAdd migration for the mentions field in the Reminder model (diff)
Document POSTing mentions in ReminderViewSet
-rw-r--r--pydis_site/apps/api/viewsets/bot/reminder.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pydis_site/apps/api/viewsets/bot/reminder.py b/pydis_site/apps/api/viewsets/bot/reminder.py
index 5a44b7d3..b31330a0 100644
--- a/pydis_site/apps/api/viewsets/bot/reminder.py
+++ b/pydis_site/apps/api/viewsets/bot/reminder.py
@@ -48,6 +48,7 @@ class ReminderViewSet(
#### Request body
>>> {
... 'author': int,
+ ... 'mentions': List[int],
... 'content': str,
... 'expiration': str # ISO-formatted datetime
... }