Automated spec update

This commit is contained in:
Nelly (automation bot) 2023-08-01 23:09:02 +00:00
parent 2643dca7e3
commit bd60b31af6
2 changed files with 12 additions and 116 deletions

View file

@ -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": { "/guilds/{guild_id}/welcome-screen": {
"parameters": [ "parameters": [
{ {
@ -17183,7 +17137,7 @@
}, },
{ {
"title": "RAID_ALERTS_DISABLED", "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" "const": "RAID_ALERTS_DISABLED"
}, },
{ {
@ -17286,14 +17240,6 @@
"enabled" "enabled"
] ]
}, },
"GuildIncidentActionsRequest": {
"type": "object",
"properties": {}
},
"GuildIncidentsDataResponse": {
"type": "object",
"properties": {}
},
"GuildIncomingWebhookResponse": { "GuildIncomingWebhookResponse": {
"type": "object", "type": "object",
"properties": { "properties": {
@ -26911,7 +26857,10 @@
] ]
}, },
"verified": { "verified": {
"type": "boolean" "type": [
"boolean",
"null"
]
} }
}, },
"required": [ "required": [
@ -26921,8 +26870,7 @@
"public_flags", "public_flags",
"flags", "flags",
"mfa_enabled", "mfa_enabled",
"locale", "locale"
"verified"
] ]
}, },
"UserResponse": { "UserResponse": {

View file

@ -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": { "/guilds/{guild_id}/welcome-screen": {
"parameters": [ "parameters": [
{ {
@ -17187,7 +17141,7 @@
}, },
{ {
"title": "RAID_ALERTS_DISABLED", "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" "const": "RAID_ALERTS_DISABLED"
}, },
{ {
@ -17290,14 +17244,6 @@
"enabled" "enabled"
] ]
}, },
"GuildIncidentActionsRequest": {
"type": "object",
"properties": {}
},
"GuildIncidentsDataResponse": {
"type": "object",
"properties": {}
},
"GuildIncomingWebhookResponse": { "GuildIncomingWebhookResponse": {
"type": "object", "type": "object",
"properties": { "properties": {
@ -26921,7 +26867,10 @@
] ]
}, },
"verified": { "verified": {
"type": "boolean" "type": [
"boolean",
"null"
]
} }
}, },
"required": [ "required": [
@ -26931,8 +26880,7 @@
"public_flags", "public_flags",
"flags", "flags",
"mfa_enabled", "mfa_enabled",
"locale", "locale"
"verified"
] ]
}, },
"UserResponse": { "UserResponse": {