Skip to content

Commit 80e5363

Browse files
chore: update Discord OpenAPI (#1)
Co-authored-by: invisicat <26664578+invisicat@users.noreply.github.com>
1 parent cd0fd41 commit 80e5363

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

specs/discord-api.openapi.json

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6751,6 +6751,7 @@
67516751
"type": "string"
67526752
},
67536753
"rate_limit_per_user": {
6754+
"format": "int32",
67546755
"maximum": 21600,
67556756
"minimum": 0,
67566757
"type": [
@@ -7277,6 +7278,7 @@
72777278
"type": "string"
72787279
},
72797280
"rate_limit_per_user": {
7281+
"format": "int32",
72807282
"maximum": 21600,
72817283
"minimum": 0,
72827284
"type": [
@@ -7314,6 +7316,7 @@
73147316
"type": "string"
73157317
},
73167318
"rate_limit_per_user": {
7319+
"format": "int32",
73177320
"maximum": 21600,
73187321
"minimum": 0,
73197322
"type": [
@@ -10166,6 +10169,11 @@
1016610169
"description": "guild has disabled activity alerts in the configured safety alerts channel",
1016710170
"title": "RAID_ALERTS_DISABLED"
1016810171
},
10172+
{
10173+
"const": "PRUNE_REQUIRES_ADMIN",
10174+
"description": "guild has restricted member prune to administrators and the guild owner",
10175+
"title": "PRUNE_REQUIRES_ADMIN"
10176+
},
1016910177
{
1017010178
"const": "ROLE_ICONS",
1017110179
"description": "guild is able to set role icons",
@@ -10444,6 +10452,12 @@
1044410452
"target_application": {
1044510453
"$ref": "#/components/schemas/InviteApplicationResponse"
1044610454
},
10455+
"target_channel_id": {
10456+
"$ref": "#/components/schemas/SnowflakeType"
10457+
},
10458+
"target_message_id": {
10459+
"$ref": "#/components/schemas/SnowflakeType"
10460+
},
1044710461
"target_type": {
1044810462
"$ref": "#/components/schemas/InviteTargetTypes"
1044910463
},
@@ -15530,6 +15544,12 @@
1553015544
"null"
1553115545
]
1553215546
},
15547+
"is_spoiler": {
15548+
"type": [
15549+
"boolean",
15550+
"null"
15551+
]
15552+
},
1553315553
"title": {
1553415554
"maxLength": 1024,
1553515555
"type": [
@@ -23994,6 +24014,7 @@
2399424014
]
2399524015
},
2399624016
"rate_limit_per_user": {
24017+
"format": "int32",
2399724018
"maximum": 21600,
2399824019
"minimum": 0,
2399924020
"type": [
@@ -38391,6 +38412,20 @@
3839138412
"schema": {
3839238413
"$ref": "#/components/schemas/SnowflakeType"
3839338414
}
38415+
},
38416+
{
38417+
"in": "query",
38418+
"name": "target_channel_id",
38419+
"schema": {
38420+
"$ref": "#/components/schemas/SnowflakeType"
38421+
}
38422+
},
38423+
{
38424+
"in": "query",
38425+
"name": "target_message_id",
38426+
"schema": {
38427+
"$ref": "#/components/schemas/SnowflakeType"
38428+
}
3839438429
}
3839538430
],
3839638431
"responses": {

0 commit comments

Comments
 (0)