mirror of
https://github.com/discord/discord-api-spec.git
synced 2025-11-14 07:49:48 -05:00
Compare commits
2 commits
99ab1fbc88
...
2a2605c2df
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2a2605c2df | ||
|
|
2456f4aede |
2 changed files with 84 additions and 58 deletions
|
|
@ -9057,35 +9057,7 @@
|
|||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"platform_name": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"maxLength": 50
|
||||
},
|
||||
"platform_username": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"maxLength": 100
|
||||
},
|
||||
"metadata": {
|
||||
"type": [
|
||||
"object",
|
||||
"null"
|
||||
],
|
||||
"additionalProperties": {
|
||||
"type": "string",
|
||||
"minLength": 1,
|
||||
"maxLength": 100
|
||||
},
|
||||
"maxProperties": 5
|
||||
}
|
||||
}
|
||||
"$ref": "#/components/schemas/UpdateApplicationUserRoleConnectionRequest"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -31369,6 +31341,16 @@
|
|||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"attachment_id": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "null"
|
||||
},
|
||||
{
|
||||
"$ref": "#/components/schemas/SnowflakeType"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
|
|
@ -31377,6 +31359,37 @@
|
|||
"proxy_url"
|
||||
]
|
||||
},
|
||||
"UpdateApplicationUserRoleConnectionRequest": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"platform_name": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"maxLength": 50
|
||||
},
|
||||
"platform_username": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"maxLength": 100
|
||||
},
|
||||
"metadata": {
|
||||
"type": [
|
||||
"object",
|
||||
"null"
|
||||
],
|
||||
"additionalProperties": {
|
||||
"type": "string",
|
||||
"minLength": 1,
|
||||
"maxLength": 100
|
||||
},
|
||||
"maxProperties": 5
|
||||
}
|
||||
}
|
||||
},
|
||||
"UpdateDMRequestPartial": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
|
|
|||
|
|
@ -9057,35 +9057,7 @@
|
|||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"platform_name": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"maxLength": 50
|
||||
},
|
||||
"platform_username": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"maxLength": 100
|
||||
},
|
||||
"metadata": {
|
||||
"type": [
|
||||
"object",
|
||||
"null"
|
||||
],
|
||||
"additionalProperties": {
|
||||
"type": "string",
|
||||
"minLength": 1,
|
||||
"maxLength": 100
|
||||
},
|
||||
"maxProperties": 5
|
||||
}
|
||||
}
|
||||
"$ref": "#/components/schemas/UpdateApplicationUserRoleConnectionRequest"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -31801,6 +31773,16 @@
|
|||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"attachment_id": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "null"
|
||||
},
|
||||
{
|
||||
"$ref": "#/components/schemas/SnowflakeType"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
|
|
@ -31809,6 +31791,37 @@
|
|||
"proxy_url"
|
||||
]
|
||||
},
|
||||
"UpdateApplicationUserRoleConnectionRequest": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"platform_name": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"maxLength": 50
|
||||
},
|
||||
"platform_username": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"maxLength": 100
|
||||
},
|
||||
"metadata": {
|
||||
"type": [
|
||||
"object",
|
||||
"null"
|
||||
],
|
||||
"additionalProperties": {
|
||||
"type": "string",
|
||||
"minLength": 1,
|
||||
"maxLength": 100
|
||||
},
|
||||
"maxProperties": 5
|
||||
}
|
||||
}
|
||||
},
|
||||
"UpdateDMRequestPartial": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
|
|
|||
Loading…
Reference in a new issue