mirror of
https://github.com/discord/discord-api-spec.git
synced 2024-12-22 08:31:23 -05:00
Automated spec update
This commit is contained in:
parent
2643dca7e3
commit
bd60b31af6
2 changed files with 12 additions and 116 deletions
|
@ -5737,52 +5737,6 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
"/guilds/{guild_id}/incident-actions": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "guild_id",
|
||||
"in": "path",
|
||||
"schema": {
|
||||
"type": "string",
|
||||
"format": "snowflake"
|
||||
},
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"put": {
|
||||
"operationId": "update_guild_incident_actions",
|
||||
"requestBody": {
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/GuildIncidentActionsRequest"
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": true
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "200 response for update_guild_incident_actions",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/GuildIncidentsDataResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"4XX": {
|
||||
"$ref": "#/components/responses/ClientErrorResponse"
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"BotToken": []
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/guilds/{guild_id}/welcome-screen": {
|
||||
"parameters": [
|
||||
{
|
||||
|
@ -17183,7 +17137,7 @@
|
|||
},
|
||||
{
|
||||
"title": "RAID_ALERTS_DISABLED",
|
||||
"description": "guild has disabled alerts for join raids in the configured safety alerts channel",
|
||||
"description": "guild has disabled activity alerts in the configured safety alerts channel",
|
||||
"const": "RAID_ALERTS_DISABLED"
|
||||
},
|
||||
{
|
||||
|
@ -17286,14 +17240,6 @@
|
|||
"enabled"
|
||||
]
|
||||
},
|
||||
"GuildIncidentActionsRequest": {
|
||||
"type": "object",
|
||||
"properties": {}
|
||||
},
|
||||
"GuildIncidentsDataResponse": {
|
||||
"type": "object",
|
||||
"properties": {}
|
||||
},
|
||||
"GuildIncomingWebhookResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
@ -26911,7 +26857,10 @@
|
|||
]
|
||||
},
|
||||
"verified": {
|
||||
"type": "boolean"
|
||||
"type": [
|
||||
"boolean",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
|
@ -26921,8 +26870,7 @@
|
|||
"public_flags",
|
||||
"flags",
|
||||
"mfa_enabled",
|
||||
"locale",
|
||||
"verified"
|
||||
"locale"
|
||||
]
|
||||
},
|
||||
"UserResponse": {
|
||||
|
|
|
@ -5737,52 +5737,6 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
"/guilds/{guild_id}/incident-actions": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "guild_id",
|
||||
"in": "path",
|
||||
"schema": {
|
||||
"type": "string",
|
||||
"format": "snowflake"
|
||||
},
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"put": {
|
||||
"operationId": "update_guild_incident_actions",
|
||||
"requestBody": {
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/GuildIncidentActionsRequest"
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": true
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "200 response for update_guild_incident_actions",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/GuildIncidentsDataResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"4XX": {
|
||||
"$ref": "#/components/responses/ClientErrorResponse"
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"BotToken": []
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/guilds/{guild_id}/welcome-screen": {
|
||||
"parameters": [
|
||||
{
|
||||
|
@ -17187,7 +17141,7 @@
|
|||
},
|
||||
{
|
||||
"title": "RAID_ALERTS_DISABLED",
|
||||
"description": "guild has disabled alerts for join raids in the configured safety alerts channel",
|
||||
"description": "guild has disabled activity alerts in the configured safety alerts channel",
|
||||
"const": "RAID_ALERTS_DISABLED"
|
||||
},
|
||||
{
|
||||
|
@ -17290,14 +17244,6 @@
|
|||
"enabled"
|
||||
]
|
||||
},
|
||||
"GuildIncidentActionsRequest": {
|
||||
"type": "object",
|
||||
"properties": {}
|
||||
},
|
||||
"GuildIncidentsDataResponse": {
|
||||
"type": "object",
|
||||
"properties": {}
|
||||
},
|
||||
"GuildIncomingWebhookResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
@ -26921,7 +26867,10 @@
|
|||
]
|
||||
},
|
||||
"verified": {
|
||||
"type": "boolean"
|
||||
"type": [
|
||||
"boolean",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
|
@ -26931,8 +26880,7 @@
|
|||
"public_flags",
|
||||
"flags",
|
||||
"mfa_enabled",
|
||||
"locale",
|
||||
"verified"
|
||||
"locale"
|
||||
]
|
||||
},
|
||||
"UserResponse": {
|
||||
|
|
Loading…
Reference in a new issue