mirror of
https://github.com/discord/discord-api-spec.git
synced 2025-08-31 21:32:39 -04:00
Automated spec update (91178)
This commit is contained in:
parent
5c02e8a330
commit
5cc58ea7e3
2 changed files with 154 additions and 0 deletions
|
@ -274,6 +274,36 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
"/oauth2/userinfo": {
|
||||
"get": {
|
||||
"operationId": "get_openid_connect_userinfo",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "200 response for get_openid_connect_userinfo",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/OAuth2GetOpenIDConnectUserInfoResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"4XX": {
|
||||
"$ref": "#/components/responses/ClientErrorResponse"
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"BotToken": []
|
||||
},
|
||||
{
|
||||
"OAuth2": [
|
||||
"openid"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/oauth2/keys": {
|
||||
"get": {
|
||||
"operationId": "get_public_keys",
|
||||
|
@ -25352,6 +25382,53 @@
|
|||
"keys"
|
||||
]
|
||||
},
|
||||
"OAuth2GetOpenIDConnectUserInfoResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"sub": {
|
||||
"type": "string"
|
||||
},
|
||||
"email": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"email_verified": {
|
||||
"type": [
|
||||
"boolean",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"preferred_username": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"nickname": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"picture": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"locale": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"sub"
|
||||
]
|
||||
},
|
||||
"OAuth2Key": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
|
|
@ -274,6 +274,36 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
"/oauth2/userinfo": {
|
||||
"get": {
|
||||
"operationId": "get_openid_connect_userinfo",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "200 response for get_openid_connect_userinfo",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/OAuth2GetOpenIDConnectUserInfoResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"4XX": {
|
||||
"$ref": "#/components/responses/ClientErrorResponse"
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"BotToken": []
|
||||
},
|
||||
{
|
||||
"OAuth2": [
|
||||
"openid"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/oauth2/keys": {
|
||||
"get": {
|
||||
"operationId": "get_public_keys",
|
||||
|
@ -25437,6 +25467,53 @@
|
|||
"keys"
|
||||
]
|
||||
},
|
||||
"OAuth2GetOpenIDConnectUserInfoResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"sub": {
|
||||
"type": "string"
|
||||
},
|
||||
"email": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"email_verified": {
|
||||
"type": [
|
||||
"boolean",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"preferred_username": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"nickname": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"picture": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"locale": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"sub"
|
||||
]
|
||||
},
|
||||
"OAuth2Key": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
|
Loading…
Reference in a new issue