mirror of
https://github.com/discord/discord-api-spec.git
synced 2025-07-15 10:32:39 -04:00
Automated spec update (122530)
This commit is contained in:
parent
93c0e98038
commit
c020f56f10
2 changed files with 200 additions and 0 deletions
|
@ -8199,6 +8199,65 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
"/lobbies/{lobby_id}/members/bulk": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "lobby_id",
|
||||
"in": "path",
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/SnowflakeType"
|
||||
},
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"post": {
|
||||
"operationId": "bulk_update_lobby_members",
|
||||
"requestBody": {
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"type": [
|
||||
"array",
|
||||
"null"
|
||||
],
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/BulkLobbyMemberRequest"
|
||||
},
|
||||
"minItems": 1,
|
||||
"maxItems": 25
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": true
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "200 response for bulk_update_lobby_members",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"type": [
|
||||
"array",
|
||||
"null"
|
||||
],
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/LobbyMemberResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"4XX": {
|
||||
"$ref": "#/components/responses/ClientErrorResponse"
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"BotToken": []
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/lobbies/{lobby_id}/members/{user_id}": {
|
||||
"parameters": [
|
||||
{
|
||||
|
@ -15212,6 +15271,47 @@
|
|||
"failed_users"
|
||||
]
|
||||
},
|
||||
"BulkLobbyMemberRequest": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"$ref": "#/components/schemas/SnowflakeType"
|
||||
},
|
||||
"metadata": {
|
||||
"type": [
|
||||
"object",
|
||||
"null"
|
||||
],
|
||||
"additionalProperties": {
|
||||
"type": "string",
|
||||
"maxLength": 1024
|
||||
},
|
||||
"maxProperties": 25
|
||||
},
|
||||
"flags": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "null"
|
||||
},
|
||||
{
|
||||
"type": "integer",
|
||||
"enum": [
|
||||
1
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"remove_member": {
|
||||
"type": [
|
||||
"boolean",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id"
|
||||
]
|
||||
},
|
||||
"ButtonComponentForMessageRequest": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
|
|
@ -8199,6 +8199,65 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
"/lobbies/{lobby_id}/members/bulk": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "lobby_id",
|
||||
"in": "path",
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/SnowflakeType"
|
||||
},
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"post": {
|
||||
"operationId": "bulk_update_lobby_members",
|
||||
"requestBody": {
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"type": [
|
||||
"array",
|
||||
"null"
|
||||
],
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/BulkLobbyMemberRequest"
|
||||
},
|
||||
"minItems": 1,
|
||||
"maxItems": 25
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": true
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "200 response for bulk_update_lobby_members",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"type": [
|
||||
"array",
|
||||
"null"
|
||||
],
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/LobbyMemberResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"4XX": {
|
||||
"$ref": "#/components/responses/ClientErrorResponse"
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"BotToken": []
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/lobbies/{lobby_id}/members/{user_id}": {
|
||||
"parameters": [
|
||||
{
|
||||
|
@ -15212,6 +15271,47 @@
|
|||
"failed_users"
|
||||
]
|
||||
},
|
||||
"BulkLobbyMemberRequest": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"$ref": "#/components/schemas/SnowflakeType"
|
||||
},
|
||||
"metadata": {
|
||||
"type": [
|
||||
"object",
|
||||
"null"
|
||||
],
|
||||
"additionalProperties": {
|
||||
"type": "string",
|
||||
"maxLength": 1024
|
||||
},
|
||||
"maxProperties": 25
|
||||
},
|
||||
"flags": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "null"
|
||||
},
|
||||
{
|
||||
"type": "integer",
|
||||
"enum": [
|
||||
1
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"remove_member": {
|
||||
"type": [
|
||||
"boolean",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id"
|
||||
]
|
||||
},
|
||||
"ButtonComponentForMessageRequest": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
|
Loading…
Reference in a new issue