mirror of
https://github.com/discord/discord-api-spec.git
synced 2025-08-31 21:32:39 -04:00
Automated spec update (115320)
This commit is contained in:
parent
780c5e0848
commit
ebf3b2e5a5
2 changed files with 146 additions and 0 deletions
|
@ -8496,6 +8496,55 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
"/partner-sdk/child-token": {
|
||||
"post": {
|
||||
"operationId": "partner_sdk_child_token",
|
||||
"requestBody": {
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"parent_access_token": {
|
||||
"type": "string",
|
||||
"maxLength": 10240
|
||||
},
|
||||
"client_id": {
|
||||
"$ref": "#/components/schemas/SnowflakeType"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"parent_access_token",
|
||||
"client_id"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": true
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "200 response for partner_sdk_child_token",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/ChildTokenResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"4XX": {
|
||||
"$ref": "#/components/responses/ClientErrorResponse"
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{},
|
||||
{
|
||||
"BotToken": []
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/partner-sdk/provisional-accounts/unmerge": {
|
||||
"post": {
|
||||
"operationId": "partner_sdk_unmerge_provisional_account",
|
||||
|
@ -15813,6 +15862,30 @@
|
|||
],
|
||||
"format": "int32"
|
||||
},
|
||||
"ChildTokenResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"token_type": {
|
||||
"type": "string"
|
||||
},
|
||||
"access_token": {
|
||||
"type": "string"
|
||||
},
|
||||
"expires_in": {
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
},
|
||||
"scope": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"token_type",
|
||||
"access_token",
|
||||
"expires_in",
|
||||
"scope"
|
||||
]
|
||||
},
|
||||
"CommandPermissionResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
|
|
@ -8496,6 +8496,55 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
"/partner-sdk/child-token": {
|
||||
"post": {
|
||||
"operationId": "partner_sdk_child_token",
|
||||
"requestBody": {
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"parent_access_token": {
|
||||
"type": "string",
|
||||
"maxLength": 10240
|
||||
},
|
||||
"client_id": {
|
||||
"$ref": "#/components/schemas/SnowflakeType"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"parent_access_token",
|
||||
"client_id"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": true
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "200 response for partner_sdk_child_token",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/ChildTokenResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"4XX": {
|
||||
"$ref": "#/components/responses/ClientErrorResponse"
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{},
|
||||
{
|
||||
"BotToken": []
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/partner-sdk/provisional-accounts/unmerge": {
|
||||
"post": {
|
||||
"operationId": "partner_sdk_unmerge_provisional_account",
|
||||
|
@ -15852,6 +15901,30 @@
|
|||
],
|
||||
"format": "int32"
|
||||
},
|
||||
"ChildTokenResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"token_type": {
|
||||
"type": "string"
|
||||
},
|
||||
"access_token": {
|
||||
"type": "string"
|
||||
},
|
||||
"expires_in": {
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
},
|
||||
"scope": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"token_type",
|
||||
"access_token",
|
||||
"expires_in",
|
||||
"scope"
|
||||
]
|
||||
},
|
||||
"CommandPermissionResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
|
Loading…
Reference in a new issue