mirror of
https://github.com/discord/discord-api-spec.git
synced 2025-08-31 21:32:39 -04:00
Automated spec update (121257)
This commit is contained in:
parent
f1fddde712
commit
99ab1fbc88
2 changed files with 86 additions and 0 deletions
|
@ -8305,6 +8305,49 @@
|
|||
"required": true
|
||||
}
|
||||
],
|
||||
"get": {
|
||||
"operationId": "get_lobby_messages",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "limit",
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"type": "integer",
|
||||
"minimum": 1,
|
||||
"maximum": 200
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "200 response for get_lobby_messages",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"type": [
|
||||
"array",
|
||||
"null"
|
||||
],
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/LobbyMessageResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"4XX": {
|
||||
"$ref": "#/components/responses/ClientErrorResponse"
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"BotToken": []
|
||||
},
|
||||
{
|
||||
"OAuth2": []
|
||||
}
|
||||
]
|
||||
},
|
||||
"post": {
|
||||
"operationId": "create_lobby_message",
|
||||
"requestBody": {
|
||||
|
|
|
@ -8305,6 +8305,49 @@
|
|||
"required": true
|
||||
}
|
||||
],
|
||||
"get": {
|
||||
"operationId": "get_lobby_messages",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "limit",
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"type": "integer",
|
||||
"minimum": 1,
|
||||
"maximum": 200
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "200 response for get_lobby_messages",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"type": [
|
||||
"array",
|
||||
"null"
|
||||
],
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/LobbyMessageResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"4XX": {
|
||||
"$ref": "#/components/responses/ClientErrorResponse"
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"BotToken": []
|
||||
},
|
||||
{
|
||||
"OAuth2": []
|
||||
}
|
||||
]
|
||||
},
|
||||
"post": {
|
||||
"operationId": "create_lobby_message",
|
||||
"requestBody": {
|
||||
|
|
Loading…
Reference in a new issue