mirror of
https://github.com/discord/discord-api-spec.git
synced 2025-09-03 14: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": {
|
"/oauth2/keys": {
|
||||||
"get": {
|
"get": {
|
||||||
"operationId": "get_public_keys",
|
"operationId": "get_public_keys",
|
||||||
|
@ -25352,6 +25382,53 @@
|
||||||
"keys"
|
"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": {
|
"OAuth2Key": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"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": {
|
"/oauth2/keys": {
|
||||||
"get": {
|
"get": {
|
||||||
"operationId": "get_public_keys",
|
"operationId": "get_public_keys",
|
||||||
|
@ -25437,6 +25467,53 @@
|
||||||
"keys"
|
"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": {
|
"OAuth2Key": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
Loading…
Reference in a new issue