mirror of
https://github.com/discord/discord-api-spec.git
synced 2025-09-03 14:32:39 -04:00
Automated spec update (137454)
This commit is contained in:
parent
54b8ee770b
commit
3b079fbdc9
2 changed files with 198 additions and 166 deletions
|
@ -6377,25 +6377,7 @@
|
||||||
"content": {
|
"content": {
|
||||||
"application/json": {
|
"application/json": {
|
||||||
"schema": {
|
"schema": {
|
||||||
"type": "object",
|
"$ref": "#/components/schemas/BanUserFromGuildRequest"
|
||||||
"properties": {
|
|
||||||
"delete_message_seconds": {
|
|
||||||
"type": [
|
|
||||||
"integer",
|
|
||||||
"null"
|
|
||||||
],
|
|
||||||
"minimum": 0,
|
|
||||||
"maximum": 604800
|
|
||||||
},
|
|
||||||
"delete_message_days": {
|
|
||||||
"type": [
|
|
||||||
"integer",
|
|
||||||
"null"
|
|
||||||
],
|
|
||||||
"minimum": 0,
|
|
||||||
"maximum": 7
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -6437,6 +6419,16 @@
|
||||||
},
|
},
|
||||||
"delete": {
|
"delete": {
|
||||||
"operationId": "unban_user_from_guild",
|
"operationId": "unban_user_from_guild",
|
||||||
|
"requestBody": {
|
||||||
|
"content": {
|
||||||
|
"application/json": {
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/components/schemas/UnbanUserFromGuildRequest"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": true
|
||||||
|
},
|
||||||
"responses": {
|
"responses": {
|
||||||
"204": {
|
"204": {
|
||||||
"description": "204 response for unban_user_from_guild",
|
"description": "204 response for unban_user_from_guild",
|
||||||
|
@ -6489,28 +6481,7 @@
|
||||||
"content": {
|
"content": {
|
||||||
"application/json": {
|
"application/json": {
|
||||||
"schema": {
|
"schema": {
|
||||||
"type": "object",
|
"$ref": "#/components/schemas/BulkBanUsersRequest"
|
||||||
"properties": {
|
|
||||||
"user_ids": {
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"$ref": "#/components/schemas/SnowflakeType"
|
|
||||||
},
|
|
||||||
"maxItems": 200,
|
|
||||||
"uniqueItems": true
|
|
||||||
},
|
|
||||||
"delete_message_seconds": {
|
|
||||||
"type": [
|
|
||||||
"integer",
|
|
||||||
"null"
|
|
||||||
],
|
|
||||||
"minimum": 0,
|
|
||||||
"maximum": 604800
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"user_ids"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -8327,48 +8298,7 @@
|
||||||
"content": {
|
"content": {
|
||||||
"application/json": {
|
"application/json": {
|
||||||
"schema": {
|
"schema": {
|
||||||
"type": "object",
|
"$ref": "#/components/schemas/PruneGuildRequest"
|
||||||
"properties": {
|
|
||||||
"days": {
|
|
||||||
"type": [
|
|
||||||
"integer",
|
|
||||||
"null"
|
|
||||||
],
|
|
||||||
"minimum": 1,
|
|
||||||
"maximum": 30
|
|
||||||
},
|
|
||||||
"compute_prune_count": {
|
|
||||||
"type": [
|
|
||||||
"boolean",
|
|
||||||
"null"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"include_roles": {
|
|
||||||
"oneOf": [
|
|
||||||
{
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"oneOf": [
|
|
||||||
{
|
|
||||||
"type": "null"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"$ref": "#/components/schemas/SnowflakeType"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"maxItems": 100,
|
|
||||||
"uniqueItems": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "null"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -19296,6 +19226,27 @@
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"BanUserFromGuildRequest": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"delete_message_seconds": {
|
||||||
|
"type": [
|
||||||
|
"integer",
|
||||||
|
"null"
|
||||||
|
],
|
||||||
|
"minimum": 0,
|
||||||
|
"maximum": 604800
|
||||||
|
},
|
||||||
|
"delete_message_days": {
|
||||||
|
"type": [
|
||||||
|
"integer",
|
||||||
|
"null"
|
||||||
|
],
|
||||||
|
"minimum": 0,
|
||||||
|
"maximum": 7
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"BaseCreateMessageCreateRequest": {
|
"BaseCreateMessageCreateRequest": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -19944,6 +19895,30 @@
|
||||||
"access_token"
|
"access_token"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"BulkBanUsersRequest": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"user_ids": {
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"$ref": "#/components/schemas/SnowflakeType"
|
||||||
|
},
|
||||||
|
"maxItems": 200,
|
||||||
|
"uniqueItems": true
|
||||||
|
},
|
||||||
|
"delete_message_seconds": {
|
||||||
|
"type": [
|
||||||
|
"integer",
|
||||||
|
"null"
|
||||||
|
],
|
||||||
|
"minimum": 0,
|
||||||
|
"maximum": 604800
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"user_ids"
|
||||||
|
]
|
||||||
|
},
|
||||||
"BulkBanUsersResponse": {
|
"BulkBanUsersResponse": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -32885,6 +32860,43 @@
|
||||||
"id_token"
|
"id_token"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"PruneGuildRequest": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"days": {
|
||||||
|
"type": [
|
||||||
|
"integer",
|
||||||
|
"null"
|
||||||
|
],
|
||||||
|
"minimum": 1,
|
||||||
|
"maximum": 30
|
||||||
|
},
|
||||||
|
"compute_prune_count": {
|
||||||
|
"type": [
|
||||||
|
"boolean",
|
||||||
|
"null"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"include_roles": {
|
||||||
|
"oneOf": [
|
||||||
|
{
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"$ref": "#/components/schemas/SnowflakeType"
|
||||||
|
},
|
||||||
|
"maxItems": 100,
|
||||||
|
"uniqueItems": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "null"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"PurchaseNotificationResponse": {
|
"PurchaseNotificationResponse": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -35897,6 +35909,10 @@
|
||||||
"maximum": 4294967295,
|
"maximum": 4294967295,
|
||||||
"format": "int64"
|
"format": "int64"
|
||||||
},
|
},
|
||||||
|
"UnbanUserFromGuildRequest": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {}
|
||||||
|
},
|
||||||
"UnfurledMediaRequest": {
|
"UnfurledMediaRequest": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
|
@ -6377,25 +6377,7 @@
|
||||||
"content": {
|
"content": {
|
||||||
"application/json": {
|
"application/json": {
|
||||||
"schema": {
|
"schema": {
|
||||||
"type": "object",
|
"$ref": "#/components/schemas/BanUserFromGuildRequest"
|
||||||
"properties": {
|
|
||||||
"delete_message_seconds": {
|
|
||||||
"type": [
|
|
||||||
"integer",
|
|
||||||
"null"
|
|
||||||
],
|
|
||||||
"minimum": 0,
|
|
||||||
"maximum": 604800
|
|
||||||
},
|
|
||||||
"delete_message_days": {
|
|
||||||
"type": [
|
|
||||||
"integer",
|
|
||||||
"null"
|
|
||||||
],
|
|
||||||
"minimum": 0,
|
|
||||||
"maximum": 7
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -6437,6 +6419,16 @@
|
||||||
},
|
},
|
||||||
"delete": {
|
"delete": {
|
||||||
"operationId": "unban_user_from_guild",
|
"operationId": "unban_user_from_guild",
|
||||||
|
"requestBody": {
|
||||||
|
"content": {
|
||||||
|
"application/json": {
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/components/schemas/UnbanUserFromGuildRequest"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": true
|
||||||
|
},
|
||||||
"responses": {
|
"responses": {
|
||||||
"204": {
|
"204": {
|
||||||
"description": "204 response for unban_user_from_guild",
|
"description": "204 response for unban_user_from_guild",
|
||||||
|
@ -6489,28 +6481,7 @@
|
||||||
"content": {
|
"content": {
|
||||||
"application/json": {
|
"application/json": {
|
||||||
"schema": {
|
"schema": {
|
||||||
"type": "object",
|
"$ref": "#/components/schemas/BulkBanUsersRequest"
|
||||||
"properties": {
|
|
||||||
"user_ids": {
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"$ref": "#/components/schemas/SnowflakeType"
|
|
||||||
},
|
|
||||||
"maxItems": 200,
|
|
||||||
"uniqueItems": true
|
|
||||||
},
|
|
||||||
"delete_message_seconds": {
|
|
||||||
"type": [
|
|
||||||
"integer",
|
|
||||||
"null"
|
|
||||||
],
|
|
||||||
"minimum": 0,
|
|
||||||
"maximum": 604800
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"user_ids"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -8327,48 +8298,7 @@
|
||||||
"content": {
|
"content": {
|
||||||
"application/json": {
|
"application/json": {
|
||||||
"schema": {
|
"schema": {
|
||||||
"type": "object",
|
"$ref": "#/components/schemas/PruneGuildRequest"
|
||||||
"properties": {
|
|
||||||
"days": {
|
|
||||||
"type": [
|
|
||||||
"integer",
|
|
||||||
"null"
|
|
||||||
],
|
|
||||||
"minimum": 1,
|
|
||||||
"maximum": 30
|
|
||||||
},
|
|
||||||
"compute_prune_count": {
|
|
||||||
"type": [
|
|
||||||
"boolean",
|
|
||||||
"null"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"include_roles": {
|
|
||||||
"oneOf": [
|
|
||||||
{
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"oneOf": [
|
|
||||||
{
|
|
||||||
"type": "null"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"$ref": "#/components/schemas/SnowflakeType"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"maxItems": 100,
|
|
||||||
"uniqueItems": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "null"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -19296,6 +19226,27 @@
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"BanUserFromGuildRequest": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"delete_message_seconds": {
|
||||||
|
"type": [
|
||||||
|
"integer",
|
||||||
|
"null"
|
||||||
|
],
|
||||||
|
"minimum": 0,
|
||||||
|
"maximum": 604800
|
||||||
|
},
|
||||||
|
"delete_message_days": {
|
||||||
|
"type": [
|
||||||
|
"integer",
|
||||||
|
"null"
|
||||||
|
],
|
||||||
|
"minimum": 0,
|
||||||
|
"maximum": 7
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"BaseCreateMessageCreateRequest": {
|
"BaseCreateMessageCreateRequest": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -19944,6 +19895,30 @@
|
||||||
"access_token"
|
"access_token"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"BulkBanUsersRequest": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"user_ids": {
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"$ref": "#/components/schemas/SnowflakeType"
|
||||||
|
},
|
||||||
|
"maxItems": 200,
|
||||||
|
"uniqueItems": true
|
||||||
|
},
|
||||||
|
"delete_message_seconds": {
|
||||||
|
"type": [
|
||||||
|
"integer",
|
||||||
|
"null"
|
||||||
|
],
|
||||||
|
"minimum": 0,
|
||||||
|
"maximum": 604800
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"user_ids"
|
||||||
|
]
|
||||||
|
},
|
||||||
"BulkBanUsersResponse": {
|
"BulkBanUsersResponse": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -32970,6 +32945,43 @@
|
||||||
"id_token"
|
"id_token"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"PruneGuildRequest": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"days": {
|
||||||
|
"type": [
|
||||||
|
"integer",
|
||||||
|
"null"
|
||||||
|
],
|
||||||
|
"minimum": 1,
|
||||||
|
"maximum": 30
|
||||||
|
},
|
||||||
|
"compute_prune_count": {
|
||||||
|
"type": [
|
||||||
|
"boolean",
|
||||||
|
"null"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"include_roles": {
|
||||||
|
"oneOf": [
|
||||||
|
{
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"$ref": "#/components/schemas/SnowflakeType"
|
||||||
|
},
|
||||||
|
"maxItems": 100,
|
||||||
|
"uniqueItems": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "null"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"PurchaseNotificationResponse": {
|
"PurchaseNotificationResponse": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -36329,6 +36341,10 @@
|
||||||
"maximum": 4294967295,
|
"maximum": 4294967295,
|
||||||
"format": "int64"
|
"format": "int64"
|
||||||
},
|
},
|
||||||
|
"UnbanUserFromGuildRequest": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {}
|
||||||
|
},
|
||||||
"UnfurledMediaRequest": {
|
"UnfurledMediaRequest": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
Loading…
Reference in a new issue