Properties
| Name | Type | Description |
|---|---|---|
| type | string | |
| name | stringnull | |
| account | object | |
| enabled | booleannull | |
| id | object | |
| application | object | |
| scopes | array | |
| user | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/DiscordIntegrationResponse",
"title": "DiscordIntegrationResponse",
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"discord"
],
"allOf": [
{
"$ref": "#/components/schemas/IntegrationTypes"
}
]
},
"name": {
"type": [
"string",
"null"
]
},
"account": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/AccountResponse"
}
]
},
"enabled": {
"type": [
"boolean",
"null"
]
},
"id": {
"$ref": "#/components/schemas/SnowflakeType"
},
"application": {
"$ref": "#/components/schemas/IntegrationApplicationResponse"
},
"scopes": {
"type": "array",
"items": {
"type": "string",
"enum": [
"applications.commands",
"bot",
"webhook.incoming"
],
"allOf": [
{
"$ref": "#/components/schemas/OAuth2Scopes"
}
]
},
"uniqueItems": true
},
"user": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/UserResponse"
}
]
}
},
"required": [
"type",
"id",
"application",
"scopes"
]
}