mirror of
https://github.com/discord/discord-api-spec.git
synced 2025-11-14 07:49:48 -05:00
Compare commits
2 commits
af0cf19cd0
...
7c98b51461
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7c98b51461 | ||
|
|
cbf25fa34d |
2 changed files with 408 additions and 0 deletions
|
|
@ -11926,6 +11926,64 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
"/lobbies/{lobby_id}/members/@me/invites": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "lobby_id",
|
||||
"in": "path",
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/SnowflakeType"
|
||||
},
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"post": {
|
||||
"operationId": "create_linked_lobby_guild_invite_for_self",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "200 response for create_linked_lobby_guild_invite_for_self",
|
||||
"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/LobbyGuildInviteResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"429": {
|
||||
"$ref": "#/components/responses/ClientRatelimitedResponse"
|
||||
},
|
||||
"4XX": {
|
||||
"$ref": "#/components/responses/ClientErrorResponse"
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"BotToken": []
|
||||
},
|
||||
{
|
||||
"OAuth2": []
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/lobbies/{lobby_id}/members/bulk": {
|
||||
"parameters": [
|
||||
{
|
||||
|
|
@ -12140,6 +12198,69 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
"/lobbies/{lobby_id}/members/{user_id}/invites": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "lobby_id",
|
||||
"in": "path",
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/SnowflakeType"
|
||||
},
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"name": "user_id",
|
||||
"in": "path",
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/SnowflakeType"
|
||||
},
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"post": {
|
||||
"operationId": "create_linked_lobby_guild_invite_for_user",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "200 response for create_linked_lobby_guild_invite_for_user",
|
||||
"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/LobbyGuildInviteResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"429": {
|
||||
"$ref": "#/components/responses/ClientRatelimitedResponse"
|
||||
},
|
||||
"4XX": {
|
||||
"$ref": "#/components/responses/ClientErrorResponse"
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"BotToken": []
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/lobbies/{lobby_id}/messages": {
|
||||
"parameters": [
|
||||
{
|
||||
|
|
@ -12658,6 +12779,78 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
"/partner-sdk/token/bot": {
|
||||
"post": {
|
||||
"operationId": "bot_partner_sdk_token",
|
||||
"requestBody": {
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"external_user_id": {
|
||||
"type": "string",
|
||||
"maxLength": 1024
|
||||
},
|
||||
"preferred_global_name": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"minLength": 1,
|
||||
"maxLength": 32
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"external_user_id"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": true
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "200 response for bot_partner_sdk_token",
|
||||
"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/ProvisionalTokenResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"429": {
|
||||
"$ref": "#/components/responses/ClientRatelimitedResponse"
|
||||
},
|
||||
"4XX": {
|
||||
"$ref": "#/components/responses/ClientErrorResponse"
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"BotToken": []
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/soundboard-default-sounds": {
|
||||
"get": {
|
||||
"operationId": "get_soundboard_default_sounds",
|
||||
|
|
@ -28445,6 +28638,17 @@
|
|||
"items"
|
||||
]
|
||||
},
|
||||
"LobbyGuildInviteResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"code": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"code"
|
||||
]
|
||||
},
|
||||
"LobbyMemberRequest": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
|
|
|||
|
|
@ -11926,6 +11926,64 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
"/lobbies/{lobby_id}/members/@me/invites": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "lobby_id",
|
||||
"in": "path",
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/SnowflakeType"
|
||||
},
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"post": {
|
||||
"operationId": "create_linked_lobby_guild_invite_for_self",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "200 response for create_linked_lobby_guild_invite_for_self",
|
||||
"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/LobbyGuildInviteResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"429": {
|
||||
"$ref": "#/components/responses/ClientRatelimitedResponse"
|
||||
},
|
||||
"4XX": {
|
||||
"$ref": "#/components/responses/ClientErrorResponse"
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"BotToken": []
|
||||
},
|
||||
{
|
||||
"OAuth2": []
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/lobbies/{lobby_id}/members/bulk": {
|
||||
"parameters": [
|
||||
{
|
||||
|
|
@ -12140,6 +12198,69 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
"/lobbies/{lobby_id}/members/{user_id}/invites": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "lobby_id",
|
||||
"in": "path",
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/SnowflakeType"
|
||||
},
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"name": "user_id",
|
||||
"in": "path",
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/SnowflakeType"
|
||||
},
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"post": {
|
||||
"operationId": "create_linked_lobby_guild_invite_for_user",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "200 response for create_linked_lobby_guild_invite_for_user",
|
||||
"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/LobbyGuildInviteResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"429": {
|
||||
"$ref": "#/components/responses/ClientRatelimitedResponse"
|
||||
},
|
||||
"4XX": {
|
||||
"$ref": "#/components/responses/ClientErrorResponse"
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"BotToken": []
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/lobbies/{lobby_id}/messages": {
|
||||
"parameters": [
|
||||
{
|
||||
|
|
@ -12658,6 +12779,78 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
"/partner-sdk/token/bot": {
|
||||
"post": {
|
||||
"operationId": "bot_partner_sdk_token",
|
||||
"requestBody": {
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"external_user_id": {
|
||||
"type": "string",
|
||||
"maxLength": 1024
|
||||
},
|
||||
"preferred_global_name": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"minLength": 1,
|
||||
"maxLength": 32
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"external_user_id"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": true
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "200 response for bot_partner_sdk_token",
|
||||
"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/ProvisionalTokenResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"429": {
|
||||
"$ref": "#/components/responses/ClientRatelimitedResponse"
|
||||
},
|
||||
"4XX": {
|
||||
"$ref": "#/components/responses/ClientErrorResponse"
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"BotToken": []
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/soundboard-default-sounds": {
|
||||
"get": {
|
||||
"operationId": "get_soundboard_default_sounds",
|
||||
|
|
@ -28530,6 +28723,17 @@
|
|||
"items"
|
||||
]
|
||||
},
|
||||
"LobbyGuildInviteResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"code": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"code"
|
||||
]
|
||||
},
|
||||
"LobbyMemberRequest": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
|
|
|||
Loading…
Reference in a new issue