Automated spec update (289660)

This commit is contained in:
Nelly (automation bot) 2026-10-27 18:53:25 +00:00
parent 42731431c9
commit 1f13245365
2 changed files with 638 additions and 4 deletions

View file

@ -3852,6 +3852,152 @@
]
}
},
"/channels/{channel_id}/permissions/member/{user_id}": {
"parameters": [
{
"name": "channel_id",
"in": "path",
"schema": {
"$ref": "#/components/schemas/SnowflakeType"
},
"required": true
},
{
"name": "user_id",
"in": "path",
"schema": {
"$ref": "#/components/schemas/SnowflakeType"
},
"required": true
}
],
"get": {
"description": "Returns the fully cascaded permissions for a member in this channel, applying their roles and the channel's permission overwrites.",
"operationId": "get_channel_member_permissions",
"parameters": [
{
"name": "implicit",
"in": "query",
"schema": {
"type": "boolean"
}
}
],
"responses": {
"200": {
"description": "200 response for get_channel_member_permissions",
"headers": {
"X-RateLimit-Limit": {
"$ref": "#/components/headers/X-RateLimit-Limit"
},
"X-RateLimit-Remaining": {
"$ref": "#/components/headers/X-RateLimit-Remaining"
},
"X-RateLimit-Reset": {
"$ref": "#/components/headers/X-RateLimit-Reset"
},
"X-RateLimit-Reset-After": {
"$ref": "#/components/headers/X-RateLimit-Reset-After"
},
"X-RateLimit-Bucket": {
"$ref": "#/components/headers/X-RateLimit-Bucket"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PermissionsResponse"
}
}
}
},
"429": {
"$ref": "#/components/responses/ClientRatelimitedResponse"
},
"4XX": {
"$ref": "#/components/responses/ClientErrorResponse"
}
},
"security": [
{
"BotToken": []
}
]
}
},
"/channels/{channel_id}/permissions/role/{role_id}": {
"parameters": [
{
"name": "channel_id",
"in": "path",
"schema": {
"$ref": "#/components/schemas/SnowflakeType"
},
"required": true
},
{
"name": "role_id",
"in": "path",
"schema": {
"$ref": "#/components/schemas/SnowflakeType"
},
"required": true
}
],
"get": {
"description": "Returns the permissions a role grants in this channel, applying the channel's permission overwrites on top of the role's guild-level permissions.",
"operationId": "get_channel_role_permissions",
"parameters": [
{
"name": "implicit",
"in": "query",
"schema": {
"type": "boolean"
}
}
],
"responses": {
"200": {
"description": "200 response for get_channel_role_permissions",
"headers": {
"X-RateLimit-Limit": {
"$ref": "#/components/headers/X-RateLimit-Limit"
},
"X-RateLimit-Remaining": {
"$ref": "#/components/headers/X-RateLimit-Remaining"
},
"X-RateLimit-Reset": {
"$ref": "#/components/headers/X-RateLimit-Reset"
},
"X-RateLimit-Reset-After": {
"$ref": "#/components/headers/X-RateLimit-Reset-After"
},
"X-RateLimit-Bucket": {
"$ref": "#/components/headers/X-RateLimit-Bucket"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PermissionsResponse"
}
}
}
},
"429": {
"$ref": "#/components/responses/ClientRatelimitedResponse"
},
"4XX": {
"$ref": "#/components/responses/ClientErrorResponse"
}
},
"security": [
{
"BotToken": []
}
]
}
},
"/channels/{channel_id}/permissions/{overwrite_id}": {
"parameters": [
{
@ -8607,6 +8753,134 @@
]
}
},
"/guilds/{guild_id}/permissions/member/{user_id}": {
"parameters": [
{
"name": "guild_id",
"in": "path",
"schema": {
"$ref": "#/components/schemas/SnowflakeType"
},
"required": true
},
{
"name": "user_id",
"in": "path",
"schema": {
"$ref": "#/components/schemas/SnowflakeType"
},
"required": true
}
],
"get": {
"description": "Returns the fully cascaded guild-level permissions for a member, applying all of their roles including @everyone's",
"operationId": "get_guild_member_permissions",
"responses": {
"200": {
"description": "200 response for get_guild_member_permissions",
"headers": {
"X-RateLimit-Limit": {
"$ref": "#/components/headers/X-RateLimit-Limit"
},
"X-RateLimit-Remaining": {
"$ref": "#/components/headers/X-RateLimit-Remaining"
},
"X-RateLimit-Reset": {
"$ref": "#/components/headers/X-RateLimit-Reset"
},
"X-RateLimit-Reset-After": {
"$ref": "#/components/headers/X-RateLimit-Reset-After"
},
"X-RateLimit-Bucket": {
"$ref": "#/components/headers/X-RateLimit-Bucket"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PermissionsResponse"
}
}
}
},
"429": {
"$ref": "#/components/responses/ClientRatelimitedResponse"
},
"4XX": {
"$ref": "#/components/responses/ClientErrorResponse"
}
},
"security": [
{
"BotToken": []
}
]
}
},
"/guilds/{guild_id}/permissions/role/{role_id}": {
"parameters": [
{
"name": "guild_id",
"in": "path",
"schema": {
"$ref": "#/components/schemas/SnowflakeType"
},
"required": true
},
{
"name": "role_id",
"in": "path",
"schema": {
"$ref": "#/components/schemas/SnowflakeType"
},
"required": true
}
],
"get": {
"description": "Returns the permissions a role grants at the guild level, combining the role's own permissions with @everyone's.",
"operationId": "get_guild_role_permissions",
"responses": {
"200": {
"description": "200 response for get_guild_role_permissions",
"headers": {
"X-RateLimit-Limit": {
"$ref": "#/components/headers/X-RateLimit-Limit"
},
"X-RateLimit-Remaining": {
"$ref": "#/components/headers/X-RateLimit-Remaining"
},
"X-RateLimit-Reset": {
"$ref": "#/components/headers/X-RateLimit-Reset"
},
"X-RateLimit-Reset-After": {
"$ref": "#/components/headers/X-RateLimit-Reset-After"
},
"X-RateLimit-Bucket": {
"$ref": "#/components/headers/X-RateLimit-Bucket"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PermissionsResponse"
}
}
}
},
"429": {
"$ref": "#/components/responses/ClientRatelimitedResponse"
},
"4XX": {
"$ref": "#/components/responses/ClientErrorResponse"
}
},
"security": [
{
"BotToken": []
}
]
}
},
"/guilds/{guild_id}/preview": {
"parameters": [
{
@ -23780,6 +24054,18 @@
"spoiler"
]
},
"ContentScanMetadataResponse": {
"type": "object",
"properties": {
"flags": {
"type": "integer",
"format": "int32"
}
},
"required": [
"flags"
]
},
"CreateEntitlementRequestData": {
"type": "object",
"properties": {
@ -35190,6 +35476,18 @@
"account"
]
},
"PermissionsResponse": {
"type": "object",
"properties": {
"permissions": {
"type": "string",
"description": "The computed permissions, as a stringified bitfield"
}
},
"required": [
"permissions"
]
},
"PinnedMessageResponse": {
"type": "object",
"properties": {
@ -40547,20 +40845,39 @@
],
"format": "int32"
},
"placeholder": {
"type": [
"string",
"null"
]
},
"placeholder_version": {
"type": [
"integer",
"null"
],
"format": "int32"
},
"content_scan_metadata": {
"$ref": "#/components/schemas/ContentScanMetadataResponse"
},
"content_type": {
"type": [
"string",
"null"
]
},
"flags": {
"type": "integer",
"format": "int32"
},
"attachment_id": {
"$ref": "#/components/schemas/SnowflakeType"
}
},
"required": [
"id",
"url",
"proxy_url"
"url"
]
},
"UpdateApplicationUserRoleConnectionRequest": {

View file

@ -3852,6 +3852,152 @@
]
}
},
"/channels/{channel_id}/permissions/member/{user_id}": {
"parameters": [
{
"name": "channel_id",
"in": "path",
"schema": {
"$ref": "#/components/schemas/SnowflakeType"
},
"required": true
},
{
"name": "user_id",
"in": "path",
"schema": {
"$ref": "#/components/schemas/SnowflakeType"
},
"required": true
}
],
"get": {
"description": "Returns the fully cascaded permissions for a member in this channel, applying their roles and the channel's permission overwrites.",
"operationId": "get_channel_member_permissions",
"parameters": [
{
"name": "implicit",
"in": "query",
"schema": {
"type": "boolean"
}
}
],
"responses": {
"200": {
"description": "200 response for get_channel_member_permissions",
"headers": {
"X-RateLimit-Limit": {
"$ref": "#/components/headers/X-RateLimit-Limit"
},
"X-RateLimit-Remaining": {
"$ref": "#/components/headers/X-RateLimit-Remaining"
},
"X-RateLimit-Reset": {
"$ref": "#/components/headers/X-RateLimit-Reset"
},
"X-RateLimit-Reset-After": {
"$ref": "#/components/headers/X-RateLimit-Reset-After"
},
"X-RateLimit-Bucket": {
"$ref": "#/components/headers/X-RateLimit-Bucket"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PermissionsResponse"
}
}
}
},
"429": {
"$ref": "#/components/responses/ClientRatelimitedResponse"
},
"4XX": {
"$ref": "#/components/responses/ClientErrorResponse"
}
},
"security": [
{
"BotToken": []
}
]
}
},
"/channels/{channel_id}/permissions/role/{role_id}": {
"parameters": [
{
"name": "channel_id",
"in": "path",
"schema": {
"$ref": "#/components/schemas/SnowflakeType"
},
"required": true
},
{
"name": "role_id",
"in": "path",
"schema": {
"$ref": "#/components/schemas/SnowflakeType"
},
"required": true
}
],
"get": {
"description": "Returns the permissions a role grants in this channel, applying the channel's permission overwrites on top of the role's guild-level permissions.",
"operationId": "get_channel_role_permissions",
"parameters": [
{
"name": "implicit",
"in": "query",
"schema": {
"type": "boolean"
}
}
],
"responses": {
"200": {
"description": "200 response for get_channel_role_permissions",
"headers": {
"X-RateLimit-Limit": {
"$ref": "#/components/headers/X-RateLimit-Limit"
},
"X-RateLimit-Remaining": {
"$ref": "#/components/headers/X-RateLimit-Remaining"
},
"X-RateLimit-Reset": {
"$ref": "#/components/headers/X-RateLimit-Reset"
},
"X-RateLimit-Reset-After": {
"$ref": "#/components/headers/X-RateLimit-Reset-After"
},
"X-RateLimit-Bucket": {
"$ref": "#/components/headers/X-RateLimit-Bucket"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PermissionsResponse"
}
}
}
},
"429": {
"$ref": "#/components/responses/ClientRatelimitedResponse"
},
"4XX": {
"$ref": "#/components/responses/ClientErrorResponse"
}
},
"security": [
{
"BotToken": []
}
]
}
},
"/channels/{channel_id}/permissions/{overwrite_id}": {
"parameters": [
{
@ -8619,6 +8765,134 @@
]
}
},
"/guilds/{guild_id}/permissions/member/{user_id}": {
"parameters": [
{
"name": "guild_id",
"in": "path",
"schema": {
"$ref": "#/components/schemas/SnowflakeType"
},
"required": true
},
{
"name": "user_id",
"in": "path",
"schema": {
"$ref": "#/components/schemas/SnowflakeType"
},
"required": true
}
],
"get": {
"description": "Returns the fully cascaded guild-level permissions for a member, applying all of their roles including @everyone's",
"operationId": "get_guild_member_permissions",
"responses": {
"200": {
"description": "200 response for get_guild_member_permissions",
"headers": {
"X-RateLimit-Limit": {
"$ref": "#/components/headers/X-RateLimit-Limit"
},
"X-RateLimit-Remaining": {
"$ref": "#/components/headers/X-RateLimit-Remaining"
},
"X-RateLimit-Reset": {
"$ref": "#/components/headers/X-RateLimit-Reset"
},
"X-RateLimit-Reset-After": {
"$ref": "#/components/headers/X-RateLimit-Reset-After"
},
"X-RateLimit-Bucket": {
"$ref": "#/components/headers/X-RateLimit-Bucket"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PermissionsResponse"
}
}
}
},
"429": {
"$ref": "#/components/responses/ClientRatelimitedResponse"
},
"4XX": {
"$ref": "#/components/responses/ClientErrorResponse"
}
},
"security": [
{
"BotToken": []
}
]
}
},
"/guilds/{guild_id}/permissions/role/{role_id}": {
"parameters": [
{
"name": "guild_id",
"in": "path",
"schema": {
"$ref": "#/components/schemas/SnowflakeType"
},
"required": true
},
{
"name": "role_id",
"in": "path",
"schema": {
"$ref": "#/components/schemas/SnowflakeType"
},
"required": true
}
],
"get": {
"description": "Returns the permissions a role grants at the guild level, combining the role's own permissions with @everyone's.",
"operationId": "get_guild_role_permissions",
"responses": {
"200": {
"description": "200 response for get_guild_role_permissions",
"headers": {
"X-RateLimit-Limit": {
"$ref": "#/components/headers/X-RateLimit-Limit"
},
"X-RateLimit-Remaining": {
"$ref": "#/components/headers/X-RateLimit-Remaining"
},
"X-RateLimit-Reset": {
"$ref": "#/components/headers/X-RateLimit-Reset"
},
"X-RateLimit-Reset-After": {
"$ref": "#/components/headers/X-RateLimit-Reset-After"
},
"X-RateLimit-Bucket": {
"$ref": "#/components/headers/X-RateLimit-Bucket"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PermissionsResponse"
}
}
}
},
"429": {
"$ref": "#/components/responses/ClientRatelimitedResponse"
},
"4XX": {
"$ref": "#/components/responses/ClientErrorResponse"
}
},
"security": [
{
"BotToken": []
}
]
}
},
"/guilds/{guild_id}/preview": {
"parameters": [
{
@ -23797,6 +24071,18 @@
"spoiler"
]
},
"ContentScanMetadataResponse": {
"type": "object",
"properties": {
"flags": {
"type": "integer",
"format": "int32"
}
},
"required": [
"flags"
]
},
"CreateEntitlementRequestData": {
"type": "object",
"properties": {
@ -35215,6 +35501,18 @@
"account"
]
},
"PermissionsResponse": {
"type": "object",
"properties": {
"permissions": {
"type": "string",
"description": "The computed permissions, as a stringified bitfield"
}
},
"required": [
"permissions"
]
},
"PinnedMessageResponse": {
"type": "object",
"properties": {
@ -40572,20 +40870,39 @@
],
"format": "int32"
},
"placeholder": {
"type": [
"string",
"null"
]
},
"placeholder_version": {
"type": [
"integer",
"null"
],
"format": "int32"
},
"content_scan_metadata": {
"$ref": "#/components/schemas/ContentScanMetadataResponse"
},
"content_type": {
"type": [
"string",
"null"
]
},
"flags": {
"type": "integer",
"format": "int32"
},
"attachment_id": {
"$ref": "#/components/schemas/SnowflakeType"
}
},
"required": [
"id",
"url",
"proxy_url"
"url"
]
},
"UpdateApplicationUserRoleConnectionRequest": {