Skip to content

Commit 7bdc287

Browse files
invisicatgithub-actions[bot]
authored andcommitted
chore: update Discord OpenAPI
1 parent 4cd427b commit 7bdc287

1 file changed

Lines changed: 97 additions & 1 deletion

File tree

specs/discord-api.openapi.json

Lines changed: 97 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -762,6 +762,19 @@
762762
"null"
763763
]
764764
},
765+
"file_types": {
766+
"items": {
767+
"maxLength": 16,
768+
"minLength": 1,
769+
"type": "string"
770+
},
771+
"maxItems": 10,
772+
"type": [
773+
"array",
774+
"null"
775+
],
776+
"uniqueItems": true
777+
},
765778
"name": {
766779
"maxLength": 32,
767780
"minLength": 1,
@@ -822,6 +835,14 @@
822835
"description_localized": {
823836
"type": "string"
824837
},
838+
"file_types": {
839+
"items": {
840+
"maxLength": 16,
841+
"type": "string"
842+
},
843+
"type": "array",
844+
"uniqueItems": true
845+
},
825846
"name": {
826847
"type": "string"
827848
},
@@ -5064,6 +5085,9 @@
50645085
}
50655086
]
50665087
},
5088+
"lobby_member": {
5089+
"$ref": "#/components/schemas/MessageLobbyMemberResponse"
5090+
},
50675091
"mention_channels": {
50685092
"items": {
50695093
"$ref": "#/components/schemas/MessageMentionChannelResponse"
@@ -5384,6 +5408,14 @@
53845408
},
53855409
"BulkLobbyMemberRequest": {
53865410
"properties": {
5411+
"additional_name": {
5412+
"maxLength": 80,
5413+
"minLength": 1,
5414+
"type": [
5415+
"string",
5416+
"null"
5417+
]
5418+
},
53875419
"flags": {
53885420
"oneOf": [
53895421
{
@@ -8773,6 +8805,19 @@
87738805
"minLength": 1,
87748806
"type": "string"
87758807
},
8808+
"file_types": {
8809+
"items": {
8810+
"maxLength": 16,
8811+
"minLength": 1,
8812+
"type": "string"
8813+
},
8814+
"maxItems": 10,
8815+
"type": [
8816+
"array",
8817+
"null"
8818+
],
8819+
"uniqueItems": true
8820+
},
87768821
"id": {
87778822
"format": "int32",
87788823
"minimum": 0,
@@ -14397,6 +14442,14 @@
1439714442
},
1439814443
"LobbyMemberRequest": {
1439914444
"properties": {
14445+
"additional_name": {
14446+
"maxLength": 80,
14447+
"minLength": 1,
14448+
"type": [
14449+
"string",
14450+
"null"
14451+
]
14452+
},
1440014453
"flags": {
1440114454
"oneOf": [
1440214455
{
@@ -14432,6 +14485,9 @@
1443214485
},
1443314486
"LobbyMemberResponse": {
1443414487
"properties": {
14488+
"additional_name": {
14489+
"type": "string"
14490+
},
1443514491
"flags": {
1443614492
"format": "int32",
1443714493
"type": "integer"
@@ -14480,6 +14536,9 @@
1448014536
"lobby_id": {
1448114537
"$ref": "#/components/schemas/SnowflakeType"
1448214538
},
14539+
"lobby_member": {
14540+
"$ref": "#/components/schemas/MessageLobbyMemberResponse"
14541+
},
1448314542
"metadata": {
1448414543
"additionalProperties": {
1448514544
"type": "string"
@@ -15562,6 +15621,7 @@
1556215621
},
1556315622
"filename": {
1556415623
"maxLength": 1024,
15624+
"minLength": 1,
1556515625
"type": [
1556615626
"string",
1556715627
"null"
@@ -16341,6 +16401,17 @@
1634116401
],
1634216402
"type": "object"
1634316403
},
16404+
"MessageLobbyMemberResponse": {
16405+
"properties": {
16406+
"additional_name": {
16407+
"type": "string"
16408+
}
16409+
},
16410+
"required": [
16411+
"additional_name"
16412+
],
16413+
"type": "object"
16414+
},
1634416415
"MessageMentionChannelResponse": {
1634516416
"properties": {
1634616417
"guild_id": {
@@ -16616,6 +16687,9 @@
1661616687
}
1661716688
]
1661816689
},
16690+
"lobby_member": {
16691+
"$ref": "#/components/schemas/MessageLobbyMemberResponse"
16692+
},
1661916693
"mention_channels": {
1662016694
"items": {
1662116695
"$ref": "#/components/schemas/MessageMentionChannelResponse"
@@ -18561,6 +18635,12 @@
1856118635
"description": {
1856218636
"type": "string"
1856318637
},
18638+
"eligible_oauth2_scopes": {
18639+
"items": {
18640+
"$ref": "#/components/schemas/OAuth2Scopes"
18641+
},
18642+
"type": "array"
18643+
},
1856418644
"event_webhooks_status": {
1856518645
"$ref": "#/components/schemas/ApplicationEventWebhooksStatus"
1856618646
},
@@ -18730,7 +18810,8 @@
1873018810
"approximate_user_install_count",
1873118811
"approximate_user_authorization_count",
1873218812
"explicit_content_filter",
18733-
"team"
18813+
"team",
18814+
"eligible_oauth2_scopes"
1873418815
],
1873518816
"type": "object"
1873618817
},
@@ -20849,6 +20930,9 @@
2084920930
}
2085020931
]
2085120932
},
20933+
"lobby_member": {
20934+
"$ref": "#/components/schemas/MessageLobbyMemberResponse"
20935+
},
2085220936
"mention_channels": {
2085320937
"items": {
2085420938
"$ref": "#/components/schemas/MessageMentionChannelResponse"
@@ -20927,6 +21011,10 @@
2092721011
"resolved": {
2092821012
"$ref": "#/components/schemas/ResolvedObjectsResponse"
2092921013
},
21014+
"restriction_count": {
21015+
"format": "int32",
21016+
"type": "integer"
21017+
},
2093021018
"role_subscription_data": {
2093121019
"$ref": "#/components/schemas/MessageRoleSubscriptionDataResponse"
2093221020
},
@@ -39421,6 +39509,14 @@
3942139509
"application/json": {
3942239510
"schema": {
3942339511
"properties": {
39512+
"additional_name": {
39513+
"maxLength": 80,
39514+
"minLength": 1,
39515+
"type": [
39516+
"string",
39517+
"null"
39518+
]
39519+
},
3942439520
"flags": {
3942539521
"oneOf": [
3942639522
{

0 commit comments

Comments
 (0)