Skip to content

Commit 4cd427b

Browse files
Merge pull request #2 from photon-hq/chore/update-discord-openapi
chore: update Discord OpenAPI
1 parent 80e5363 commit 4cd427b

1 file changed

Lines changed: 35 additions & 20 deletions

File tree

specs/discord-api.openapi.json

Lines changed: 35 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -10432,6 +10432,16 @@
1043210432
"is_nickname_changeable": {
1043310433
"type": "boolean"
1043410434
},
10435+
"liveliness": {
10436+
"oneOf": [
10437+
{
10438+
"type": "null"
10439+
},
10440+
{
10441+
"$ref": "#/components/schemas/GuildLivelinessResponse"
10442+
}
10443+
]
10444+
},
1043510445
"max_age": {
1043610446
"format": "int32",
1043710447
"type": "integer"
@@ -10628,6 +10638,28 @@
1062810638
},
1062910639
"type": "object"
1063010640
},
10641+
"GuildLivelinessResponse": {
10642+
"properties": {
10643+
"last_updated_ts": {
10644+
"format": "date-time",
10645+
"type": [
10646+
"string",
10647+
"null"
10648+
]
10649+
},
10650+
"msg_activity_bins": {
10651+
"items": {
10652+
"format": "int32",
10653+
"type": "integer"
10654+
},
10655+
"type": "array"
10656+
}
10657+
},
10658+
"required": [
10659+
"msg_activity_bins"
10660+
],
10661+
"type": "object"
10662+
},
1063110663
"GuildMFALevel": {
1063210664
"format": "int32",
1063310665
"oneOf": [
@@ -32872,26 +32904,6 @@
3287232904
}
3287332905
}
3287432906
},
32875-
"204": {
32876-
"description": "204 response for bulk_ban_users_from_guild",
32877-
"headers": {
32878-
"X-RateLimit-Bucket": {
32879-
"$ref": "#/components/headers/X-RateLimit-Bucket"
32880-
},
32881-
"X-RateLimit-Limit": {
32882-
"$ref": "#/components/headers/X-RateLimit-Limit"
32883-
},
32884-
"X-RateLimit-Remaining": {
32885-
"$ref": "#/components/headers/X-RateLimit-Remaining"
32886-
},
32887-
"X-RateLimit-Reset": {
32888-
"$ref": "#/components/headers/X-RateLimit-Reset"
32889-
},
32890-
"X-RateLimit-Reset-After": {
32891-
"$ref": "#/components/headers/X-RateLimit-Reset-After"
32892-
}
32893-
}
32894-
},
3289532907
"429": {
3289632908
"$ref": "#/components/responses/ClientRatelimitedResponse"
3289732909
},
@@ -40128,6 +40140,7 @@
4012840140
},
4012940141
"external_auth_token": {
4013040142
"maxLength": 10240,
40143+
"minLength": 1,
4013140144
"type": "string"
4013240145
},
4013340146
"external_auth_type": {
@@ -40191,6 +40204,7 @@
4019140204
"properties": {
4019240205
"external_user_id": {
4019340206
"maxLength": 1024,
40207+
"minLength": 1,
4019440208
"type": "string"
4019540209
}
4019640210
},
@@ -40258,6 +40272,7 @@
4025840272
},
4025940273
"external_auth_token": {
4026040274
"maxLength": 10240,
40275+
"minLength": 1,
4026140276
"type": "string"
4026240277
},
4026340278
"external_auth_type": {

0 commit comments

Comments
 (0)