mirror of
https://github.com/discord/discord-api-spec.git
synced 2025-09-03 14:32:39 -04:00
Compare commits
2 commits
2470515a2b
...
a57dcabd62
Author | SHA1 | Date | |
---|---|---|---|
![]() |
a57dcabd62 | ||
![]() |
9a47677db3 |
2 changed files with 345 additions and 34 deletions
|
@ -14938,6 +14938,14 @@
|
|||
],
|
||||
"format": "int32"
|
||||
},
|
||||
"id": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"minimum": 0,
|
||||
"format": "int32"
|
||||
},
|
||||
"components": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
|
@ -14986,6 +14994,14 @@
|
|||
],
|
||||
"format": "int32"
|
||||
},
|
||||
"id": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"minimum": 0,
|
||||
"format": "int32"
|
||||
},
|
||||
"components": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
|
@ -20016,6 +20032,14 @@
|
|||
],
|
||||
"format": "int32"
|
||||
},
|
||||
"id": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"minimum": 0,
|
||||
"format": "int32"
|
||||
},
|
||||
"custom_id": {
|
||||
"type": [
|
||||
"string",
|
||||
|
@ -20372,6 +20396,14 @@
|
|||
],
|
||||
"format": "int32"
|
||||
},
|
||||
"id": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"minimum": 0,
|
||||
"format": "int32"
|
||||
},
|
||||
"custom_id": {
|
||||
"type": "string",
|
||||
"maxLength": 100
|
||||
|
@ -20405,6 +20437,12 @@
|
|||
"null"
|
||||
]
|
||||
},
|
||||
"required": {
|
||||
"type": [
|
||||
"boolean",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"default_values": {
|
||||
"type": [
|
||||
"array",
|
||||
|
@ -20945,6 +20983,14 @@
|
|||
],
|
||||
"format": "int32"
|
||||
},
|
||||
"id": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"minimum": 0,
|
||||
"format": "int32"
|
||||
},
|
||||
"accent_color": {
|
||||
"type": [
|
||||
"integer",
|
||||
|
@ -22976,6 +23022,14 @@
|
|||
],
|
||||
"format": "int32"
|
||||
},
|
||||
"id": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"minimum": 0,
|
||||
"format": "int32"
|
||||
},
|
||||
"spoiler": {
|
||||
"type": [
|
||||
"boolean",
|
||||
|
@ -28654,6 +28708,14 @@
|
|||
],
|
||||
"format": "int32"
|
||||
},
|
||||
"id": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"minimum": 0,
|
||||
"format": "int32"
|
||||
},
|
||||
"items": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
|
@ -29065,6 +29127,14 @@
|
|||
],
|
||||
"format": "int32"
|
||||
},
|
||||
"id": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"minimum": 0,
|
||||
"format": "int32"
|
||||
},
|
||||
"custom_id": {
|
||||
"type": "string",
|
||||
"maxLength": 100
|
||||
|
@ -29098,6 +29168,12 @@
|
|||
"null"
|
||||
]
|
||||
},
|
||||
"required": {
|
||||
"type": [
|
||||
"boolean",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"default_values": {
|
||||
"type": [
|
||||
"array",
|
||||
|
@ -33621,6 +33697,14 @@
|
|||
],
|
||||
"format": "int32"
|
||||
},
|
||||
"id": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"minimum": 0,
|
||||
"format": "int32"
|
||||
},
|
||||
"custom_id": {
|
||||
"type": "string",
|
||||
"maxLength": 100
|
||||
|
@ -33654,6 +33738,12 @@
|
|||
"null"
|
||||
]
|
||||
},
|
||||
"required": {
|
||||
"type": [
|
||||
"boolean",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"default_values": {
|
||||
"type": [
|
||||
"array",
|
||||
|
@ -34102,6 +34192,14 @@
|
|||
],
|
||||
"format": "int32"
|
||||
},
|
||||
"id": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"minimum": 0,
|
||||
"format": "int32"
|
||||
},
|
||||
"components": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
|
@ -34185,6 +34283,14 @@
|
|||
],
|
||||
"format": "int32"
|
||||
},
|
||||
"id": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"minimum": 0,
|
||||
"format": "int32"
|
||||
},
|
||||
"spacing": {
|
||||
"oneOf": [
|
||||
{
|
||||
|
@ -35122,6 +35228,14 @@
|
|||
],
|
||||
"format": "int32"
|
||||
},
|
||||
"id": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"minimum": 0,
|
||||
"format": "int32"
|
||||
},
|
||||
"custom_id": {
|
||||
"type": "string",
|
||||
"maxLength": 100
|
||||
|
@ -35155,6 +35269,12 @@
|
|||
"null"
|
||||
]
|
||||
},
|
||||
"required": {
|
||||
"type": [
|
||||
"boolean",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"options": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
|
@ -35393,6 +35513,14 @@
|
|||
],
|
||||
"format": "int32"
|
||||
},
|
||||
"id": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"minimum": 0,
|
||||
"format": "int32"
|
||||
},
|
||||
"content": {
|
||||
"type": "string",
|
||||
"minLength": 1,
|
||||
|
@ -35419,6 +35547,14 @@
|
|||
],
|
||||
"format": "int32"
|
||||
},
|
||||
"id": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"minimum": 0,
|
||||
"format": "int32"
|
||||
},
|
||||
"content": {
|
||||
"type": "string",
|
||||
"minLength": 1,
|
||||
|
@ -35474,6 +35610,14 @@
|
|||
],
|
||||
"format": "int32"
|
||||
},
|
||||
"id": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"minimum": 0,
|
||||
"format": "int32"
|
||||
},
|
||||
"custom_id": {
|
||||
"type": "string",
|
||||
"maxLength": 100
|
||||
|
@ -36021,6 +36165,14 @@
|
|||
],
|
||||
"format": "int32"
|
||||
},
|
||||
"id": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"minimum": 0,
|
||||
"format": "int32"
|
||||
},
|
||||
"description": {
|
||||
"type": [
|
||||
"string",
|
||||
|
@ -37277,6 +37429,14 @@
|
|||
],
|
||||
"format": "int32"
|
||||
},
|
||||
"id": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"minimum": 0,
|
||||
"format": "int32"
|
||||
},
|
||||
"custom_id": {
|
||||
"type": "string",
|
||||
"maxLength": 100
|
||||
|
@ -37310,6 +37470,12 @@
|
|||
"null"
|
||||
]
|
||||
},
|
||||
"required": {
|
||||
"type": [
|
||||
"boolean",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"default_values": {
|
||||
"type": [
|
||||
"array",
|
||||
|
|
|
@ -7949,10 +7949,7 @@
|
|||
"schema": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"type": "string",
|
||||
"maxLength": 1024
|
||||
},
|
||||
"maxItems": 100
|
||||
|
@ -7964,14 +7961,7 @@
|
|||
"schema": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "null"
|
||||
},
|
||||
{
|
||||
"$ref": "#/components/schemas/SnowflakeType"
|
||||
}
|
||||
]
|
||||
"$ref": "#/components/schemas/SnowflakeType"
|
||||
},
|
||||
"maxItems": 1521,
|
||||
"uniqueItems": true
|
||||
|
@ -7995,14 +7985,7 @@
|
|||
"schema": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "null"
|
||||
},
|
||||
{
|
||||
"$ref": "#/components/schemas/SnowflakeType"
|
||||
}
|
||||
]
|
||||
"$ref": "#/components/schemas/SnowflakeType"
|
||||
},
|
||||
"maxItems": 1521,
|
||||
"uniqueItems": true
|
||||
|
@ -8079,10 +8062,7 @@
|
|||
"schema": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"type": "string",
|
||||
"maxLength": 152133
|
||||
},
|
||||
"maxItems": 1521,
|
||||
|
@ -8095,10 +8075,7 @@
|
|||
"schema": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"type": "string",
|
||||
"maxLength": 256
|
||||
},
|
||||
"maxItems": 1521,
|
||||
|
@ -8130,10 +8107,7 @@
|
|||
"schema": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"type": "string",
|
||||
"maxLength": 152133
|
||||
},
|
||||
"maxItems": 1521,
|
||||
|
@ -8144,8 +8118,13 @@
|
|||
"name": "attachment_filename",
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"type": "string",
|
||||
"maxLength": 1024
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"maxLength": 1024
|
||||
},
|
||||
"maxItems": 1521,
|
||||
"uniqueItems": true
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -15299,6 +15278,14 @@
|
|||
],
|
||||
"format": "int32"
|
||||
},
|
||||
"id": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"minimum": 0,
|
||||
"format": "int32"
|
||||
},
|
||||
"components": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
|
@ -15347,6 +15334,14 @@
|
|||
],
|
||||
"format": "int32"
|
||||
},
|
||||
"id": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"minimum": 0,
|
||||
"format": "int32"
|
||||
},
|
||||
"components": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
|
@ -20406,6 +20401,14 @@
|
|||
],
|
||||
"format": "int32"
|
||||
},
|
||||
"id": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"minimum": 0,
|
||||
"format": "int32"
|
||||
},
|
||||
"custom_id": {
|
||||
"type": [
|
||||
"string",
|
||||
|
@ -20796,6 +20799,14 @@
|
|||
],
|
||||
"format": "int32"
|
||||
},
|
||||
"id": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"minimum": 0,
|
||||
"format": "int32"
|
||||
},
|
||||
"custom_id": {
|
||||
"type": "string",
|
||||
"maxLength": 100
|
||||
|
@ -20829,6 +20840,12 @@
|
|||
"null"
|
||||
]
|
||||
},
|
||||
"required": {
|
||||
"type": [
|
||||
"boolean",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"default_values": {
|
||||
"type": [
|
||||
"array",
|
||||
|
@ -21374,6 +21391,14 @@
|
|||
],
|
||||
"format": "int32"
|
||||
},
|
||||
"id": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"minimum": 0,
|
||||
"format": "int32"
|
||||
},
|
||||
"accent_color": {
|
||||
"type": [
|
||||
"integer",
|
||||
|
@ -23436,6 +23461,14 @@
|
|||
],
|
||||
"format": "int32"
|
||||
},
|
||||
"id": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"minimum": 0,
|
||||
"format": "int32"
|
||||
},
|
||||
"spoiler": {
|
||||
"type": [
|
||||
"boolean",
|
||||
|
@ -29261,6 +29294,14 @@
|
|||
],
|
||||
"format": "int32"
|
||||
},
|
||||
"id": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"minimum": 0,
|
||||
"format": "int32"
|
||||
},
|
||||
"items": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
|
@ -29672,6 +29713,14 @@
|
|||
],
|
||||
"format": "int32"
|
||||
},
|
||||
"id": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"minimum": 0,
|
||||
"format": "int32"
|
||||
},
|
||||
"custom_id": {
|
||||
"type": "string",
|
||||
"maxLength": 100
|
||||
|
@ -29705,6 +29754,12 @@
|
|||
"null"
|
||||
]
|
||||
},
|
||||
"required": {
|
||||
"type": [
|
||||
"boolean",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"default_values": {
|
||||
"type": [
|
||||
"array",
|
||||
|
@ -34521,6 +34576,14 @@
|
|||
],
|
||||
"format": "int32"
|
||||
},
|
||||
"id": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"minimum": 0,
|
||||
"format": "int32"
|
||||
},
|
||||
"custom_id": {
|
||||
"type": "string",
|
||||
"maxLength": 100
|
||||
|
@ -34554,6 +34617,12 @@
|
|||
"null"
|
||||
]
|
||||
},
|
||||
"required": {
|
||||
"type": [
|
||||
"boolean",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"default_values": {
|
||||
"type": [
|
||||
"array",
|
||||
|
@ -35495,6 +35564,14 @@
|
|||
],
|
||||
"format": "int32"
|
||||
},
|
||||
"id": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"minimum": 0,
|
||||
"format": "int32"
|
||||
},
|
||||
"components": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
|
@ -35578,6 +35655,14 @@
|
|||
],
|
||||
"format": "int32"
|
||||
},
|
||||
"id": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"minimum": 0,
|
||||
"format": "int32"
|
||||
},
|
||||
"spacing": {
|
||||
"oneOf": [
|
||||
{
|
||||
|
@ -36558,6 +36643,14 @@
|
|||
],
|
||||
"format": "int32"
|
||||
},
|
||||
"id": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"minimum": 0,
|
||||
"format": "int32"
|
||||
},
|
||||
"custom_id": {
|
||||
"type": "string",
|
||||
"maxLength": 100
|
||||
|
@ -36591,6 +36684,12 @@
|
|||
"null"
|
||||
]
|
||||
},
|
||||
"required": {
|
||||
"type": [
|
||||
"boolean",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"options": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
|
@ -36829,6 +36928,14 @@
|
|||
],
|
||||
"format": "int32"
|
||||
},
|
||||
"id": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"minimum": 0,
|
||||
"format": "int32"
|
||||
},
|
||||
"content": {
|
||||
"type": "string",
|
||||
"minLength": 1,
|
||||
|
@ -36855,6 +36962,14 @@
|
|||
],
|
||||
"format": "int32"
|
||||
},
|
||||
"id": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"minimum": 0,
|
||||
"format": "int32"
|
||||
},
|
||||
"content": {
|
||||
"type": "string",
|
||||
"minLength": 1,
|
||||
|
@ -36910,6 +37025,14 @@
|
|||
],
|
||||
"format": "int32"
|
||||
},
|
||||
"id": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"minimum": 0,
|
||||
"format": "int32"
|
||||
},
|
||||
"custom_id": {
|
||||
"type": "string",
|
||||
"maxLength": 100
|
||||
|
@ -37457,6 +37580,14 @@
|
|||
],
|
||||
"format": "int32"
|
||||
},
|
||||
"id": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"minimum": 0,
|
||||
"format": "int32"
|
||||
},
|
||||
"description": {
|
||||
"type": [
|
||||
"string",
|
||||
|
@ -38737,6 +38868,14 @@
|
|||
],
|
||||
"format": "int32"
|
||||
},
|
||||
"id": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"minimum": 0,
|
||||
"format": "int32"
|
||||
},
|
||||
"custom_id": {
|
||||
"type": "string",
|
||||
"maxLength": 100
|
||||
|
@ -38770,6 +38909,12 @@
|
|||
"null"
|
||||
]
|
||||
},
|
||||
"required": {
|
||||
"type": [
|
||||
"boolean",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"default_values": {
|
||||
"type": [
|
||||
"array",
|
||||
|
|
Loading…
Reference in a new issue