Automated spec update (65409)

This commit is contained in:
Nelly (automation bot) 2024-08-22 23:19:18 +00:00
parent 2d4026cf12
commit f318438087
2 changed files with 312 additions and 0 deletions

View File

@ -2923,6 +2923,50 @@
]
}
},
"/applications/{application_id}/activity-instance/{instance_id}": {
"parameters": [
{
"name": "application_id",
"in": "path",
"schema": {
"$ref": "#/components/schemas/SnowflakeType"
},
"required": true
},
{
"name": "instance_id",
"in": "path",
"schema": {
"type": "string",
"maxLength": 152133
},
"required": true
}
],
"get": {
"operationId": "applications_get_activity_instance",
"responses": {
"200": {
"description": "200 response for applications_get_activity_instance",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/EmbeddedActivityInstance"
}
}
}
},
"4XX": {
"$ref": "#/components/responses/ClientErrorResponse"
}
},
"security": [
{
"BotToken": []
}
]
}
},
"/applications/{application_id}/entitlements/{entitlement_id}": {
"parameters": [
{
@ -9483,6 +9527,21 @@
"attachment"
]
},
"ActivityLocationKinds": {
"type": "string",
"oneOf": [
{
"title": "GUILD_CHANNEL",
"description": "guild channel",
"const": "gc"
},
{
"title": "PRIVATE_CHANNEL",
"description": "private channel",
"const": "pc"
}
]
},
"AfkTimeouts": {
"type": "integer",
"oneOf": [
@ -16202,6 +16261,45 @@
"scopes"
]
},
"EmbeddedActivityInstance": {
"type": "object",
"properties": {
"application_id": {
"$ref": "#/components/schemas/SnowflakeType"
},
"instance_id": {
"type": "string"
},
"launch_id": {
"type": "string"
},
"location": {
"oneOf": [
{
"$ref": "#/components/schemas/GuildChannelLocation"
},
{
"$ref": "#/components/schemas/PrivateChannelLocation"
},
{
"type": "null"
}
]
},
"users": {
"type": "array",
"items": {
"$ref": "#/components/schemas/SnowflakeType"
}
}
},
"required": [
"application_id",
"instance_id",
"launch_id",
"users"
]
},
"Emoji": {
"type": "object",
"properties": {
@ -17928,6 +18026,37 @@
"user"
]
},
"GuildChannelLocation": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"kind": {
"type": "string",
"enum": [
"gc"
],
"allOf": [
{
"$ref": "#/components/schemas/ActivityLocationKinds"
}
]
},
"channel_id": {
"$ref": "#/components/schemas/SnowflakeType"
},
"guild_id": {
"$ref": "#/components/schemas/SnowflakeType"
}
},
"required": [
"id",
"kind",
"channel_id",
"guild_id"
]
},
"GuildChannelResponse": {
"type": "object",
"properties": {
@ -26344,6 +26473,33 @@
"explicit_content_filter"
]
},
"PrivateChannelLocation": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"kind": {
"type": "string",
"enum": [
"pc"
],
"allOf": [
{
"$ref": "#/components/schemas/ActivityLocationKinds"
}
]
},
"channel_id": {
"$ref": "#/components/schemas/SnowflakeType"
}
},
"required": [
"id",
"kind",
"channel_id"
]
},
"PrivateChannelRequestPartial": {
"type": "object",
"properties": {

View File

@ -2923,6 +2923,50 @@
]
}
},
"/applications/{application_id}/activity-instance/{instance_id}": {
"parameters": [
{
"name": "application_id",
"in": "path",
"schema": {
"$ref": "#/components/schemas/SnowflakeType"
},
"required": true
},
{
"name": "instance_id",
"in": "path",
"schema": {
"type": "string",
"maxLength": 152133
},
"required": true
}
],
"get": {
"operationId": "applications_get_activity_instance",
"responses": {
"200": {
"description": "200 response for applications_get_activity_instance",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/EmbeddedActivityInstance"
}
}
}
},
"4XX": {
"$ref": "#/components/responses/ClientErrorResponse"
}
},
"security": [
{
"BotToken": []
}
]
}
},
"/applications/{application_id}/entitlements/{entitlement_id}": {
"parameters": [
{
@ -9483,6 +9527,21 @@
"attachment"
]
},
"ActivityLocationKinds": {
"type": "string",
"oneOf": [
{
"title": "GUILD_CHANNEL",
"description": "guild channel",
"const": "gc"
},
{
"title": "PRIVATE_CHANNEL",
"description": "private channel",
"const": "pc"
}
]
},
"AfkTimeouts": {
"type": "integer",
"oneOf": [
@ -16253,6 +16312,45 @@
"scopes"
]
},
"EmbeddedActivityInstance": {
"type": "object",
"properties": {
"application_id": {
"$ref": "#/components/schemas/SnowflakeType"
},
"instance_id": {
"type": "string"
},
"launch_id": {
"type": "string"
},
"location": {
"oneOf": [
{
"$ref": "#/components/schemas/GuildChannelLocation"
},
{
"$ref": "#/components/schemas/PrivateChannelLocation"
},
{
"type": "null"
}
]
},
"users": {
"type": "array",
"items": {
"$ref": "#/components/schemas/SnowflakeType"
}
}
},
"required": [
"application_id",
"instance_id",
"launch_id",
"users"
]
},
"Emoji": {
"type": "object",
"properties": {
@ -18009,6 +18107,37 @@
"user"
]
},
"GuildChannelLocation": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"kind": {
"type": "string",
"enum": [
"gc"
],
"allOf": [
{
"$ref": "#/components/schemas/ActivityLocationKinds"
}
]
},
"channel_id": {
"$ref": "#/components/schemas/SnowflakeType"
},
"guild_id": {
"$ref": "#/components/schemas/SnowflakeType"
}
},
"required": [
"id",
"kind",
"channel_id",
"guild_id"
]
},
"GuildChannelResponse": {
"type": "object",
"properties": {
@ -26456,6 +26585,33 @@
"explicit_content_filter"
]
},
"PrivateChannelLocation": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"kind": {
"type": "string",
"enum": [
"pc"
],
"allOf": [
{
"$ref": "#/components/schemas/ActivityLocationKinds"
}
]
},
"channel_id": {
"$ref": "#/components/schemas/SnowflakeType"
}
},
"required": [
"id",
"kind",
"channel_id"
]
},
"PrivateChannelRequestPartial": {
"type": "object",
"properties": {