Update api spec (#424)
* YOYO NEW API SPEC! * I have generated the latest API! --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
4f8c3b25f4
commit
d31c0f8428
File diff suppressed because it is too large
Load Diff
@ -20,6 +20,8 @@ class ExtendedUser(BaseModel):
|
||||
|
||||
created_at: datetime.datetime
|
||||
|
||||
deletion_scheduled: bool = False
|
||||
|
||||
discord: Optional[str] = None
|
||||
|
||||
email: Optional[str] = None
|
||||
|
@ -18,6 +18,8 @@ class User(BaseModel):
|
||||
|
||||
created_at: datetime.datetime
|
||||
|
||||
deletion_scheduled: bool = False
|
||||
|
||||
discord: Optional[str] = None
|
||||
|
||||
email: Optional[str] = None
|
||||
|
10
spec.json
10
spec.json
@ -20745,6 +20745,11 @@
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
},
|
||||
"deletion_scheduled": {
|
||||
"description": "If the user is scheduled for deletion",
|
||||
"default": false,
|
||||
"type": "boolean"
|
||||
},
|
||||
"discord": {
|
||||
"description": "The user's Discord handle.",
|
||||
"type": "string"
|
||||
@ -35663,6 +35668,11 @@
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
},
|
||||
"deletion_scheduled": {
|
||||
"description": "If the user is scheduled for deletion",
|
||||
"default": false,
|
||||
"type": "boolean"
|
||||
},
|
||||
"discord": {
|
||||
"description": "The user's Discord handle.",
|
||||
"type": "string"
|
||||
|
Reference in New Issue
Block a user