mirror of
https://github.com/discord/discord-api-spec.git
synced 2025-11-14 07:49:48 -05:00
Automated spec update (135490)
This commit is contained in:
parent
9da2cb6bcc
commit
9f1d8dfaba
2 changed files with 258 additions and 240 deletions
|
|
@ -8548,56 +8548,7 @@
|
|||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"maxLength": 100
|
||||
},
|
||||
"permissions": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"color": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"minimum": 0,
|
||||
"maximum": 16777215
|
||||
},
|
||||
"hoist": {
|
||||
"type": [
|
||||
"boolean",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"mentionable": {
|
||||
"type": [
|
||||
"boolean",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"icon": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"contentEncoding": "base64"
|
||||
},
|
||||
"unicode_emoji": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"maxLength": 100
|
||||
}
|
||||
}
|
||||
"$ref": "#/components/schemas/CreateRoleRequest"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -8652,26 +8603,7 @@
|
|||
"schema": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "null"
|
||||
},
|
||||
{
|
||||
"$ref": "#/components/schemas/SnowflakeType"
|
||||
}
|
||||
]
|
||||
},
|
||||
"position": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"format": "int32"
|
||||
}
|
||||
}
|
||||
"$ref": "#/components/schemas/UpdateRolePositionsRequest"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -8827,56 +8759,7 @@
|
|||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"maxLength": 100
|
||||
},
|
||||
"permissions": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"color": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"minimum": 0,
|
||||
"maximum": 16777215
|
||||
},
|
||||
"hoist": {
|
||||
"type": [
|
||||
"boolean",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"mentionable": {
|
||||
"type": [
|
||||
"boolean",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"icon": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"contentEncoding": "base64"
|
||||
},
|
||||
"unicode_emoji": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"maxLength": 100
|
||||
}
|
||||
}
|
||||
"$ref": "#/components/schemas/UpdateRoleRequestPartial"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -21661,6 +21544,58 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"CreateRoleRequest": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"maxLength": 100
|
||||
},
|
||||
"permissions": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"color": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"minimum": 0,
|
||||
"maximum": 16777215
|
||||
},
|
||||
"hoist": {
|
||||
"type": [
|
||||
"boolean",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"mentionable": {
|
||||
"type": [
|
||||
"boolean",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"icon": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"contentEncoding": "base64"
|
||||
},
|
||||
"unicode_emoji": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"maxLength": 100
|
||||
}
|
||||
}
|
||||
},
|
||||
"CreateTextThreadWithMessageRequest": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
|
@ -36461,6 +36396,80 @@
|
|||
"id"
|
||||
]
|
||||
},
|
||||
"UpdateRolePositionsRequest": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "null"
|
||||
},
|
||||
{
|
||||
"$ref": "#/components/schemas/SnowflakeType"
|
||||
}
|
||||
]
|
||||
},
|
||||
"position": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"format": "int32"
|
||||
}
|
||||
}
|
||||
},
|
||||
"UpdateRoleRequestPartial": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"maxLength": 100
|
||||
},
|
||||
"permissions": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"color": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"minimum": 0,
|
||||
"maximum": 16777215
|
||||
},
|
||||
"hoist": {
|
||||
"type": [
|
||||
"boolean",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"mentionable": {
|
||||
"type": [
|
||||
"boolean",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"icon": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"contentEncoding": "base64"
|
||||
},
|
||||
"unicode_emoji": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"maxLength": 100
|
||||
}
|
||||
}
|
||||
},
|
||||
"UpdateThreadRequestPartial": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
|
|
|||
|
|
@ -8548,56 +8548,7 @@
|
|||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"maxLength": 100
|
||||
},
|
||||
"permissions": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"color": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"minimum": 0,
|
||||
"maximum": 16777215
|
||||
},
|
||||
"hoist": {
|
||||
"type": [
|
||||
"boolean",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"mentionable": {
|
||||
"type": [
|
||||
"boolean",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"icon": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"contentEncoding": "base64"
|
||||
},
|
||||
"unicode_emoji": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"maxLength": 100
|
||||
}
|
||||
}
|
||||
"$ref": "#/components/schemas/CreateRoleRequest"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -8652,26 +8603,7 @@
|
|||
"schema": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "null"
|
||||
},
|
||||
{
|
||||
"$ref": "#/components/schemas/SnowflakeType"
|
||||
}
|
||||
]
|
||||
},
|
||||
"position": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"format": "int32"
|
||||
}
|
||||
}
|
||||
"$ref": "#/components/schemas/UpdateRolePositionsRequest"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -8827,56 +8759,7 @@
|
|||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"maxLength": 100
|
||||
},
|
||||
"permissions": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"color": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"minimum": 0,
|
||||
"maximum": 16777215
|
||||
},
|
||||
"hoist": {
|
||||
"type": [
|
||||
"boolean",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"mentionable": {
|
||||
"type": [
|
||||
"boolean",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"icon": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"contentEncoding": "base64"
|
||||
},
|
||||
"unicode_emoji": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"maxLength": 100
|
||||
}
|
||||
}
|
||||
"$ref": "#/components/schemas/UpdateRoleRequestPartial"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -21701,6 +21584,58 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"CreateRoleRequest": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"maxLength": 100
|
||||
},
|
||||
"permissions": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"color": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"minimum": 0,
|
||||
"maximum": 16777215
|
||||
},
|
||||
"hoist": {
|
||||
"type": [
|
||||
"boolean",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"mentionable": {
|
||||
"type": [
|
||||
"boolean",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"icon": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"contentEncoding": "base64"
|
||||
},
|
||||
"unicode_emoji": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"maxLength": 100
|
||||
}
|
||||
}
|
||||
},
|
||||
"CreateTextThreadWithMessageRequest": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
|
@ -36894,6 +36829,80 @@
|
|||
"id"
|
||||
]
|
||||
},
|
||||
"UpdateRolePositionsRequest": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "null"
|
||||
},
|
||||
{
|
||||
"$ref": "#/components/schemas/SnowflakeType"
|
||||
}
|
||||
]
|
||||
},
|
||||
"position": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"format": "int32"
|
||||
}
|
||||
}
|
||||
},
|
||||
"UpdateRoleRequestPartial": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"maxLength": 100
|
||||
},
|
||||
"permissions": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"color": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"minimum": 0,
|
||||
"maximum": 16777215
|
||||
},
|
||||
"hoist": {
|
||||
"type": [
|
||||
"boolean",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"mentionable": {
|
||||
"type": [
|
||||
"boolean",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"icon": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"contentEncoding": "base64"
|
||||
},
|
||||
"unicode_emoji": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"maxLength": 100
|
||||
}
|
||||
}
|
||||
},
|
||||
"UpdateThreadRequestPartial": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
|
|
|||
Loading…
Reference in a new issue