mirror of
https://github.com/discord/discord-api-spec.git
synced 2026-05-01 06:20:33 -04:00
Automated spec update (182499)
This commit is contained in:
parent
1aa018afc0
commit
aaa5b538a6
2 changed files with 90 additions and 2 deletions
|
|
@ -24709,7 +24709,7 @@
|
||||||
"null"
|
"null"
|
||||||
],
|
],
|
||||||
"items": {
|
"items": {
|
||||||
"$ref": "#/components/schemas/GuildRoleResponse"
|
"$ref": "#/components/schemas/InviteGuildRoleResponse"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -27470,6 +27470,50 @@
|
||||||
"premium_subscription_count"
|
"premium_subscription_count"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"InviteGuildRoleResponse": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"id": {
|
||||||
|
"$ref": "#/components/schemas/SnowflakeType"
|
||||||
|
},
|
||||||
|
"name": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"position": {
|
||||||
|
"type": "integer",
|
||||||
|
"format": "int32"
|
||||||
|
},
|
||||||
|
"color": {
|
||||||
|
"type": "integer",
|
||||||
|
"format": "int32"
|
||||||
|
},
|
||||||
|
"colors": {
|
||||||
|
"$ref": "#/components/schemas/GuildRoleColorsResponse"
|
||||||
|
},
|
||||||
|
"icon": {
|
||||||
|
"type": [
|
||||||
|
"string",
|
||||||
|
"null"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"unicode_emoji": {
|
||||||
|
"type": [
|
||||||
|
"string",
|
||||||
|
"null"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"permissions": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"id",
|
||||||
|
"name",
|
||||||
|
"position",
|
||||||
|
"color",
|
||||||
|
"colors"
|
||||||
|
]
|
||||||
|
},
|
||||||
"InviteTargetTypes": {
|
"InviteTargetTypes": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"oneOf": [
|
"oneOf": [
|
||||||
|
|
|
||||||
|
|
@ -25149,7 +25149,7 @@
|
||||||
"null"
|
"null"
|
||||||
],
|
],
|
||||||
"items": {
|
"items": {
|
||||||
"$ref": "#/components/schemas/GuildRoleResponse"
|
"$ref": "#/components/schemas/InviteGuildRoleResponse"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -28056,6 +28056,50 @@
|
||||||
"premium_subscription_count"
|
"premium_subscription_count"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"InviteGuildRoleResponse": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"id": {
|
||||||
|
"$ref": "#/components/schemas/SnowflakeType"
|
||||||
|
},
|
||||||
|
"name": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"position": {
|
||||||
|
"type": "integer",
|
||||||
|
"format": "int32"
|
||||||
|
},
|
||||||
|
"color": {
|
||||||
|
"type": "integer",
|
||||||
|
"format": "int32"
|
||||||
|
},
|
||||||
|
"colors": {
|
||||||
|
"$ref": "#/components/schemas/GuildRoleColorsResponse"
|
||||||
|
},
|
||||||
|
"icon": {
|
||||||
|
"type": [
|
||||||
|
"string",
|
||||||
|
"null"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"unicode_emoji": {
|
||||||
|
"type": [
|
||||||
|
"string",
|
||||||
|
"null"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"permissions": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"id",
|
||||||
|
"name",
|
||||||
|
"position",
|
||||||
|
"color",
|
||||||
|
"colors"
|
||||||
|
]
|
||||||
|
},
|
||||||
"InviteTargetTypes": {
|
"InviteTargetTypes": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"oneOf": [
|
"oneOf": [
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue