2021-09-12 21:21:08 +02:00
|
|
|
{
|
2022-04-22 17:07:59 +02:00
|
|
|
"MessageCreateSchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2022-07-09 06:15:15 +02:00
|
|
|
"type": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"content": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"nonce": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2022-07-09 06:15:15 +02:00
|
|
|
"channel_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"tts": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"flags": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"embeds": {
|
|
|
|
"type": "array",
|
2022-07-02 12:41:40 +02:00
|
|
|
"items": {
|
|
|
|
"$ref": "#/definitions/Embed"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"embed": {
|
|
|
|
"$ref": "#/definitions/Embed"
|
2022-04-22 17:07:59 +02:00
|
|
|
},
|
|
|
|
"allowed_mentions": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"parse": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"roles": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"users": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"replied_user": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"message_reference": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"message_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"channel_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"guild_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"fail_if_not_exists": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"channel_id",
|
|
|
|
"message_id"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"payload_json": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"file": {},
|
|
|
|
"attachments": {
|
2022-07-02 10:37:20 +02:00
|
|
|
"description": "TODO: we should create an interface for attachments\nTODO: OpenWAAO<-->attachment-style metadata conversion",
|
2022-04-22 17:07:59 +02:00
|
|
|
"type": "array",
|
|
|
|
"items": {}
|
|
|
|
},
|
|
|
|
"sticker_ids": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
2022-07-02 12:41:40 +02:00
|
|
|
"definitions": {
|
|
|
|
"Embed": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"title": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
"article",
|
|
|
|
"gifv",
|
|
|
|
"image",
|
|
|
|
"link",
|
|
|
|
"rich",
|
|
|
|
"video"
|
|
|
|
],
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"timestamp": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"footer": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"text": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"text"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"image": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"thumbnail": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"video": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"provider": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"author": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"fields": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"inline": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"value"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
2022-04-22 17:07:59 +02:00
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"EmbedImage": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"height": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"width": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
2022-04-22 17:07:59 +02:00
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"Record<string,string>": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false
|
2022-04-22 17:07:59 +02:00
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"ChannelPermissionOverwriteType": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
2
|
|
|
|
],
|
|
|
|
"type": "number"
|
2022-04-22 17:07:59 +02:00
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"ChannelModifySchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"maxLength": 100,
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
10,
|
|
|
|
11,
|
|
|
|
12,
|
|
|
|
13,
|
|
|
|
14,
|
|
|
|
15,
|
|
|
|
2,
|
|
|
|
255,
|
|
|
|
3,
|
|
|
|
33,
|
|
|
|
34,
|
|
|
|
35,
|
|
|
|
4,
|
|
|
|
5,
|
|
|
|
6,
|
|
|
|
64,
|
|
|
|
7,
|
|
|
|
8,
|
|
|
|
9
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"topic": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon": {
|
|
|
|
"type": [
|
|
|
|
"null",
|
|
|
|
"string"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"bitrate": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"user_limit": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"rate_limit_per_user": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"position": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"permission_overwrites": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"$ref": "#/definitions/ChannelPermissionOverwriteType"
|
|
|
|
},
|
|
|
|
"allow": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"deny": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"allow",
|
|
|
|
"deny",
|
|
|
|
"id",
|
|
|
|
"type"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"parent_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"nsfw": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"rtc_region": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"default_auto_archive_duration": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"UserPublic": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"username": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"discriminator": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"public_flags": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"avatar": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"accent_color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"banner": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bio": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bot": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"premium_since": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"bio",
|
|
|
|
"bot",
|
|
|
|
"discriminator",
|
|
|
|
"id",
|
|
|
|
"premium_since",
|
|
|
|
"public_flags",
|
|
|
|
"username"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"PublicConnectedAccount": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"verified": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"type",
|
|
|
|
"verified"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
|
|
},
|
|
|
|
"RouteResponse": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"status": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"body": {
|
2022-07-02 10:37:20 +02:00
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
2022-07-02 12:41:40 +02:00
|
|
|
},
|
|
|
|
"headers": {
|
|
|
|
"$ref": "#/definitions/Record<string,string>"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"definitions": {
|
|
|
|
"Embed": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"title": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
"article",
|
|
|
|
"gifv",
|
|
|
|
"image",
|
|
|
|
"link",
|
|
|
|
"rich",
|
|
|
|
"video"
|
|
|
|
],
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"timestamp": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"footer": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"text": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"text"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"image": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"thumbnail": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"video": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"provider": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"author": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"fields": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"inline": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"value"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"EmbedImage": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"height": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"width": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"Record<string,string>": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"ChannelPermissionOverwriteType": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
2
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"ChannelModifySchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"maxLength": 100,
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
10,
|
|
|
|
11,
|
|
|
|
12,
|
|
|
|
13,
|
|
|
|
14,
|
|
|
|
15,
|
|
|
|
2,
|
|
|
|
255,
|
|
|
|
3,
|
|
|
|
33,
|
|
|
|
34,
|
|
|
|
35,
|
|
|
|
4,
|
|
|
|
5,
|
|
|
|
6,
|
|
|
|
64,
|
|
|
|
7,
|
|
|
|
8,
|
|
|
|
9
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"topic": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon": {
|
|
|
|
"type": [
|
|
|
|
"null",
|
|
|
|
"string"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"bitrate": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"user_limit": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"rate_limit_per_user": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"position": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"permission_overwrites": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"$ref": "#/definitions/ChannelPermissionOverwriteType"
|
|
|
|
},
|
|
|
|
"allow": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"deny": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"allow",
|
|
|
|
"deny",
|
|
|
|
"id",
|
|
|
|
"type"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"parent_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"nsfw": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"rtc_region": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"default_auto_archive_duration": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"UserPublic": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"username": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"discriminator": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"public_flags": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"avatar": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"accent_color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"banner": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bio": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bot": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"premium_since": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"bio",
|
|
|
|
"bot",
|
|
|
|
"discriminator",
|
|
|
|
"id",
|
|
|
|
"premium_since",
|
|
|
|
"public_flags",
|
|
|
|
"username"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"PublicConnectedAccount": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"verified": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"type",
|
|
|
|
"verified"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"LoginSchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"login": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"password": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"undelete": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"captcha_key": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"login_source": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"gift_code_sku_id": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"login",
|
|
|
|
"password"
|
|
|
|
],
|
|
|
|
"definitions": {
|
|
|
|
"Embed": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"title": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
"article",
|
|
|
|
"gifv",
|
|
|
|
"image",
|
|
|
|
"link",
|
|
|
|
"rich",
|
|
|
|
"video"
|
|
|
|
],
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"timestamp": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"footer": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"text": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"text"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"image": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"thumbnail": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"video": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"provider": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"author": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"fields": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"inline": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"value"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"EmbedImage": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"height": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"width": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"Record<string,string>": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"ChannelPermissionOverwriteType": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
2
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"ChannelModifySchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"maxLength": 100,
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
10,
|
|
|
|
11,
|
|
|
|
12,
|
|
|
|
13,
|
|
|
|
14,
|
|
|
|
15,
|
|
|
|
2,
|
|
|
|
255,
|
|
|
|
3,
|
|
|
|
33,
|
|
|
|
34,
|
|
|
|
35,
|
|
|
|
4,
|
|
|
|
5,
|
|
|
|
6,
|
|
|
|
64,
|
|
|
|
7,
|
|
|
|
8,
|
|
|
|
9
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"topic": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon": {
|
|
|
|
"type": [
|
|
|
|
"null",
|
|
|
|
"string"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"bitrate": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"user_limit": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"rate_limit_per_user": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"position": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"permission_overwrites": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"$ref": "#/definitions/ChannelPermissionOverwriteType"
|
|
|
|
},
|
|
|
|
"allow": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"deny": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"allow",
|
|
|
|
"deny",
|
|
|
|
"id",
|
|
|
|
"type"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"parent_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"nsfw": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"rtc_region": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"default_auto_archive_duration": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"UserPublic": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"username": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"discriminator": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"public_flags": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"avatar": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"accent_color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"banner": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bio": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bot": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"premium_since": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"bio",
|
|
|
|
"bot",
|
|
|
|
"discriminator",
|
|
|
|
"id",
|
|
|
|
"premium_since",
|
|
|
|
"public_flags",
|
|
|
|
"username"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"PublicConnectedAccount": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"verified": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"type",
|
|
|
|
"verified"
|
|
|
|
]
|
2022-04-22 17:07:59 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
|
|
},
|
|
|
|
"RegisterSchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"username": {
|
|
|
|
"minLength": 2,
|
|
|
|
"maxLength": 32,
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"password": {
|
|
|
|
"minLength": 1,
|
|
|
|
"maxLength": 72,
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"consent": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"email": {
|
|
|
|
"format": "email",
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"fingerprint": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"invite": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"date_of_birth": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"gift_code_sku_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"captcha_key": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"consent",
|
|
|
|
"username"
|
|
|
|
],
|
|
|
|
"definitions": {
|
|
|
|
"Embed": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"title": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
"article",
|
|
|
|
"gifv",
|
|
|
|
"image",
|
|
|
|
"link",
|
|
|
|
"rich",
|
|
|
|
"video"
|
|
|
|
],
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"timestamp": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"footer": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"text": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"text"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"image": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"thumbnail": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"video": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"provider": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"author": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"fields": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"inline": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"value"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"EmbedImage": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"height": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"width": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"Record<string,string>": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"ChannelPermissionOverwriteType": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
2
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"ChannelModifySchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"maxLength": 100,
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
10,
|
|
|
|
11,
|
|
|
|
12,
|
|
|
|
13,
|
|
|
|
14,
|
|
|
|
15,
|
|
|
|
2,
|
|
|
|
255,
|
|
|
|
3,
|
|
|
|
33,
|
|
|
|
34,
|
|
|
|
35,
|
|
|
|
4,
|
|
|
|
5,
|
|
|
|
6,
|
|
|
|
64,
|
|
|
|
7,
|
|
|
|
8,
|
|
|
|
9
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"topic": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon": {
|
|
|
|
"type": [
|
|
|
|
"null",
|
|
|
|
"string"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"bitrate": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"user_limit": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"rate_limit_per_user": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"position": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"permission_overwrites": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"$ref": "#/definitions/ChannelPermissionOverwriteType"
|
|
|
|
},
|
|
|
|
"allow": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"deny": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"allow",
|
|
|
|
"deny",
|
|
|
|
"id",
|
|
|
|
"type"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"parent_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"nsfw": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"rtc_region": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"default_auto_archive_duration": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"UserPublic": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"username": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"discriminator": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"public_flags": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"avatar": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"accent_color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"banner": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bio": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bot": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"premium_since": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"bio",
|
|
|
|
"bot",
|
|
|
|
"discriminator",
|
|
|
|
"id",
|
|
|
|
"premium_since",
|
|
|
|
"public_flags",
|
|
|
|
"username"
|
|
|
|
]
|
2022-04-22 17:07:59 +02:00
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"PublicConnectedAccount": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"verified": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"type",
|
|
|
|
"verified"
|
|
|
|
]
|
2022-04-22 17:07:59 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
|
|
},
|
|
|
|
"ChannelModifySchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"maxLength": 100,
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
10,
|
|
|
|
11,
|
|
|
|
12,
|
|
|
|
13,
|
2022-07-02 12:41:40 +02:00
|
|
|
14,
|
|
|
|
15,
|
2022-04-22 17:07:59 +02:00
|
|
|
2,
|
|
|
|
255,
|
|
|
|
3,
|
|
|
|
33,
|
|
|
|
34,
|
|
|
|
35,
|
|
|
|
4,
|
|
|
|
5,
|
|
|
|
6,
|
|
|
|
64,
|
|
|
|
7,
|
|
|
|
8,
|
|
|
|
9
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"topic": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon": {
|
|
|
|
"type": [
|
|
|
|
"null",
|
|
|
|
"string"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"bitrate": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"user_limit": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"rate_limit_per_user": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"position": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"permission_overwrites": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"$ref": "#/definitions/ChannelPermissionOverwriteType"
|
|
|
|
},
|
|
|
|
"allow": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"deny": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"allow",
|
|
|
|
"deny",
|
|
|
|
"id",
|
|
|
|
"type"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"parent_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"nsfw": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"rtc_region": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"default_auto_archive_duration": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"definitions": {
|
|
|
|
"Embed": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"title": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
"article",
|
|
|
|
"gifv",
|
|
|
|
"image",
|
|
|
|
"link",
|
|
|
|
"rich",
|
|
|
|
"video"
|
|
|
|
],
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"timestamp": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"footer": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"text": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"text"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"image": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"thumbnail": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"video": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"provider": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"author": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"fields": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"inline": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"value"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"EmbedImage": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"height": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"width": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"Record<string,string>": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"ChannelPermissionOverwriteType": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
2
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"ChannelModifySchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"maxLength": 100,
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
10,
|
|
|
|
11,
|
|
|
|
12,
|
|
|
|
13,
|
2022-07-02 12:41:40 +02:00
|
|
|
14,
|
|
|
|
15,
|
2022-04-22 17:07:59 +02:00
|
|
|
2,
|
|
|
|
255,
|
|
|
|
3,
|
|
|
|
33,
|
|
|
|
34,
|
|
|
|
35,
|
|
|
|
4,
|
|
|
|
5,
|
|
|
|
6,
|
|
|
|
64,
|
|
|
|
7,
|
|
|
|
8,
|
|
|
|
9
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"topic": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon": {
|
|
|
|
"type": [
|
|
|
|
"null",
|
|
|
|
"string"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"bitrate": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"user_limit": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"rate_limit_per_user": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"position": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"permission_overwrites": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"$ref": "#/definitions/ChannelPermissionOverwriteType"
|
|
|
|
},
|
|
|
|
"allow": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"deny": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"allow",
|
|
|
|
"deny",
|
|
|
|
"id",
|
|
|
|
"type"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"parent_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"nsfw": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"rtc_region": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"default_auto_archive_duration": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"UserPublic": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"username": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"discriminator": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"public_flags": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"avatar": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"accent_color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"banner": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bio": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bot": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"premium_since": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"bio",
|
|
|
|
"bot",
|
|
|
|
"discriminator",
|
|
|
|
"id",
|
|
|
|
"premium_since",
|
|
|
|
"public_flags",
|
|
|
|
"username"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"PublicConnectedAccount": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"verified": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"type",
|
|
|
|
"verified"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"InviteCreateSchema": {
|
2022-04-22 17:07:59 +02:00
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2022-07-02 12:41:40 +02:00
|
|
|
"target_user_id": {
|
2022-04-22 17:07:59 +02:00
|
|
|
"type": "string"
|
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"target_type": {
|
2022-04-22 17:07:59 +02:00
|
|
|
"type": "string"
|
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"validate": {
|
2022-04-22 17:07:59 +02:00
|
|
|
"type": "string"
|
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"max_age": {
|
|
|
|
"type": "integer"
|
2022-04-22 17:07:59 +02:00
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"max_uses": {
|
|
|
|
"type": "integer"
|
2022-04-22 17:07:59 +02:00
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"temporary": {
|
|
|
|
"type": "boolean"
|
2022-04-22 17:07:59 +02:00
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"unique": {
|
|
|
|
"type": "boolean"
|
2022-04-22 17:07:59 +02:00
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"target_user": {
|
2022-04-22 17:07:59 +02:00
|
|
|
"type": "string"
|
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"target_user_type": {
|
|
|
|
"type": "integer"
|
2022-04-22 17:07:59 +02:00
|
|
|
}
|
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"additionalProperties": false,
|
|
|
|
"definitions": {
|
2022-04-22 17:07:59 +02:00
|
|
|
"Embed": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"title": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
"article",
|
|
|
|
"gifv",
|
|
|
|
"image",
|
|
|
|
"link",
|
|
|
|
"rich",
|
|
|
|
"video"
|
|
|
|
],
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"timestamp": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"footer": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"text": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"text"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"image": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"thumbnail": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"video": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"provider": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"author": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"fields": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"inline": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"value"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"EmbedImage": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"height": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"width": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"Record<string,string>": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"ChannelPermissionOverwriteType": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
2
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"ChannelModifySchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"maxLength": 100,
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
10,
|
|
|
|
11,
|
|
|
|
12,
|
|
|
|
13,
|
2022-07-02 12:41:40 +02:00
|
|
|
14,
|
|
|
|
15,
|
2022-04-22 17:07:59 +02:00
|
|
|
2,
|
|
|
|
255,
|
|
|
|
3,
|
|
|
|
33,
|
|
|
|
34,
|
|
|
|
35,
|
|
|
|
4,
|
|
|
|
5,
|
|
|
|
6,
|
|
|
|
64,
|
|
|
|
7,
|
|
|
|
8,
|
|
|
|
9
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"topic": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon": {
|
|
|
|
"type": [
|
|
|
|
"null",
|
|
|
|
"string"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"bitrate": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"user_limit": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"rate_limit_per_user": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"position": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"permission_overwrites": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"$ref": "#/definitions/ChannelPermissionOverwriteType"
|
|
|
|
},
|
|
|
|
"allow": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"deny": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"allow",
|
|
|
|
"deny",
|
|
|
|
"id",
|
|
|
|
"type"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"parent_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"nsfw": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"rtc_region": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"default_auto_archive_duration": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"UserPublic": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"username": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"discriminator": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"public_flags": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"avatar": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"accent_color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"banner": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bio": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bot": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"premium_since": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"bio",
|
|
|
|
"bot",
|
|
|
|
"discriminator",
|
|
|
|
"id",
|
|
|
|
"premium_since",
|
|
|
|
"public_flags",
|
|
|
|
"username"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"PublicConnectedAccount": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"verified": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"type",
|
|
|
|
"verified"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"MessageAcknowledgeSchema": {
|
2022-04-22 17:07:59 +02:00
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2022-07-02 12:41:40 +02:00
|
|
|
"manual": {
|
2022-04-22 17:07:59 +02:00
|
|
|
"type": "boolean"
|
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"mention_count": {
|
2022-04-22 17:07:59 +02:00
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"definitions": {
|
|
|
|
"Embed": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"title": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
"article",
|
|
|
|
"gifv",
|
|
|
|
"image",
|
|
|
|
"link",
|
|
|
|
"rich",
|
|
|
|
"video"
|
|
|
|
],
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"timestamp": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"footer": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"text": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"text"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"image": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"thumbnail": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"video": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"provider": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"author": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"fields": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"inline": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"value"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"EmbedImage": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"height": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"width": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"Record<string,string>": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"ChannelPermissionOverwriteType": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
2
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"ChannelModifySchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"maxLength": 100,
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
10,
|
|
|
|
11,
|
|
|
|
12,
|
|
|
|
13,
|
2022-07-02 12:41:40 +02:00
|
|
|
14,
|
|
|
|
15,
|
2022-04-22 17:07:59 +02:00
|
|
|
2,
|
|
|
|
255,
|
|
|
|
3,
|
|
|
|
33,
|
|
|
|
34,
|
|
|
|
35,
|
|
|
|
4,
|
|
|
|
5,
|
|
|
|
6,
|
|
|
|
64,
|
|
|
|
7,
|
|
|
|
8,
|
|
|
|
9
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"topic": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon": {
|
|
|
|
"type": [
|
|
|
|
"null",
|
|
|
|
"string"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"bitrate": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"user_limit": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"rate_limit_per_user": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"position": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"permission_overwrites": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"$ref": "#/definitions/ChannelPermissionOverwriteType"
|
|
|
|
},
|
|
|
|
"allow": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"deny": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"allow",
|
|
|
|
"deny",
|
|
|
|
"id",
|
|
|
|
"type"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"parent_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"nsfw": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"rtc_region": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"default_auto_archive_duration": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"UserPublic": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"username": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"discriminator": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"public_flags": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"avatar": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"accent_color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"banner": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bio": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bot": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"premium_since": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"bio",
|
|
|
|
"bot",
|
|
|
|
"discriminator",
|
|
|
|
"id",
|
|
|
|
"premium_since",
|
|
|
|
"public_flags",
|
|
|
|
"username"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"PublicConnectedAccount": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"verified": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"type",
|
|
|
|
"verified"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"BulkDeleteSchema": {
|
2022-04-22 17:07:59 +02:00
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2022-07-02 12:41:40 +02:00
|
|
|
"messages": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
2022-04-22 17:07:59 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
2022-07-02 12:41:40 +02:00
|
|
|
"required": [
|
|
|
|
"messages"
|
|
|
|
],
|
2022-04-22 17:07:59 +02:00
|
|
|
"definitions": {
|
|
|
|
"Embed": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"title": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
"article",
|
|
|
|
"gifv",
|
|
|
|
"image",
|
|
|
|
"link",
|
|
|
|
"rich",
|
|
|
|
"video"
|
|
|
|
],
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"timestamp": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"footer": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"text": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"text"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"image": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"thumbnail": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"video": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"provider": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"author": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"fields": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"inline": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"value"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"EmbedImage": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"height": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"width": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"Record<string,string>": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"ChannelPermissionOverwriteType": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
2
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"ChannelModifySchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"maxLength": 100,
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
10,
|
|
|
|
11,
|
|
|
|
12,
|
|
|
|
13,
|
2022-07-02 12:41:40 +02:00
|
|
|
14,
|
|
|
|
15,
|
2022-04-22 17:07:59 +02:00
|
|
|
2,
|
|
|
|
255,
|
|
|
|
3,
|
|
|
|
33,
|
|
|
|
34,
|
|
|
|
35,
|
|
|
|
4,
|
|
|
|
5,
|
|
|
|
6,
|
|
|
|
64,
|
|
|
|
7,
|
|
|
|
8,
|
|
|
|
9
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"topic": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon": {
|
|
|
|
"type": [
|
|
|
|
"null",
|
|
|
|
"string"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"bitrate": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"user_limit": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"rate_limit_per_user": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"position": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"permission_overwrites": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"$ref": "#/definitions/ChannelPermissionOverwriteType"
|
|
|
|
},
|
|
|
|
"allow": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"deny": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"allow",
|
|
|
|
"deny",
|
|
|
|
"id",
|
|
|
|
"type"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"parent_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"nsfw": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"rtc_region": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"default_auto_archive_duration": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"UserPublic": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"username": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"discriminator": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"public_flags": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"avatar": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"accent_color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"banner": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bio": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bot": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"premium_since": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"bio",
|
|
|
|
"bot",
|
|
|
|
"discriminator",
|
|
|
|
"id",
|
|
|
|
"premium_since",
|
|
|
|
"public_flags",
|
|
|
|
"username"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"PublicConnectedAccount": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"verified": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"type",
|
|
|
|
"verified"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"ChannelPermissionOverwriteSchema": {
|
2022-04-22 17:07:59 +02:00
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2022-07-02 12:41:40 +02:00
|
|
|
"allow": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"deny": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"$ref": "#/definitions/ChannelPermissionOverwriteType"
|
2022-04-22 17:07:59 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
2022-07-02 12:41:40 +02:00
|
|
|
"allow",
|
|
|
|
"deny",
|
|
|
|
"id",
|
|
|
|
"type"
|
2022-04-22 17:07:59 +02:00
|
|
|
],
|
|
|
|
"definitions": {
|
|
|
|
"Embed": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"title": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
"article",
|
|
|
|
"gifv",
|
|
|
|
"image",
|
|
|
|
"link",
|
|
|
|
"rich",
|
|
|
|
"video"
|
|
|
|
],
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"timestamp": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"footer": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"text": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"text"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"image": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"thumbnail": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"video": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"provider": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"author": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"fields": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"inline": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"value"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"EmbedImage": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"height": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"width": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"Record<string,string>": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"ChannelPermissionOverwriteType": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
2
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"ChannelModifySchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"maxLength": 100,
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
10,
|
|
|
|
11,
|
|
|
|
12,
|
|
|
|
13,
|
2022-07-02 12:41:40 +02:00
|
|
|
14,
|
|
|
|
15,
|
2022-04-22 17:07:59 +02:00
|
|
|
2,
|
|
|
|
255,
|
|
|
|
3,
|
|
|
|
33,
|
|
|
|
34,
|
|
|
|
35,
|
|
|
|
4,
|
|
|
|
5,
|
|
|
|
6,
|
|
|
|
64,
|
|
|
|
7,
|
|
|
|
8,
|
|
|
|
9
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"topic": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon": {
|
|
|
|
"type": [
|
|
|
|
"null",
|
|
|
|
"string"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"bitrate": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"user_limit": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"rate_limit_per_user": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"position": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"permission_overwrites": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"$ref": "#/definitions/ChannelPermissionOverwriteType"
|
|
|
|
},
|
|
|
|
"allow": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"deny": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"allow",
|
|
|
|
"deny",
|
|
|
|
"id",
|
|
|
|
"type"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"parent_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"nsfw": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"rtc_region": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"default_auto_archive_duration": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"UserPublic": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"username": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"discriminator": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"public_flags": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"avatar": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"accent_color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"banner": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bio": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bot": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"premium_since": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"bio",
|
|
|
|
"bot",
|
|
|
|
"discriminator",
|
|
|
|
"id",
|
|
|
|
"premium_since",
|
|
|
|
"public_flags",
|
|
|
|
"username"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"PublicConnectedAccount": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"verified": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"type",
|
|
|
|
"verified"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"PurgeSchema": {
|
2022-04-22 17:07:59 +02:00
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2022-07-02 12:41:40 +02:00
|
|
|
"before": {
|
2022-04-22 17:07:59 +02:00
|
|
|
"type": "string"
|
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"after": {
|
2022-04-22 17:07:59 +02:00
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
2022-07-02 12:41:40 +02:00
|
|
|
"after",
|
|
|
|
"before"
|
2022-04-22 17:07:59 +02:00
|
|
|
],
|
|
|
|
"definitions": {
|
|
|
|
"Embed": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"title": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
"article",
|
|
|
|
"gifv",
|
|
|
|
"image",
|
|
|
|
"link",
|
|
|
|
"rich",
|
|
|
|
"video"
|
|
|
|
],
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"timestamp": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"footer": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"text": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"text"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"image": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"thumbnail": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"video": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"provider": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"author": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"fields": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"inline": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"value"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"EmbedImage": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"height": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"width": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"Record<string,string>": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"ChannelPermissionOverwriteType": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
2
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"ChannelModifySchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"maxLength": 100,
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
10,
|
|
|
|
11,
|
|
|
|
12,
|
|
|
|
13,
|
2022-07-02 12:41:40 +02:00
|
|
|
14,
|
|
|
|
15,
|
2022-04-22 17:07:59 +02:00
|
|
|
2,
|
|
|
|
255,
|
|
|
|
3,
|
|
|
|
33,
|
|
|
|
34,
|
|
|
|
35,
|
|
|
|
4,
|
|
|
|
5,
|
|
|
|
6,
|
|
|
|
64,
|
|
|
|
7,
|
|
|
|
8,
|
|
|
|
9
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"topic": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon": {
|
|
|
|
"type": [
|
|
|
|
"null",
|
|
|
|
"string"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"bitrate": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"user_limit": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"rate_limit_per_user": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"position": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"permission_overwrites": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"$ref": "#/definitions/ChannelPermissionOverwriteType"
|
|
|
|
},
|
|
|
|
"allow": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"deny": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"allow",
|
|
|
|
"deny",
|
|
|
|
"id",
|
|
|
|
"type"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"parent_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"nsfw": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"rtc_region": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"default_auto_archive_duration": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"UserPublic": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"username": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"discriminator": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"public_flags": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"avatar": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"accent_color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"banner": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bio": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bot": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"premium_since": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"bio",
|
|
|
|
"bot",
|
|
|
|
"discriminator",
|
|
|
|
"id",
|
|
|
|
"premium_since",
|
|
|
|
"public_flags",
|
|
|
|
"username"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"PublicConnectedAccount": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"verified": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"type",
|
|
|
|
"verified"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
|
|
},
|
|
|
|
"WebhookCreateSchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"maxLength": 80,
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"avatar": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"avatar",
|
|
|
|
"name"
|
|
|
|
],
|
|
|
|
"definitions": {
|
|
|
|
"Embed": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"title": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
"article",
|
|
|
|
"gifv",
|
|
|
|
"image",
|
|
|
|
"link",
|
|
|
|
"rich",
|
|
|
|
"video"
|
|
|
|
],
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"timestamp": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"footer": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"text": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"text"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"image": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"thumbnail": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"video": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"provider": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"author": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"fields": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"inline": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"value"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"EmbedImage": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"height": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"width": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"Record<string,string>": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"ChannelPermissionOverwriteType": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
2
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"ChannelModifySchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"maxLength": 100,
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
10,
|
|
|
|
11,
|
|
|
|
12,
|
|
|
|
13,
|
2022-07-02 12:41:40 +02:00
|
|
|
14,
|
|
|
|
15,
|
2022-04-22 17:07:59 +02:00
|
|
|
2,
|
|
|
|
255,
|
|
|
|
3,
|
|
|
|
33,
|
|
|
|
34,
|
|
|
|
35,
|
|
|
|
4,
|
|
|
|
5,
|
|
|
|
6,
|
|
|
|
64,
|
|
|
|
7,
|
|
|
|
8,
|
|
|
|
9
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"topic": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon": {
|
|
|
|
"type": [
|
|
|
|
"null",
|
|
|
|
"string"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"bitrate": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"user_limit": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"rate_limit_per_user": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"position": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"permission_overwrites": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"$ref": "#/definitions/ChannelPermissionOverwriteType"
|
|
|
|
},
|
|
|
|
"allow": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"deny": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"allow",
|
|
|
|
"deny",
|
|
|
|
"id",
|
|
|
|
"type"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"parent_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"nsfw": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"rtc_region": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"default_auto_archive_duration": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"UserPublic": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"username": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"discriminator": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"public_flags": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"avatar": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"accent_color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"banner": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bio": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bot": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"premium_since": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"bio",
|
|
|
|
"bot",
|
|
|
|
"discriminator",
|
|
|
|
"id",
|
|
|
|
"premium_since",
|
|
|
|
"public_flags",
|
|
|
|
"username"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"PublicConnectedAccount": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"verified": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"type",
|
|
|
|
"verified"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
|
|
},
|
|
|
|
"GatewayBotResponse": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"shards": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"session_start_limit": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"total": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"remaining": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"reset_after": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"max_concurrency": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"max_concurrency",
|
|
|
|
"remaining",
|
|
|
|
"reset_after",
|
|
|
|
"total"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"session_start_limit",
|
|
|
|
"shards",
|
|
|
|
"url"
|
|
|
|
],
|
|
|
|
"definitions": {
|
|
|
|
"Embed": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"title": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
"article",
|
|
|
|
"gifv",
|
|
|
|
"image",
|
|
|
|
"link",
|
|
|
|
"rich",
|
|
|
|
"video"
|
|
|
|
],
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"timestamp": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"footer": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"text": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"text"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"image": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"thumbnail": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"video": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"provider": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"author": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"fields": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"inline": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"value"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"EmbedImage": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"height": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"width": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"Record<string,string>": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"ChannelPermissionOverwriteType": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
2
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"ChannelModifySchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"maxLength": 100,
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
10,
|
|
|
|
11,
|
|
|
|
12,
|
|
|
|
13,
|
2022-07-02 12:41:40 +02:00
|
|
|
14,
|
|
|
|
15,
|
2022-04-22 17:07:59 +02:00
|
|
|
2,
|
|
|
|
255,
|
|
|
|
3,
|
|
|
|
33,
|
|
|
|
34,
|
|
|
|
35,
|
|
|
|
4,
|
|
|
|
5,
|
|
|
|
6,
|
|
|
|
64,
|
|
|
|
7,
|
|
|
|
8,
|
|
|
|
9
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"topic": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon": {
|
|
|
|
"type": [
|
|
|
|
"null",
|
|
|
|
"string"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"bitrate": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"user_limit": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"rate_limit_per_user": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"position": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"permission_overwrites": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"$ref": "#/definitions/ChannelPermissionOverwriteType"
|
|
|
|
},
|
|
|
|
"allow": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"deny": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"allow",
|
|
|
|
"deny",
|
|
|
|
"id",
|
|
|
|
"type"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"parent_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"nsfw": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"rtc_region": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"default_auto_archive_duration": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"UserPublic": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"username": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"discriminator": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"public_flags": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"avatar": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"accent_color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"banner": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bio": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bot": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"premium_since": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"bio",
|
|
|
|
"bot",
|
|
|
|
"discriminator",
|
|
|
|
"id",
|
|
|
|
"premium_since",
|
|
|
|
"public_flags",
|
|
|
|
"username"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"PublicConnectedAccount": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"verified": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"type",
|
|
|
|
"verified"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
|
|
},
|
|
|
|
"GatewayResponse": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"url"
|
|
|
|
],
|
|
|
|
"definitions": {
|
|
|
|
"Embed": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"title": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
"article",
|
|
|
|
"gifv",
|
|
|
|
"image",
|
|
|
|
"link",
|
|
|
|
"rich",
|
|
|
|
"video"
|
|
|
|
],
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"timestamp": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"footer": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"text": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"text"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"image": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"thumbnail": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"video": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"provider": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"author": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"fields": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"inline": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"value"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"EmbedImage": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"height": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"width": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"Record<string,string>": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"ChannelPermissionOverwriteType": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
2
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"ChannelModifySchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"maxLength": 100,
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
10,
|
|
|
|
11,
|
|
|
|
12,
|
|
|
|
13,
|
2022-07-02 12:41:40 +02:00
|
|
|
14,
|
|
|
|
15,
|
2022-04-22 17:07:59 +02:00
|
|
|
2,
|
|
|
|
255,
|
|
|
|
3,
|
|
|
|
33,
|
|
|
|
34,
|
|
|
|
35,
|
|
|
|
4,
|
|
|
|
5,
|
|
|
|
6,
|
|
|
|
64,
|
|
|
|
7,
|
|
|
|
8,
|
|
|
|
9
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"topic": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon": {
|
|
|
|
"type": [
|
|
|
|
"null",
|
|
|
|
"string"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"bitrate": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"user_limit": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"rate_limit_per_user": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"position": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"permission_overwrites": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"$ref": "#/definitions/ChannelPermissionOverwriteType"
|
|
|
|
},
|
|
|
|
"allow": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"deny": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"allow",
|
|
|
|
"deny",
|
|
|
|
"id",
|
|
|
|
"type"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"parent_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"nsfw": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"rtc_region": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"default_auto_archive_duration": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"UserPublic": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"username": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"discriminator": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"public_flags": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"avatar": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"accent_color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"banner": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bio": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bot": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"premium_since": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"bio",
|
|
|
|
"bot",
|
|
|
|
"discriminator",
|
|
|
|
"id",
|
|
|
|
"premium_since",
|
|
|
|
"public_flags",
|
|
|
|
"username"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"PublicConnectedAccount": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"verified": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"type",
|
|
|
|
"verified"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
|
|
},
|
|
|
|
"BanCreateSchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"delete_message_days": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"reason": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"definitions": {
|
|
|
|
"Embed": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"title": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
"article",
|
|
|
|
"gifv",
|
|
|
|
"image",
|
|
|
|
"link",
|
|
|
|
"rich",
|
|
|
|
"video"
|
|
|
|
],
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"timestamp": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"footer": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"text": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"text"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"image": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"thumbnail": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"video": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"provider": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"author": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"fields": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"inline": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"value"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"EmbedImage": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"height": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"width": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"Record<string,string>": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"ChannelPermissionOverwriteType": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
2
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"ChannelModifySchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"maxLength": 100,
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
10,
|
|
|
|
11,
|
|
|
|
12,
|
|
|
|
13,
|
2022-07-02 12:41:40 +02:00
|
|
|
14,
|
|
|
|
15,
|
2022-04-22 17:07:59 +02:00
|
|
|
2,
|
|
|
|
255,
|
|
|
|
3,
|
|
|
|
33,
|
|
|
|
34,
|
|
|
|
35,
|
|
|
|
4,
|
|
|
|
5,
|
|
|
|
6,
|
|
|
|
64,
|
|
|
|
7,
|
|
|
|
8,
|
|
|
|
9
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"topic": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon": {
|
|
|
|
"type": [
|
|
|
|
"null",
|
|
|
|
"string"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"bitrate": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"user_limit": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"rate_limit_per_user": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"position": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"permission_overwrites": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"$ref": "#/definitions/ChannelPermissionOverwriteType"
|
|
|
|
},
|
|
|
|
"allow": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"deny": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"allow",
|
|
|
|
"deny",
|
|
|
|
"id",
|
|
|
|
"type"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"parent_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"nsfw": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"rtc_region": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"default_auto_archive_duration": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"UserPublic": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"username": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"discriminator": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"public_flags": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"avatar": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"accent_color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"banner": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bio": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bot": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"premium_since": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"bio",
|
|
|
|
"bot",
|
|
|
|
"discriminator",
|
|
|
|
"id",
|
|
|
|
"premium_since",
|
|
|
|
"public_flags",
|
|
|
|
"username"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"PublicConnectedAccount": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"verified": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"type",
|
|
|
|
"verified"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
|
|
},
|
|
|
|
"BanRegistrySchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"user_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"guild_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"executor_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"ip": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"reason": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"executor_id",
|
2022-07-02 12:41:40 +02:00
|
|
|
"guild_id",
|
|
|
|
"id",
|
|
|
|
"user_id"
|
|
|
|
],
|
|
|
|
"definitions": {
|
2022-04-22 17:07:59 +02:00
|
|
|
"Embed": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"title": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
"article",
|
|
|
|
"gifv",
|
|
|
|
"image",
|
|
|
|
"link",
|
|
|
|
"rich",
|
|
|
|
"video"
|
|
|
|
],
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"timestamp": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"footer": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"text": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"text"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"image": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"thumbnail": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"video": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"provider": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"author": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"fields": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"inline": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"value"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"EmbedImage": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"height": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"width": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"Record<string,string>": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"ChannelPermissionOverwriteType": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
2
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"ChannelModifySchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"maxLength": 100,
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
10,
|
|
|
|
11,
|
|
|
|
12,
|
|
|
|
13,
|
2022-07-02 12:41:40 +02:00
|
|
|
14,
|
|
|
|
15,
|
2022-04-22 17:07:59 +02:00
|
|
|
2,
|
|
|
|
255,
|
|
|
|
3,
|
|
|
|
33,
|
|
|
|
34,
|
|
|
|
35,
|
|
|
|
4,
|
|
|
|
5,
|
|
|
|
6,
|
|
|
|
64,
|
|
|
|
7,
|
|
|
|
8,
|
|
|
|
9
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"topic": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon": {
|
|
|
|
"type": [
|
|
|
|
"null",
|
|
|
|
"string"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"bitrate": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"user_limit": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"rate_limit_per_user": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"position": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"permission_overwrites": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"$ref": "#/definitions/ChannelPermissionOverwriteType"
|
|
|
|
},
|
|
|
|
"allow": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"deny": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"allow",
|
|
|
|
"deny",
|
|
|
|
"id",
|
|
|
|
"type"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"parent_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"nsfw": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"rtc_region": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"default_auto_archive_duration": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"UserPublic": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"username": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"discriminator": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"public_flags": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"avatar": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"accent_color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"banner": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bio": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bot": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"premium_since": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"bio",
|
|
|
|
"bot",
|
|
|
|
"discriminator",
|
|
|
|
"id",
|
|
|
|
"premium_since",
|
|
|
|
"public_flags",
|
|
|
|
"username"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"PublicConnectedAccount": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"verified": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"type",
|
|
|
|
"verified"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
|
|
},
|
|
|
|
"BanModeratorSchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"user_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"guild_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"executor_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"reason": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"executor_id",
|
|
|
|
"guild_id",
|
|
|
|
"id",
|
|
|
|
"user_id"
|
|
|
|
],
|
|
|
|
"definitions": {
|
|
|
|
"Embed": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"title": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
"article",
|
|
|
|
"gifv",
|
|
|
|
"image",
|
|
|
|
"link",
|
|
|
|
"rich",
|
|
|
|
"video"
|
|
|
|
],
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"timestamp": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"footer": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"text": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"text"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"image": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"thumbnail": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"video": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"provider": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"author": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"fields": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"inline": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"value"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"EmbedImage": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"height": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"width": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"Record<string,string>": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"ChannelPermissionOverwriteType": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
2
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"ChannelModifySchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"maxLength": 100,
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
10,
|
|
|
|
11,
|
|
|
|
12,
|
|
|
|
13,
|
2022-07-02 12:41:40 +02:00
|
|
|
14,
|
|
|
|
15,
|
2022-04-22 17:07:59 +02:00
|
|
|
2,
|
|
|
|
255,
|
|
|
|
3,
|
|
|
|
33,
|
|
|
|
34,
|
|
|
|
35,
|
|
|
|
4,
|
|
|
|
5,
|
|
|
|
6,
|
|
|
|
64,
|
|
|
|
7,
|
|
|
|
8,
|
|
|
|
9
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"topic": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon": {
|
|
|
|
"type": [
|
|
|
|
"null",
|
|
|
|
"string"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"bitrate": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"user_limit": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"rate_limit_per_user": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"position": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"permission_overwrites": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"$ref": "#/definitions/ChannelPermissionOverwriteType"
|
|
|
|
},
|
|
|
|
"allow": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"deny": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"allow",
|
|
|
|
"deny",
|
|
|
|
"id",
|
|
|
|
"type"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"parent_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"nsfw": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"rtc_region": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"default_auto_archive_duration": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"UserPublic": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"username": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"discriminator": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"public_flags": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"avatar": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"accent_color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"banner": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bio": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bot": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"premium_since": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"bio",
|
|
|
|
"bot",
|
|
|
|
"discriminator",
|
|
|
|
"id",
|
|
|
|
"premium_since",
|
|
|
|
"public_flags",
|
|
|
|
"username"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"PublicConnectedAccount": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"verified": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"type",
|
|
|
|
"verified"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
|
|
},
|
|
|
|
"ChannelReorderSchema": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"position": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"lock_permissions": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"parent_id": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"id"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"definitions": {
|
|
|
|
"Embed": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"title": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
"article",
|
|
|
|
"gifv",
|
|
|
|
"image",
|
|
|
|
"link",
|
|
|
|
"rich",
|
|
|
|
"video"
|
|
|
|
],
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"timestamp": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"footer": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"text": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"text"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"image": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"thumbnail": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"video": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"provider": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"author": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"fields": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"inline": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"value"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"EmbedImage": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"height": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"width": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"Record<string,string>": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"ChannelPermissionOverwriteType": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
2
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"ChannelModifySchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"maxLength": 100,
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
10,
|
|
|
|
11,
|
|
|
|
12,
|
|
|
|
13,
|
2022-07-02 12:41:40 +02:00
|
|
|
14,
|
|
|
|
15,
|
2022-04-22 17:07:59 +02:00
|
|
|
2,
|
|
|
|
255,
|
|
|
|
3,
|
|
|
|
33,
|
|
|
|
34,
|
|
|
|
35,
|
|
|
|
4,
|
|
|
|
5,
|
|
|
|
6,
|
|
|
|
64,
|
|
|
|
7,
|
|
|
|
8,
|
|
|
|
9
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"topic": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon": {
|
|
|
|
"type": [
|
|
|
|
"null",
|
|
|
|
"string"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"bitrate": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"user_limit": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"rate_limit_per_user": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"position": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"permission_overwrites": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"$ref": "#/definitions/ChannelPermissionOverwriteType"
|
|
|
|
},
|
|
|
|
"allow": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"deny": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"allow",
|
|
|
|
"deny",
|
|
|
|
"id",
|
|
|
|
"type"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"parent_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"nsfw": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"rtc_region": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"default_auto_archive_duration": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"UserPublic": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"username": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"discriminator": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"public_flags": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"avatar": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"accent_color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"banner": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bio": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bot": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"premium_since": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"bio",
|
|
|
|
"bot",
|
|
|
|
"discriminator",
|
|
|
|
"id",
|
|
|
|
"premium_since",
|
|
|
|
"public_flags",
|
|
|
|
"username"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"PublicConnectedAccount": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"verified": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"type",
|
|
|
|
"verified"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
|
|
},
|
|
|
|
"EmojiCreateSchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"image": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"require_colons": {
|
|
|
|
"type": [
|
|
|
|
"null",
|
|
|
|
"boolean"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"roles": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"image"
|
|
|
|
],
|
|
|
|
"definitions": {
|
|
|
|
"Embed": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"title": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
"article",
|
|
|
|
"gifv",
|
|
|
|
"image",
|
|
|
|
"link",
|
|
|
|
"rich",
|
|
|
|
"video"
|
|
|
|
],
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"timestamp": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"footer": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"text": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"text"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"image": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"thumbnail": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"video": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"provider": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"author": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"fields": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"inline": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"value"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"EmbedImage": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"height": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"width": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"Record<string,string>": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"ChannelPermissionOverwriteType": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
2
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"ChannelModifySchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"maxLength": 100,
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
10,
|
|
|
|
11,
|
|
|
|
12,
|
|
|
|
13,
|
2022-07-02 12:41:40 +02:00
|
|
|
14,
|
|
|
|
15,
|
2022-04-22 17:07:59 +02:00
|
|
|
2,
|
|
|
|
255,
|
|
|
|
3,
|
|
|
|
33,
|
|
|
|
34,
|
|
|
|
35,
|
|
|
|
4,
|
|
|
|
5,
|
|
|
|
6,
|
|
|
|
64,
|
|
|
|
7,
|
|
|
|
8,
|
|
|
|
9
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"topic": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon": {
|
|
|
|
"type": [
|
|
|
|
"null",
|
|
|
|
"string"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"bitrate": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"user_limit": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"rate_limit_per_user": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"position": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"permission_overwrites": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"$ref": "#/definitions/ChannelPermissionOverwriteType"
|
|
|
|
},
|
|
|
|
"allow": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"deny": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"allow",
|
|
|
|
"deny",
|
|
|
|
"id",
|
|
|
|
"type"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"parent_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"nsfw": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"rtc_region": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"default_auto_archive_duration": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"UserPublic": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"username": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"discriminator": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"public_flags": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"avatar": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"accent_color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"banner": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bio": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bot": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"premium_since": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"bio",
|
|
|
|
"bot",
|
|
|
|
"discriminator",
|
|
|
|
"id",
|
|
|
|
"premium_since",
|
|
|
|
"public_flags",
|
|
|
|
"username"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"PublicConnectedAccount": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"verified": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"type",
|
|
|
|
"verified"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
|
|
},
|
|
|
|
"EmojiModifySchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"roles": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"definitions": {
|
|
|
|
"Embed": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"title": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
"article",
|
|
|
|
"gifv",
|
|
|
|
"image",
|
|
|
|
"link",
|
|
|
|
"rich",
|
|
|
|
"video"
|
|
|
|
],
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"timestamp": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"footer": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"text": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"text"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"image": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"thumbnail": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"video": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"provider": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"author": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"fields": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"inline": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"value"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"EmbedImage": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"height": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"width": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"Record<string,string>": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"ChannelPermissionOverwriteType": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
2
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"ChannelModifySchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"maxLength": 100,
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
10,
|
|
|
|
11,
|
|
|
|
12,
|
|
|
|
13,
|
2022-07-02 12:41:40 +02:00
|
|
|
14,
|
|
|
|
15,
|
2022-04-22 17:07:59 +02:00
|
|
|
2,
|
|
|
|
255,
|
|
|
|
3,
|
|
|
|
33,
|
|
|
|
34,
|
|
|
|
35,
|
|
|
|
4,
|
|
|
|
5,
|
|
|
|
6,
|
|
|
|
64,
|
|
|
|
7,
|
|
|
|
8,
|
|
|
|
9
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"topic": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon": {
|
|
|
|
"type": [
|
|
|
|
"null",
|
|
|
|
"string"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"bitrate": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"user_limit": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"rate_limit_per_user": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"position": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"permission_overwrites": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"$ref": "#/definitions/ChannelPermissionOverwriteType"
|
|
|
|
},
|
|
|
|
"allow": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"deny": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"allow",
|
|
|
|
"deny",
|
|
|
|
"id",
|
|
|
|
"type"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"parent_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"nsfw": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"rtc_region": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"default_auto_archive_duration": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"UserPublic": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"username": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"discriminator": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"public_flags": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"avatar": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"accent_color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"banner": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bio": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bot": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"premium_since": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"bio",
|
|
|
|
"bot",
|
|
|
|
"discriminator",
|
|
|
|
"id",
|
|
|
|
"premium_since",
|
|
|
|
"public_flags",
|
|
|
|
"username"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"PublicConnectedAccount": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"verified": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"type",
|
|
|
|
"verified"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
|
|
},
|
|
|
|
"GuildCreateSchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"maxLength": 100,
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"region": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon": {
|
|
|
|
"type": [
|
|
|
|
"null",
|
|
|
|
"string"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"channels": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"$ref": "#/definitions/ChannelModifySchema"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"guild_template_code": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"system_channel_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"rules_channel_id": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"definitions": {
|
|
|
|
"Embed": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"title": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
"article",
|
|
|
|
"gifv",
|
|
|
|
"image",
|
|
|
|
"link",
|
|
|
|
"rich",
|
|
|
|
"video"
|
|
|
|
],
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"timestamp": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"footer": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"text": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"text"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"image": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"thumbnail": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"video": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"provider": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"author": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"fields": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"inline": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"value"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"EmbedImage": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"height": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"width": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"Record<string,string>": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"ChannelPermissionOverwriteType": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
2
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"ChannelModifySchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"maxLength": 100,
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
10,
|
|
|
|
11,
|
|
|
|
12,
|
|
|
|
13,
|
2022-07-02 12:41:40 +02:00
|
|
|
14,
|
|
|
|
15,
|
2022-04-22 17:07:59 +02:00
|
|
|
2,
|
|
|
|
255,
|
|
|
|
3,
|
|
|
|
33,
|
|
|
|
34,
|
|
|
|
35,
|
|
|
|
4,
|
|
|
|
5,
|
|
|
|
6,
|
|
|
|
64,
|
|
|
|
7,
|
|
|
|
8,
|
|
|
|
9
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"topic": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon": {
|
|
|
|
"type": [
|
|
|
|
"null",
|
|
|
|
"string"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"bitrate": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"user_limit": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"rate_limit_per_user": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"position": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"permission_overwrites": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"$ref": "#/definitions/ChannelPermissionOverwriteType"
|
|
|
|
},
|
|
|
|
"allow": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"deny": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"allow",
|
|
|
|
"deny",
|
|
|
|
"id",
|
|
|
|
"type"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"parent_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"nsfw": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"rtc_region": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"default_auto_archive_duration": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"UserPublic": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"username": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"discriminator": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"public_flags": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"avatar": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"accent_color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"banner": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bio": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bot": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"premium_since": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"bio",
|
|
|
|
"bot",
|
|
|
|
"discriminator",
|
|
|
|
"id",
|
|
|
|
"premium_since",
|
|
|
|
"public_flags",
|
|
|
|
"username"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"PublicConnectedAccount": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"verified": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"type",
|
|
|
|
"verified"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
|
|
},
|
|
|
|
"GuildUpdateSchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"banner": {
|
|
|
|
"type": [
|
|
|
|
"null",
|
|
|
|
"string"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"splash": {
|
|
|
|
"type": [
|
|
|
|
"null",
|
|
|
|
"string"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"features": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"verification_level": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"default_message_notifications": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"system_channel_flags": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"explicit_content_filter": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"public_updates_channel_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"afk_timeout": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"afk_channel_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"preferred_locale": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2022-07-03 12:58:44 +02:00
|
|
|
"premium_progress_bar_enabled": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"name": {
|
|
|
|
"maxLength": 100,
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"region": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon": {
|
|
|
|
"type": [
|
|
|
|
"null",
|
|
|
|
"string"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"guild_template_code": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"system_channel_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"rules_channel_id": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"definitions": {
|
|
|
|
"Embed": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"title": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
"article",
|
|
|
|
"gifv",
|
|
|
|
"image",
|
|
|
|
"link",
|
|
|
|
"rich",
|
|
|
|
"video"
|
|
|
|
],
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"timestamp": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"footer": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"text": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"text"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"image": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"thumbnail": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"video": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"provider": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"author": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"fields": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"inline": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"value"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"EmbedImage": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"height": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"width": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"Record<string,string>": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"ChannelPermissionOverwriteType": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
2
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"ChannelModifySchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"maxLength": 100,
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
10,
|
|
|
|
11,
|
|
|
|
12,
|
|
|
|
13,
|
2022-07-02 12:41:40 +02:00
|
|
|
14,
|
|
|
|
15,
|
2022-04-22 17:07:59 +02:00
|
|
|
2,
|
|
|
|
255,
|
|
|
|
3,
|
|
|
|
33,
|
|
|
|
34,
|
|
|
|
35,
|
|
|
|
4,
|
|
|
|
5,
|
|
|
|
6,
|
|
|
|
64,
|
|
|
|
7,
|
|
|
|
8,
|
|
|
|
9
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"topic": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon": {
|
|
|
|
"type": [
|
|
|
|
"null",
|
|
|
|
"string"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"bitrate": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"user_limit": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"rate_limit_per_user": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"position": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"permission_overwrites": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"$ref": "#/definitions/ChannelPermissionOverwriteType"
|
|
|
|
},
|
|
|
|
"allow": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"deny": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"allow",
|
|
|
|
"deny",
|
|
|
|
"id",
|
|
|
|
"type"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"parent_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"nsfw": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"rtc_region": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"default_auto_archive_duration": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"UserPublic": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"username": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"discriminator": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"public_flags": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"avatar": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"accent_color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"banner": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bio": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bot": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"premium_since": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"bio",
|
|
|
|
"bot",
|
|
|
|
"discriminator",
|
|
|
|
"id",
|
|
|
|
"premium_since",
|
|
|
|
"public_flags",
|
|
|
|
"username"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"PublicConnectedAccount": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"verified": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"type",
|
|
|
|
"verified"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
|
|
},
|
|
|
|
"MemberChangeSchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"roles": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
2022-07-02 17:23:54 +02:00
|
|
|
},
|
|
|
|
"nick": {
|
|
|
|
"type": "string"
|
2022-04-22 17:07:59 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"definitions": {
|
|
|
|
"Embed": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"title": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
"article",
|
|
|
|
"gifv",
|
|
|
|
"image",
|
|
|
|
"link",
|
|
|
|
"rich",
|
|
|
|
"video"
|
|
|
|
],
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"timestamp": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"footer": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"text": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"text"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"image": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"thumbnail": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"video": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"provider": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"author": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"fields": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"inline": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"value"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"EmbedImage": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"height": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"width": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"Record<string,string>": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"ChannelPermissionOverwriteType": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
2
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"ChannelModifySchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"maxLength": 100,
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
10,
|
|
|
|
11,
|
|
|
|
12,
|
|
|
|
13,
|
2022-07-02 12:41:40 +02:00
|
|
|
14,
|
|
|
|
15,
|
2022-04-22 17:07:59 +02:00
|
|
|
2,
|
|
|
|
255,
|
|
|
|
3,
|
|
|
|
33,
|
|
|
|
34,
|
|
|
|
35,
|
|
|
|
4,
|
|
|
|
5,
|
|
|
|
6,
|
|
|
|
64,
|
|
|
|
7,
|
|
|
|
8,
|
|
|
|
9
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"topic": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon": {
|
|
|
|
"type": [
|
|
|
|
"null",
|
|
|
|
"string"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"bitrate": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"user_limit": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"rate_limit_per_user": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"position": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"permission_overwrites": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"$ref": "#/definitions/ChannelPermissionOverwriteType"
|
|
|
|
},
|
|
|
|
"allow": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"deny": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"allow",
|
|
|
|
"deny",
|
|
|
|
"id",
|
|
|
|
"type"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"parent_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"nsfw": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"rtc_region": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"default_auto_archive_duration": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"UserPublic": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"username": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"discriminator": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"public_flags": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"avatar": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"accent_color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"banner": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bio": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bot": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"premium_since": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"bio",
|
|
|
|
"bot",
|
|
|
|
"discriminator",
|
|
|
|
"id",
|
|
|
|
"premium_since",
|
|
|
|
"public_flags",
|
|
|
|
"username"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"PublicConnectedAccount": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"verified": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"type",
|
|
|
|
"verified"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
|
|
},
|
|
|
|
"MemberNickChangeSchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"nick": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"nick"
|
|
|
|
],
|
|
|
|
"definitions": {
|
|
|
|
"Embed": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"title": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
"article",
|
|
|
|
"gifv",
|
|
|
|
"image",
|
|
|
|
"link",
|
|
|
|
"rich",
|
|
|
|
"video"
|
|
|
|
],
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"timestamp": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"footer": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"text": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"text"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"image": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"thumbnail": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"video": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"provider": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"author": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"fields": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"inline": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"value"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"EmbedImage": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"height": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"width": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"Record<string,string>": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"ChannelPermissionOverwriteType": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
2
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"ChannelModifySchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"maxLength": 100,
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
10,
|
|
|
|
11,
|
|
|
|
12,
|
|
|
|
13,
|
2022-07-02 12:41:40 +02:00
|
|
|
14,
|
|
|
|
15,
|
2022-04-22 17:07:59 +02:00
|
|
|
2,
|
|
|
|
255,
|
|
|
|
3,
|
|
|
|
33,
|
|
|
|
34,
|
|
|
|
35,
|
|
|
|
4,
|
|
|
|
5,
|
|
|
|
6,
|
|
|
|
64,
|
|
|
|
7,
|
|
|
|
8,
|
|
|
|
9
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"topic": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon": {
|
|
|
|
"type": [
|
|
|
|
"null",
|
|
|
|
"string"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"bitrate": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"user_limit": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"rate_limit_per_user": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"position": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"permission_overwrites": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"$ref": "#/definitions/ChannelPermissionOverwriteType"
|
|
|
|
},
|
|
|
|
"allow": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"deny": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"allow",
|
|
|
|
"deny",
|
|
|
|
"id",
|
|
|
|
"type"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"parent_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"nsfw": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"rtc_region": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"default_auto_archive_duration": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"UserPublic": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"username": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"discriminator": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"public_flags": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"avatar": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"accent_color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"banner": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bio": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bot": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"premium_since": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"bio",
|
|
|
|
"bot",
|
|
|
|
"discriminator",
|
|
|
|
"id",
|
|
|
|
"premium_since",
|
|
|
|
"public_flags",
|
|
|
|
"username"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"PublicConnectedAccount": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"verified": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"type",
|
|
|
|
"verified"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
|
|
},
|
|
|
|
"PruneSchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"days": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"days"
|
|
|
|
],
|
|
|
|
"definitions": {
|
|
|
|
"Embed": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"title": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
"article",
|
|
|
|
"gifv",
|
|
|
|
"image",
|
|
|
|
"link",
|
|
|
|
"rich",
|
|
|
|
"video"
|
|
|
|
],
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"timestamp": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"footer": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"text": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"text"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"image": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"thumbnail": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"video": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"provider": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"author": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"fields": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"inline": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"value"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"EmbedImage": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"height": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"width": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"Record<string,string>": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"ChannelPermissionOverwriteType": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
2
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"ChannelModifySchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"maxLength": 100,
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
10,
|
|
|
|
11,
|
|
|
|
12,
|
|
|
|
13,
|
2022-07-02 12:41:40 +02:00
|
|
|
14,
|
|
|
|
15,
|
2022-04-22 17:07:59 +02:00
|
|
|
2,
|
|
|
|
255,
|
|
|
|
3,
|
|
|
|
33,
|
|
|
|
34,
|
|
|
|
35,
|
|
|
|
4,
|
|
|
|
5,
|
|
|
|
6,
|
|
|
|
64,
|
|
|
|
7,
|
|
|
|
8,
|
|
|
|
9
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"topic": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon": {
|
|
|
|
"type": [
|
|
|
|
"null",
|
|
|
|
"string"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"bitrate": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"user_limit": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"rate_limit_per_user": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"position": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"permission_overwrites": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"$ref": "#/definitions/ChannelPermissionOverwriteType"
|
|
|
|
},
|
|
|
|
"allow": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"deny": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"allow",
|
|
|
|
"deny",
|
|
|
|
"id",
|
|
|
|
"type"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"parent_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"nsfw": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"rtc_region": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"default_auto_archive_duration": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"UserPublic": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"username": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"discriminator": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"public_flags": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"avatar": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"accent_color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"banner": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bio": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bot": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"premium_since": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"bio",
|
|
|
|
"bot",
|
|
|
|
"discriminator",
|
|
|
|
"id",
|
|
|
|
"premium_since",
|
|
|
|
"public_flags",
|
|
|
|
"username"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"PublicConnectedAccount": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"verified": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"type",
|
|
|
|
"verified"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
|
|
},
|
|
|
|
"RoleModifySchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"permissions": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"hoist": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"mentionable": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"position": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"icon": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"unicode_emoji": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"definitions": {
|
|
|
|
"Embed": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"title": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
"article",
|
|
|
|
"gifv",
|
|
|
|
"image",
|
|
|
|
"link",
|
|
|
|
"rich",
|
|
|
|
"video"
|
|
|
|
],
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"timestamp": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"footer": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"text": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"text"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"image": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"thumbnail": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"video": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"provider": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"author": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"fields": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"inline": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"value"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"EmbedImage": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"height": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"width": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"Record<string,string>": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"ChannelPermissionOverwriteType": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
2
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"ChannelModifySchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"maxLength": 100,
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
10,
|
|
|
|
11,
|
|
|
|
12,
|
|
|
|
13,
|
2022-07-02 12:41:40 +02:00
|
|
|
14,
|
|
|
|
15,
|
2022-04-22 17:07:59 +02:00
|
|
|
2,
|
|
|
|
255,
|
|
|
|
3,
|
|
|
|
33,
|
|
|
|
34,
|
|
|
|
35,
|
|
|
|
4,
|
|
|
|
5,
|
|
|
|
6,
|
|
|
|
64,
|
|
|
|
7,
|
|
|
|
8,
|
|
|
|
9
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"topic": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon": {
|
|
|
|
"type": [
|
|
|
|
"null",
|
|
|
|
"string"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"bitrate": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"user_limit": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"rate_limit_per_user": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"position": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"permission_overwrites": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"$ref": "#/definitions/ChannelPermissionOverwriteType"
|
|
|
|
},
|
|
|
|
"allow": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"deny": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"allow",
|
|
|
|
"deny",
|
|
|
|
"id",
|
|
|
|
"type"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"parent_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"nsfw": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"rtc_region": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"default_auto_archive_duration": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"UserPublic": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"username": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"discriminator": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"public_flags": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"avatar": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"accent_color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"banner": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bio": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bot": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"premium_since": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"bio",
|
|
|
|
"bot",
|
|
|
|
"discriminator",
|
|
|
|
"id",
|
|
|
|
"premium_since",
|
|
|
|
"public_flags",
|
|
|
|
"username"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"PublicConnectedAccount": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"verified": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"type",
|
|
|
|
"verified"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
|
|
},
|
|
|
|
"RolePositionUpdateSchema": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"position": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"id",
|
|
|
|
"position"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"definitions": {
|
|
|
|
"Embed": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"title": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
"article",
|
|
|
|
"gifv",
|
|
|
|
"image",
|
|
|
|
"link",
|
|
|
|
"rich",
|
|
|
|
"video"
|
|
|
|
],
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"timestamp": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"footer": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"text": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"text"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"image": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"thumbnail": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"video": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"provider": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"author": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"fields": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"inline": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"value"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"EmbedImage": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"height": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"width": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"Record<string,string>": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"ChannelPermissionOverwriteType": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
2
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"ChannelModifySchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"maxLength": 100,
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
10,
|
|
|
|
11,
|
|
|
|
12,
|
|
|
|
13,
|
2022-07-02 12:41:40 +02:00
|
|
|
14,
|
|
|
|
15,
|
2022-04-22 17:07:59 +02:00
|
|
|
2,
|
|
|
|
255,
|
|
|
|
3,
|
|
|
|
33,
|
|
|
|
34,
|
|
|
|
35,
|
|
|
|
4,
|
|
|
|
5,
|
|
|
|
6,
|
|
|
|
64,
|
|
|
|
7,
|
|
|
|
8,
|
|
|
|
9
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"topic": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon": {
|
|
|
|
"type": [
|
|
|
|
"null",
|
|
|
|
"string"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"bitrate": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"user_limit": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"rate_limit_per_user": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"position": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"permission_overwrites": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"$ref": "#/definitions/ChannelPermissionOverwriteType"
|
|
|
|
},
|
|
|
|
"allow": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"deny": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"allow",
|
|
|
|
"deny",
|
|
|
|
"id",
|
|
|
|
"type"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"parent_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"nsfw": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"rtc_region": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"default_auto_archive_duration": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"UserPublic": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"username": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"discriminator": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"public_flags": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"avatar": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"accent_color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"banner": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bio": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bot": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"premium_since": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"bio",
|
|
|
|
"bot",
|
|
|
|
"discriminator",
|
|
|
|
"id",
|
|
|
|
"premium_since",
|
|
|
|
"public_flags",
|
|
|
|
"username"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"PublicConnectedAccount": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"verified": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"type",
|
|
|
|
"verified"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
|
|
},
|
|
|
|
"ModifyGuildStickerSchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"minLength": 2,
|
|
|
|
"maxLength": 30,
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"maxLength": 100,
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"tags": {
|
|
|
|
"maxLength": 200,
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"tags"
|
|
|
|
],
|
|
|
|
"definitions": {
|
|
|
|
"Embed": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"title": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
"article",
|
|
|
|
"gifv",
|
|
|
|
"image",
|
|
|
|
"link",
|
|
|
|
"rich",
|
|
|
|
"video"
|
|
|
|
],
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"timestamp": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"footer": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"text": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"text"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"image": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"thumbnail": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"video": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"provider": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"author": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"fields": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"inline": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"value"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"EmbedImage": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"height": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"width": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"Record<string,string>": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"ChannelPermissionOverwriteType": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
2
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"ChannelModifySchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"maxLength": 100,
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
10,
|
|
|
|
11,
|
|
|
|
12,
|
|
|
|
13,
|
2022-07-02 12:41:40 +02:00
|
|
|
14,
|
|
|
|
15,
|
2022-04-22 17:07:59 +02:00
|
|
|
2,
|
|
|
|
255,
|
|
|
|
3,
|
|
|
|
33,
|
|
|
|
34,
|
|
|
|
35,
|
|
|
|
4,
|
|
|
|
5,
|
|
|
|
6,
|
|
|
|
64,
|
|
|
|
7,
|
|
|
|
8,
|
|
|
|
9
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"topic": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon": {
|
|
|
|
"type": [
|
|
|
|
"null",
|
|
|
|
"string"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"bitrate": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"user_limit": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"rate_limit_per_user": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"position": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"permission_overwrites": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"$ref": "#/definitions/ChannelPermissionOverwriteType"
|
|
|
|
},
|
|
|
|
"allow": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"deny": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"allow",
|
|
|
|
"deny",
|
|
|
|
"id",
|
|
|
|
"type"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"parent_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"nsfw": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"rtc_region": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"default_auto_archive_duration": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"UserPublic": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"username": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"discriminator": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"public_flags": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"avatar": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"accent_color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"banner": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bio": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bot": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"premium_since": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"bio",
|
|
|
|
"bot",
|
|
|
|
"discriminator",
|
|
|
|
"id",
|
|
|
|
"premium_since",
|
|
|
|
"public_flags",
|
|
|
|
"username"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"PublicConnectedAccount": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"verified": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"type",
|
|
|
|
"verified"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
|
|
},
|
|
|
|
"TemplateCreateSchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name"
|
|
|
|
],
|
|
|
|
"definitions": {
|
|
|
|
"Embed": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"title": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
"article",
|
|
|
|
"gifv",
|
|
|
|
"image",
|
|
|
|
"link",
|
|
|
|
"rich",
|
|
|
|
"video"
|
|
|
|
],
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"timestamp": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"footer": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"text": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"text"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"image": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"thumbnail": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"video": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"provider": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"author": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"fields": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"inline": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"value"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"EmbedImage": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"height": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"width": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"Record<string,string>": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"ChannelPermissionOverwriteType": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
2
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"ChannelModifySchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"maxLength": 100,
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
10,
|
|
|
|
11,
|
|
|
|
12,
|
|
|
|
13,
|
2022-07-02 12:41:40 +02:00
|
|
|
14,
|
|
|
|
15,
|
2022-04-22 17:07:59 +02:00
|
|
|
2,
|
|
|
|
255,
|
|
|
|
3,
|
|
|
|
33,
|
|
|
|
34,
|
|
|
|
35,
|
|
|
|
4,
|
|
|
|
5,
|
|
|
|
6,
|
|
|
|
64,
|
|
|
|
7,
|
|
|
|
8,
|
|
|
|
9
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"topic": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon": {
|
|
|
|
"type": [
|
|
|
|
"null",
|
|
|
|
"string"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"bitrate": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"user_limit": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"rate_limit_per_user": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"position": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"permission_overwrites": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"$ref": "#/definitions/ChannelPermissionOverwriteType"
|
|
|
|
},
|
|
|
|
"allow": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"deny": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"allow",
|
|
|
|
"deny",
|
|
|
|
"id",
|
|
|
|
"type"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"parent_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"nsfw": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"rtc_region": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"default_auto_archive_duration": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"UserPublic": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"username": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"discriminator": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"public_flags": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"avatar": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"accent_color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"banner": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bio": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bot": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"premium_since": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"bio",
|
|
|
|
"bot",
|
|
|
|
"discriminator",
|
|
|
|
"id",
|
|
|
|
"premium_since",
|
|
|
|
"public_flags",
|
|
|
|
"username"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"PublicConnectedAccount": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"verified": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"type",
|
|
|
|
"verified"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
|
|
},
|
|
|
|
"TemplateModifySchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name"
|
|
|
|
],
|
|
|
|
"definitions": {
|
|
|
|
"Embed": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"title": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
"article",
|
|
|
|
"gifv",
|
|
|
|
"image",
|
|
|
|
"link",
|
|
|
|
"rich",
|
|
|
|
"video"
|
|
|
|
],
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"timestamp": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"footer": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"text": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"text"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"image": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"thumbnail": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"video": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"provider": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"author": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"fields": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"inline": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"value"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"EmbedImage": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"height": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"width": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"Record<string,string>": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"ChannelPermissionOverwriteType": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
2
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"ChannelModifySchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"maxLength": 100,
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
10,
|
|
|
|
11,
|
|
|
|
12,
|
|
|
|
13,
|
2022-07-02 12:41:40 +02:00
|
|
|
14,
|
|
|
|
15,
|
2022-04-22 17:07:59 +02:00
|
|
|
2,
|
|
|
|
255,
|
|
|
|
3,
|
|
|
|
33,
|
|
|
|
34,
|
|
|
|
35,
|
|
|
|
4,
|
|
|
|
5,
|
|
|
|
6,
|
|
|
|
64,
|
|
|
|
7,
|
|
|
|
8,
|
|
|
|
9
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"topic": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon": {
|
|
|
|
"type": [
|
|
|
|
"null",
|
|
|
|
"string"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"bitrate": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"user_limit": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"rate_limit_per_user": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"position": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"permission_overwrites": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"$ref": "#/definitions/ChannelPermissionOverwriteType"
|
|
|
|
},
|
|
|
|
"allow": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"deny": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"allow",
|
|
|
|
"deny",
|
|
|
|
"id",
|
|
|
|
"type"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"parent_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"nsfw": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"rtc_region": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"default_auto_archive_duration": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"UserPublic": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"username": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"discriminator": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"public_flags": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"avatar": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"accent_color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"banner": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bio": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bot": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"premium_since": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"bio",
|
|
|
|
"bot",
|
|
|
|
"discriminator",
|
|
|
|
"id",
|
|
|
|
"premium_since",
|
|
|
|
"public_flags",
|
|
|
|
"username"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"PublicConnectedAccount": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"verified": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"type",
|
|
|
|
"verified"
|
|
|
|
]
|
2022-07-02 10:37:20 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"VanityUrlSchema": {
|
2022-07-02 10:37:20 +02:00
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2022-04-22 17:07:59 +02:00
|
|
|
"code": {
|
|
|
|
"minLength": 1,
|
|
|
|
"maxLength": 20,
|
2022-07-02 10:37:20 +02:00
|
|
|
"type": "string"
|
2022-04-22 17:07:59 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"definitions": {
|
|
|
|
"Embed": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"title": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
"article",
|
|
|
|
"gifv",
|
|
|
|
"image",
|
|
|
|
"link",
|
|
|
|
"rich",
|
|
|
|
"video"
|
|
|
|
],
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"timestamp": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"footer": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"text": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"text"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"image": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"thumbnail": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"video": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"provider": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"author": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"fields": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"inline": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"value"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"EmbedImage": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"height": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"width": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"Record<string,string>": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"ChannelPermissionOverwriteType": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
2
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"ChannelModifySchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"maxLength": 100,
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
10,
|
|
|
|
11,
|
|
|
|
12,
|
|
|
|
13,
|
2022-07-02 12:41:40 +02:00
|
|
|
14,
|
|
|
|
15,
|
2022-04-22 17:07:59 +02:00
|
|
|
2,
|
|
|
|
255,
|
|
|
|
3,
|
|
|
|
33,
|
|
|
|
34,
|
|
|
|
35,
|
|
|
|
4,
|
|
|
|
5,
|
|
|
|
6,
|
|
|
|
64,
|
|
|
|
7,
|
|
|
|
8,
|
|
|
|
9
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"topic": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon": {
|
|
|
|
"type": [
|
|
|
|
"null",
|
|
|
|
"string"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"bitrate": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"user_limit": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"rate_limit_per_user": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"position": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"permission_overwrites": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"$ref": "#/definitions/ChannelPermissionOverwriteType"
|
|
|
|
},
|
|
|
|
"allow": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"deny": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"allow",
|
|
|
|
"deny",
|
|
|
|
"id",
|
|
|
|
"type"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"parent_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"nsfw": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"rtc_region": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"default_auto_archive_duration": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"UserPublic": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"username": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"discriminator": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"public_flags": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"avatar": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"accent_color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"banner": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bio": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bot": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"premium_since": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"bio",
|
|
|
|
"bot",
|
|
|
|
"discriminator",
|
|
|
|
"id",
|
|
|
|
"premium_since",
|
|
|
|
"public_flags",
|
|
|
|
"username"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"PublicConnectedAccount": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"verified": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"type",
|
|
|
|
"verified"
|
|
|
|
]
|
2022-07-02 10:37:20 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"VoiceStateUpdateSchema": {
|
2022-07-02 10:37:20 +02:00
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2022-04-22 17:07:59 +02:00
|
|
|
"channel_id": {
|
2022-07-02 10:37:20 +02:00
|
|
|
"type": "string"
|
2022-04-22 17:07:59 +02:00
|
|
|
},
|
|
|
|
"guild_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"suppress": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"request_to_speak_timestamp": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"self_mute": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"self_deaf": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"self_video": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"channel_id"
|
|
|
|
],
|
|
|
|
"definitions": {
|
|
|
|
"Embed": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"title": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
"article",
|
|
|
|
"gifv",
|
|
|
|
"image",
|
|
|
|
"link",
|
|
|
|
"rich",
|
|
|
|
"video"
|
|
|
|
],
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"timestamp": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"footer": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"text": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"text"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"image": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"thumbnail": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"video": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"provider": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"author": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"fields": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"inline": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"value"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
2022-07-02 10:37:20 +02:00
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"EmbedImage": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"height": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"width": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"Record<string,string>": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"ChannelPermissionOverwriteType": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
2
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"ChannelModifySchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"maxLength": 100,
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
10,
|
|
|
|
11,
|
|
|
|
12,
|
|
|
|
13,
|
2022-07-02 12:41:40 +02:00
|
|
|
14,
|
|
|
|
15,
|
2022-04-22 17:07:59 +02:00
|
|
|
2,
|
|
|
|
255,
|
|
|
|
3,
|
|
|
|
33,
|
|
|
|
34,
|
|
|
|
35,
|
|
|
|
4,
|
|
|
|
5,
|
|
|
|
6,
|
|
|
|
64,
|
|
|
|
7,
|
|
|
|
8,
|
|
|
|
9
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"topic": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon": {
|
|
|
|
"type": [
|
|
|
|
"null",
|
|
|
|
"string"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"bitrate": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"user_limit": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"rate_limit_per_user": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"position": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"permission_overwrites": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"$ref": "#/definitions/ChannelPermissionOverwriteType"
|
|
|
|
},
|
|
|
|
"allow": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"deny": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"allow",
|
|
|
|
"deny",
|
|
|
|
"id",
|
|
|
|
"type"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"parent_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"nsfw": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"rtc_region": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"default_auto_archive_duration": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"UserPublic": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"username": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"discriminator": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"public_flags": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"avatar": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"accent_color": {
|
2022-07-02 10:37:20 +02:00
|
|
|
"type": "integer"
|
2022-04-22 17:07:59 +02:00
|
|
|
},
|
|
|
|
"banner": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bio": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bot": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"premium_since": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"bio",
|
|
|
|
"bot",
|
|
|
|
"discriminator",
|
|
|
|
"id",
|
|
|
|
"premium_since",
|
|
|
|
"public_flags",
|
|
|
|
"username"
|
|
|
|
]
|
2022-07-02 10:37:20 +02:00
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"PublicConnectedAccount": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"verified": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
2022-07-02 10:37:20 +02:00
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"type",
|
|
|
|
"verified"
|
|
|
|
]
|
2022-07-02 10:37:20 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"GuildUpdateWelcomeScreenSchema": {
|
2022-07-02 10:37:20 +02:00
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2022-04-22 17:07:59 +02:00
|
|
|
"welcome_channels": {
|
2022-07-02 10:37:20 +02:00
|
|
|
"type": "array",
|
|
|
|
"items": {
|
2022-04-22 17:07:59 +02:00
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"channel_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"emoji_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"emoji_name": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"channel_id",
|
2022-07-04 11:45:28 +02:00
|
|
|
"description"
|
2022-04-22 17:07:59 +02:00
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"enabled": {
|
|
|
|
"type": "boolean"
|
2022-07-02 10:37:20 +02:00
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"definitions": {
|
|
|
|
"Embed": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"title": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
"article",
|
|
|
|
"gifv",
|
|
|
|
"image",
|
|
|
|
"link",
|
|
|
|
"rich",
|
|
|
|
"video"
|
|
|
|
],
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"timestamp": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"footer": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"text": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"text"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"image": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"thumbnail": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"video": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"provider": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"author": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"fields": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"inline": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"value"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"EmbedImage": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"height": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"width": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
2022-07-02 10:37:20 +02:00
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"Record<string,string>": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false
|
2022-07-02 10:37:20 +02:00
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"ChannelPermissionOverwriteType": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
2
|
|
|
|
],
|
|
|
|
"type": "number"
|
2022-07-02 10:37:20 +02:00
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"ChannelModifySchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"maxLength": 100,
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
10,
|
|
|
|
11,
|
|
|
|
12,
|
|
|
|
13,
|
2022-07-02 12:41:40 +02:00
|
|
|
14,
|
|
|
|
15,
|
2022-04-22 17:07:59 +02:00
|
|
|
2,
|
|
|
|
255,
|
|
|
|
3,
|
|
|
|
33,
|
|
|
|
34,
|
|
|
|
35,
|
|
|
|
4,
|
|
|
|
5,
|
|
|
|
6,
|
|
|
|
64,
|
|
|
|
7,
|
|
|
|
8,
|
|
|
|
9
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"topic": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon": {
|
|
|
|
"type": [
|
|
|
|
"null",
|
|
|
|
"string"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"bitrate": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"user_limit": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"rate_limit_per_user": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"position": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"permission_overwrites": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"$ref": "#/definitions/ChannelPermissionOverwriteType"
|
|
|
|
},
|
|
|
|
"allow": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"deny": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"allow",
|
|
|
|
"deny",
|
|
|
|
"id",
|
|
|
|
"type"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"parent_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"nsfw": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"rtc_region": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"default_auto_archive_duration": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"UserPublic": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"username": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"discriminator": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"public_flags": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"avatar": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"accent_color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"banner": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bio": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bot": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"premium_since": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"bio",
|
|
|
|
"bot",
|
|
|
|
"discriminator",
|
|
|
|
"id",
|
|
|
|
"premium_since",
|
|
|
|
"public_flags",
|
|
|
|
"username"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"PublicConnectedAccount": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"verified": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"type",
|
|
|
|
"verified"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
|
|
},
|
|
|
|
"WidgetModifySchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"enabled": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"channel_id": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"channel_id",
|
|
|
|
"enabled"
|
|
|
|
],
|
|
|
|
"definitions": {
|
|
|
|
"Embed": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"title": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
"article",
|
|
|
|
"gifv",
|
|
|
|
"image",
|
|
|
|
"link",
|
|
|
|
"rich",
|
|
|
|
"video"
|
|
|
|
],
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"timestamp": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"color": {
|
2022-07-02 10:37:20 +02:00
|
|
|
"type": "integer"
|
2022-04-22 17:07:59 +02:00
|
|
|
},
|
|
|
|
"footer": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"text": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"text"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"image": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"thumbnail": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"video": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"provider": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"author": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"fields": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"inline": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"value"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"EmbedImage": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"url": {
|
2022-07-02 10:37:20 +02:00
|
|
|
"type": "string"
|
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"proxy_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"height": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"width": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"Record<string,string>": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"ChannelPermissionOverwriteType": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
2
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"ChannelModifySchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"maxLength": 100,
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
10,
|
|
|
|
11,
|
|
|
|
12,
|
|
|
|
13,
|
2022-07-02 12:41:40 +02:00
|
|
|
14,
|
|
|
|
15,
|
2022-04-22 17:07:59 +02:00
|
|
|
2,
|
|
|
|
255,
|
|
|
|
3,
|
|
|
|
33,
|
|
|
|
34,
|
|
|
|
35,
|
|
|
|
4,
|
|
|
|
5,
|
|
|
|
6,
|
|
|
|
64,
|
|
|
|
7,
|
|
|
|
8,
|
|
|
|
9
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"topic": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon": {
|
|
|
|
"type": [
|
|
|
|
"null",
|
|
|
|
"string"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"bitrate": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"user_limit": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"rate_limit_per_user": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"position": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"permission_overwrites": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"$ref": "#/definitions/ChannelPermissionOverwriteType"
|
|
|
|
},
|
|
|
|
"allow": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"deny": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"allow",
|
|
|
|
"deny",
|
|
|
|
"id",
|
|
|
|
"type"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"parent_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"nsfw": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"rtc_region": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"default_auto_archive_duration": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"UserPublic": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"username": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"discriminator": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"public_flags": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"avatar": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"accent_color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"banner": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bio": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bot": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"premium_since": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"bio",
|
|
|
|
"bot",
|
|
|
|
"discriminator",
|
|
|
|
"id",
|
|
|
|
"premium_since",
|
|
|
|
"public_flags",
|
|
|
|
"username"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"PublicConnectedAccount": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"verified": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"type",
|
|
|
|
"verified"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
|
|
},
|
|
|
|
"GuildTemplateCreateSchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"avatar": {
|
|
|
|
"type": [
|
|
|
|
"null",
|
|
|
|
"string"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name"
|
|
|
|
],
|
|
|
|
"definitions": {
|
|
|
|
"Embed": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"title": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
"article",
|
|
|
|
"gifv",
|
|
|
|
"image",
|
|
|
|
"link",
|
|
|
|
"rich",
|
|
|
|
"video"
|
|
|
|
],
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"timestamp": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"color": {
|
2022-07-02 10:37:20 +02:00
|
|
|
"type": "integer"
|
2022-04-22 17:07:59 +02:00
|
|
|
},
|
|
|
|
"footer": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"text": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"text"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"image": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"thumbnail": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"video": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"provider": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"author": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"fields": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"inline": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"value"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"EmbedImage": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"height": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"width": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
2022-07-02 10:37:20 +02:00
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"Record<string,string>": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false
|
2022-07-02 10:37:20 +02:00
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"ChannelPermissionOverwriteType": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
2
|
|
|
|
],
|
|
|
|
"type": "number"
|
2022-04-22 17:07:59 +02:00
|
|
|
},
|
|
|
|
"ChannelModifySchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"maxLength": 100,
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
10,
|
|
|
|
11,
|
|
|
|
12,
|
|
|
|
13,
|
2022-07-02 12:41:40 +02:00
|
|
|
14,
|
|
|
|
15,
|
2022-04-22 17:07:59 +02:00
|
|
|
2,
|
|
|
|
255,
|
|
|
|
3,
|
|
|
|
33,
|
|
|
|
34,
|
|
|
|
35,
|
|
|
|
4,
|
|
|
|
5,
|
|
|
|
6,
|
|
|
|
64,
|
|
|
|
7,
|
|
|
|
8,
|
|
|
|
9
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"topic": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon": {
|
|
|
|
"type": [
|
|
|
|
"null",
|
|
|
|
"string"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"bitrate": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"user_limit": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"rate_limit_per_user": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"position": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"permission_overwrites": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"$ref": "#/definitions/ChannelPermissionOverwriteType"
|
|
|
|
},
|
|
|
|
"allow": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"deny": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"allow",
|
|
|
|
"deny",
|
|
|
|
"id",
|
|
|
|
"type"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"parent_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"nsfw": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"rtc_region": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"default_auto_archive_duration": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"UserPublic": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"username": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"discriminator": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"public_flags": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"avatar": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"accent_color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"banner": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bio": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bot": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"premium_since": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"bio",
|
|
|
|
"bot",
|
|
|
|
"discriminator",
|
|
|
|
"id",
|
|
|
|
"premium_since",
|
|
|
|
"public_flags",
|
|
|
|
"username"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"PublicConnectedAccount": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"verified": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"type",
|
|
|
|
"verified"
|
|
|
|
]
|
2022-07-02 10:37:20 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"UserProfileResponse": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"user": {
|
|
|
|
"$ref": "#/definitions/UserPublic"
|
|
|
|
},
|
|
|
|
"connected_accounts": {
|
|
|
|
"$ref": "#/definitions/PublicConnectedAccount"
|
|
|
|
},
|
|
|
|
"premium_guild_since": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"premium_since": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
}
|
2022-07-02 10:37:20 +02:00
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"connected_accounts",
|
|
|
|
"user"
|
|
|
|
],
|
2022-07-02 10:37:20 +02:00
|
|
|
"definitions": {
|
2022-04-22 17:07:59 +02:00
|
|
|
"Embed": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"title": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
"article",
|
|
|
|
"gifv",
|
|
|
|
"image",
|
|
|
|
"link",
|
|
|
|
"rich",
|
|
|
|
"video"
|
|
|
|
],
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"timestamp": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"footer": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"text": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"text"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"image": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"thumbnail": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"video": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"provider": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"author": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"fields": {
|
2022-07-02 10:37:20 +02:00
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2022-04-22 17:07:59 +02:00
|
|
|
"name": {
|
2022-07-02 10:37:20 +02:00
|
|
|
"type": "string"
|
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"value": {
|
2022-07-02 10:37:20 +02:00
|
|
|
"type": "string"
|
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"inline": {
|
|
|
|
"type": "boolean"
|
2022-07-02 10:37:20 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
2022-04-22 17:07:59 +02:00
|
|
|
"name",
|
|
|
|
"value"
|
2022-07-02 10:37:20 +02:00
|
|
|
]
|
|
|
|
}
|
2022-04-22 17:07:59 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"EmbedImage": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"height": {
|
|
|
|
"type": "integer"
|
2022-07-02 10:37:20 +02:00
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"width": {
|
2022-07-02 10:37:20 +02:00
|
|
|
"type": "integer"
|
2022-04-22 17:07:59 +02:00
|
|
|
}
|
|
|
|
},
|
2022-07-02 10:37:20 +02:00
|
|
|
"additionalProperties": false
|
2022-04-22 17:07:59 +02:00
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"Record<string,string>": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"ChannelPermissionOverwriteType": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
2
|
|
|
|
],
|
|
|
|
"type": "number"
|
2022-04-22 17:07:59 +02:00
|
|
|
},
|
2022-07-02 10:37:20 +02:00
|
|
|
"ChannelModifySchema": {
|
2022-04-22 17:07:59 +02:00
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2022-07-02 10:37:20 +02:00
|
|
|
"name": {
|
|
|
|
"maxLength": 100,
|
2022-04-22 17:07:59 +02:00
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
10,
|
|
|
|
11,
|
|
|
|
12,
|
|
|
|
13,
|
2022-07-02 12:41:40 +02:00
|
|
|
14,
|
|
|
|
15,
|
2022-04-22 17:07:59 +02:00
|
|
|
2,
|
|
|
|
255,
|
|
|
|
3,
|
|
|
|
33,
|
|
|
|
34,
|
|
|
|
35,
|
|
|
|
4,
|
|
|
|
5,
|
|
|
|
6,
|
|
|
|
64,
|
|
|
|
7,
|
|
|
|
8,
|
|
|
|
9
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
2022-07-02 10:37:20 +02:00
|
|
|
"topic": {
|
2022-04-22 17:07:59 +02:00
|
|
|
"type": "string"
|
|
|
|
},
|
2022-07-02 10:37:20 +02:00
|
|
|
"icon": {
|
|
|
|
"type": [
|
|
|
|
"null",
|
|
|
|
"string"
|
2022-04-22 17:07:59 +02:00
|
|
|
]
|
|
|
|
},
|
2022-07-02 10:37:20 +02:00
|
|
|
"bitrate": {
|
|
|
|
"type": "integer"
|
2022-04-22 17:07:59 +02:00
|
|
|
},
|
2022-07-02 10:37:20 +02:00
|
|
|
"user_limit": {
|
|
|
|
"type": "integer"
|
2022-04-22 17:07:59 +02:00
|
|
|
},
|
2022-07-02 10:37:20 +02:00
|
|
|
"rate_limit_per_user": {
|
|
|
|
"type": "integer"
|
2022-04-22 17:07:59 +02:00
|
|
|
},
|
2022-07-02 10:37:20 +02:00
|
|
|
"position": {
|
|
|
|
"type": "integer"
|
2022-04-22 17:07:59 +02:00
|
|
|
},
|
2022-07-02 10:37:20 +02:00
|
|
|
"permission_overwrites": {
|
2022-04-22 17:07:59 +02:00
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2022-07-02 10:37:20 +02:00
|
|
|
"id": {
|
2022-04-22 17:07:59 +02:00
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"$ref": "#/definitions/ChannelPermissionOverwriteType"
|
|
|
|
},
|
2022-07-02 10:37:20 +02:00
|
|
|
"allow": {
|
2022-04-22 17:07:59 +02:00
|
|
|
"type": "string"
|
|
|
|
},
|
2022-07-02 10:37:20 +02:00
|
|
|
"deny": {
|
|
|
|
"type": "string"
|
2022-04-22 17:07:59 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
2022-07-02 10:37:20 +02:00
|
|
|
"allow",
|
|
|
|
"deny",
|
|
|
|
"id",
|
|
|
|
"type"
|
2022-04-22 17:07:59 +02:00
|
|
|
]
|
|
|
|
}
|
2022-07-02 10:37:20 +02:00
|
|
|
},
|
|
|
|
"parent_id": {
|
2022-04-22 17:07:59 +02:00
|
|
|
"type": "string"
|
|
|
|
},
|
2022-07-02 10:37:20 +02:00
|
|
|
"id": {
|
2022-04-22 17:07:59 +02:00
|
|
|
"type": "string"
|
|
|
|
},
|
2022-07-02 10:37:20 +02:00
|
|
|
"nsfw": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"rtc_region": {
|
|
|
|
"type": "string"
|
2022-04-22 17:07:59 +02:00
|
|
|
},
|
2022-07-02 10:37:20 +02:00
|
|
|
"default_auto_archive_duration": {
|
2022-04-22 17:07:59 +02:00
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"UserPublic": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"username": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"discriminator": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"public_flags": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"avatar": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"accent_color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"banner": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bio": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bot": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"premium_since": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"bio",
|
|
|
|
"bot",
|
|
|
|
"discriminator",
|
|
|
|
"id",
|
|
|
|
"premium_since",
|
|
|
|
"public_flags",
|
|
|
|
"username"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"PublicConnectedAccount": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"verified": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"type",
|
|
|
|
"verified"
|
|
|
|
]
|
2022-07-02 10:37:20 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"UserRelationsResponse": {
|
2022-07-02 10:37:20 +02:00
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2022-04-22 17:07:59 +02:00
|
|
|
"object": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"username": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"avatar": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"discriminator": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"public_flags": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
2022-07-02 10:37:20 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
2022-04-22 17:07:59 +02:00
|
|
|
"object"
|
2022-07-02 10:37:20 +02:00
|
|
|
],
|
|
|
|
"definitions": {
|
2022-04-22 17:07:59 +02:00
|
|
|
"Embed": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"title": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
"article",
|
|
|
|
"gifv",
|
|
|
|
"image",
|
|
|
|
"link",
|
|
|
|
"rich",
|
|
|
|
"video"
|
|
|
|
],
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"timestamp": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"footer": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"text": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"text"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"image": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"thumbnail": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"video": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"provider": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"author": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"fields": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"inline": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"value"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"EmbedImage": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"height": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"width": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
2022-07-02 10:37:20 +02:00
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"Record<string,string>": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"ChannelPermissionOverwriteType": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
2
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
2022-07-02 10:37:20 +02:00
|
|
|
"ChannelModifySchema": {
|
2022-04-22 17:07:59 +02:00
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2022-07-02 10:37:20 +02:00
|
|
|
"name": {
|
|
|
|
"maxLength": 100,
|
2022-04-22 17:07:59 +02:00
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
10,
|
|
|
|
11,
|
|
|
|
12,
|
|
|
|
13,
|
2022-07-02 12:41:40 +02:00
|
|
|
14,
|
|
|
|
15,
|
2022-04-22 17:07:59 +02:00
|
|
|
2,
|
|
|
|
255,
|
|
|
|
3,
|
|
|
|
33,
|
|
|
|
34,
|
|
|
|
35,
|
|
|
|
4,
|
|
|
|
5,
|
|
|
|
6,
|
|
|
|
64,
|
|
|
|
7,
|
|
|
|
8,
|
|
|
|
9
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
2022-07-02 10:37:20 +02:00
|
|
|
"topic": {
|
2022-04-22 17:07:59 +02:00
|
|
|
"type": "string"
|
|
|
|
},
|
2022-07-02 10:37:20 +02:00
|
|
|
"icon": {
|
|
|
|
"type": [
|
|
|
|
"null",
|
|
|
|
"string"
|
2022-04-22 17:07:59 +02:00
|
|
|
]
|
|
|
|
},
|
2022-07-02 10:37:20 +02:00
|
|
|
"bitrate": {
|
|
|
|
"type": "integer"
|
2022-04-22 17:07:59 +02:00
|
|
|
},
|
2022-07-02 10:37:20 +02:00
|
|
|
"user_limit": {
|
|
|
|
"type": "integer"
|
2022-04-22 17:07:59 +02:00
|
|
|
},
|
2022-07-02 10:37:20 +02:00
|
|
|
"rate_limit_per_user": {
|
|
|
|
"type": "integer"
|
2022-04-22 17:07:59 +02:00
|
|
|
},
|
2022-07-02 10:37:20 +02:00
|
|
|
"position": {
|
|
|
|
"type": "integer"
|
2022-04-22 17:07:59 +02:00
|
|
|
},
|
2022-07-02 10:37:20 +02:00
|
|
|
"permission_overwrites": {
|
2022-04-22 17:07:59 +02:00
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2022-07-02 10:37:20 +02:00
|
|
|
"id": {
|
2022-04-22 17:07:59 +02:00
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"$ref": "#/definitions/ChannelPermissionOverwriteType"
|
|
|
|
},
|
2022-07-02 10:37:20 +02:00
|
|
|
"allow": {
|
2022-04-22 17:07:59 +02:00
|
|
|
"type": "string"
|
|
|
|
},
|
2022-07-02 10:37:20 +02:00
|
|
|
"deny": {
|
|
|
|
"type": "string"
|
2022-04-22 17:07:59 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
2022-07-02 10:37:20 +02:00
|
|
|
"allow",
|
|
|
|
"deny",
|
|
|
|
"id",
|
|
|
|
"type"
|
2022-04-22 17:07:59 +02:00
|
|
|
]
|
|
|
|
}
|
2022-07-02 10:37:20 +02:00
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"parent_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"nsfw": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"rtc_region": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"default_auto_archive_duration": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"UserPublic": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"username": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"discriminator": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"public_flags": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"avatar": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"accent_color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"banner": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bio": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bot": {
|
2022-07-02 10:37:20 +02:00
|
|
|
"type": "boolean"
|
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"premium_since": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"bio",
|
|
|
|
"bot",
|
|
|
|
"discriminator",
|
|
|
|
"id",
|
|
|
|
"premium_since",
|
|
|
|
"public_flags",
|
|
|
|
"username"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"PublicConnectedAccount": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
2022-07-02 10:37:20 +02:00
|
|
|
"type": "string"
|
2022-04-22 17:07:59 +02:00
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"verified": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"type",
|
|
|
|
"verified"
|
|
|
|
]
|
2022-07-02 10:37:20 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"DmChannelCreateSchema": {
|
2022-07-02 10:37:20 +02:00
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2022-04-22 17:07:59 +02:00
|
|
|
"name": {
|
2022-07-02 10:37:20 +02:00
|
|
|
"type": "string"
|
2022-04-22 17:07:59 +02:00
|
|
|
},
|
|
|
|
"recipients": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
2022-07-02 10:37:20 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
2022-04-22 17:07:59 +02:00
|
|
|
"required": [
|
|
|
|
"recipients"
|
|
|
|
],
|
2022-07-02 10:37:20 +02:00
|
|
|
"definitions": {
|
2022-04-22 17:07:59 +02:00
|
|
|
"Embed": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"title": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
"article",
|
|
|
|
"gifv",
|
|
|
|
"image",
|
|
|
|
"link",
|
|
|
|
"rich",
|
|
|
|
"video"
|
|
|
|
],
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"timestamp": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"footer": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"text": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"text"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"image": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"thumbnail": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"video": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"provider": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"author": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"fields": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"inline": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"value"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"EmbedImage": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"height": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"width": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
2022-07-02 10:37:20 +02:00
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"Record<string,string>": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false
|
2022-07-02 10:37:20 +02:00
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"ChannelPermissionOverwriteType": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
2
|
|
|
|
],
|
|
|
|
"type": "number"
|
2022-07-02 10:37:20 +02:00
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"ChannelModifySchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"maxLength": 100,
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
10,
|
|
|
|
11,
|
|
|
|
12,
|
|
|
|
13,
|
2022-07-02 12:41:40 +02:00
|
|
|
14,
|
|
|
|
15,
|
2022-04-22 17:07:59 +02:00
|
|
|
2,
|
|
|
|
255,
|
|
|
|
3,
|
|
|
|
33,
|
|
|
|
34,
|
|
|
|
35,
|
|
|
|
4,
|
|
|
|
5,
|
|
|
|
6,
|
|
|
|
64,
|
|
|
|
7,
|
|
|
|
8,
|
|
|
|
9
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"topic": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon": {
|
|
|
|
"type": [
|
|
|
|
"null",
|
|
|
|
"string"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"bitrate": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"user_limit": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"rate_limit_per_user": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"position": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"permission_overwrites": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"$ref": "#/definitions/ChannelPermissionOverwriteType"
|
|
|
|
},
|
|
|
|
"allow": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"deny": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"allow",
|
|
|
|
"deny",
|
|
|
|
"id",
|
|
|
|
"type"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"parent_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"nsfw": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"rtc_region": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"default_auto_archive_duration": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"UserPublic": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"username": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"discriminator": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"public_flags": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"avatar": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"accent_color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"banner": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bio": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bot": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"premium_since": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"bio",
|
|
|
|
"bot",
|
|
|
|
"discriminator",
|
|
|
|
"id",
|
|
|
|
"premium_since",
|
|
|
|
"public_flags",
|
|
|
|
"username"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"PublicConnectedAccount": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"verified": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"type",
|
|
|
|
"verified"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
|
|
},
|
|
|
|
"UserModifySchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"username": {
|
|
|
|
"minLength": 1,
|
|
|
|
"maxLength": 100,
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"avatar": {
|
|
|
|
"type": [
|
|
|
|
"null",
|
|
|
|
"string"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"bio": {
|
|
|
|
"maxLength": 1024,
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"accent_color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"banner": {
|
|
|
|
"type": [
|
|
|
|
"null",
|
|
|
|
"string"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"password": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"new_password": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"code": {
|
|
|
|
"type": "string"
|
2022-07-02 12:43:18 +02:00
|
|
|
},
|
|
|
|
"email": {
|
2022-04-22 17:07:59 +02:00
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
2022-07-02 10:37:20 +02:00
|
|
|
"additionalProperties": false,
|
2022-04-22 17:07:59 +02:00
|
|
|
"definitions": {
|
|
|
|
"Embed": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"title": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
"article",
|
|
|
|
"gifv",
|
|
|
|
"image",
|
|
|
|
"link",
|
|
|
|
"rich",
|
|
|
|
"video"
|
|
|
|
],
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"timestamp": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"color": {
|
2022-07-02 10:37:20 +02:00
|
|
|
"type": "integer"
|
2022-04-22 17:07:59 +02:00
|
|
|
},
|
|
|
|
"footer": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"text": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"text"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"image": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"thumbnail": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"video": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"provider": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"author": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"fields": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"inline": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"value"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"EmbedImage": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"height": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"width": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"Record<string,string>": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"ChannelPermissionOverwriteType": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
2
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"ChannelModifySchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"maxLength": 100,
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
10,
|
|
|
|
11,
|
|
|
|
12,
|
|
|
|
13,
|
2022-07-02 12:41:40 +02:00
|
|
|
14,
|
|
|
|
15,
|
2022-04-22 17:07:59 +02:00
|
|
|
2,
|
|
|
|
255,
|
|
|
|
3,
|
|
|
|
33,
|
|
|
|
34,
|
|
|
|
35,
|
|
|
|
4,
|
|
|
|
5,
|
|
|
|
6,
|
|
|
|
64,
|
|
|
|
7,
|
|
|
|
8,
|
|
|
|
9
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"topic": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon": {
|
|
|
|
"type": [
|
|
|
|
"null",
|
|
|
|
"string"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"bitrate": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"user_limit": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"rate_limit_per_user": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"position": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"permission_overwrites": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"$ref": "#/definitions/ChannelPermissionOverwriteType"
|
|
|
|
},
|
|
|
|
"allow": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"deny": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"allow",
|
|
|
|
"deny",
|
|
|
|
"id",
|
|
|
|
"type"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"parent_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"nsfw": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"rtc_region": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"default_auto_archive_duration": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"UserPublic": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"username": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"discriminator": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"public_flags": {
|
2022-07-02 10:37:20 +02:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"avatar": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"accent_color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"banner": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bio": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bot": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"premium_since": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"bio",
|
|
|
|
"bot",
|
|
|
|
"discriminator",
|
|
|
|
"id",
|
|
|
|
"premium_since",
|
|
|
|
"public_flags",
|
|
|
|
"username"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"PublicConnectedAccount": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"verified": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"type",
|
|
|
|
"verified"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
|
|
},
|
|
|
|
"RelationshipPutSchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
1,
|
|
|
|
2,
|
|
|
|
3,
|
|
|
|
4
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"definitions": {
|
|
|
|
"Embed": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"title": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
"article",
|
|
|
|
"gifv",
|
|
|
|
"image",
|
|
|
|
"link",
|
|
|
|
"rich",
|
|
|
|
"video"
|
|
|
|
],
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"timestamp": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"color": {
|
2022-07-02 10:37:20 +02:00
|
|
|
"type": "integer"
|
2022-04-22 17:07:59 +02:00
|
|
|
},
|
|
|
|
"footer": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"text": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"text"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"image": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"thumbnail": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"video": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"provider": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"author": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"fields": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"inline": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"value"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"EmbedImage": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_url": {
|
2022-07-02 10:37:20 +02:00
|
|
|
"type": "string"
|
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"height": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"width": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"Record<string,string>": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"ChannelPermissionOverwriteType": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
2
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"ChannelModifySchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"maxLength": 100,
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
10,
|
|
|
|
11,
|
|
|
|
12,
|
|
|
|
13,
|
2022-07-02 12:41:40 +02:00
|
|
|
14,
|
|
|
|
15,
|
2022-04-22 17:07:59 +02:00
|
|
|
2,
|
|
|
|
255,
|
|
|
|
3,
|
|
|
|
33,
|
|
|
|
34,
|
|
|
|
35,
|
|
|
|
4,
|
|
|
|
5,
|
|
|
|
6,
|
|
|
|
64,
|
|
|
|
7,
|
|
|
|
8,
|
|
|
|
9
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"topic": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon": {
|
|
|
|
"type": [
|
|
|
|
"null",
|
|
|
|
"string"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"bitrate": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"user_limit": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"rate_limit_per_user": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"position": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"permission_overwrites": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"$ref": "#/definitions/ChannelPermissionOverwriteType"
|
|
|
|
},
|
|
|
|
"allow": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"deny": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"allow",
|
|
|
|
"deny",
|
|
|
|
"id",
|
|
|
|
"type"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"parent_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"nsfw": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"rtc_region": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"default_auto_archive_duration": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"UserPublic": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"username": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"discriminator": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"public_flags": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"avatar": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"accent_color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"banner": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bio": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bot": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"premium_since": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"bio",
|
|
|
|
"bot",
|
|
|
|
"discriminator",
|
|
|
|
"id",
|
|
|
|
"premium_since",
|
|
|
|
"public_flags",
|
|
|
|
"username"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"PublicConnectedAccount": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"verified": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"type",
|
|
|
|
"verified"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
|
|
},
|
|
|
|
"RelationshipPostSchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"discriminator": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"username": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"discriminator",
|
|
|
|
"username"
|
|
|
|
],
|
|
|
|
"definitions": {
|
|
|
|
"Embed": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"title": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
"article",
|
|
|
|
"gifv",
|
|
|
|
"image",
|
|
|
|
"link",
|
|
|
|
"rich",
|
|
|
|
"video"
|
|
|
|
],
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"timestamp": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"footer": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"text": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"text"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"image": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"thumbnail": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"video": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"provider": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"author": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"fields": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"inline": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"value"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"EmbedImage": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"height": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"width": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"Record<string,string>": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"ChannelPermissionOverwriteType": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
2
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"ChannelModifySchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"maxLength": 100,
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
10,
|
|
|
|
11,
|
|
|
|
12,
|
|
|
|
13,
|
2022-07-02 12:41:40 +02:00
|
|
|
14,
|
|
|
|
15,
|
2022-04-22 17:07:59 +02:00
|
|
|
2,
|
|
|
|
255,
|
|
|
|
3,
|
|
|
|
33,
|
|
|
|
34,
|
|
|
|
35,
|
|
|
|
4,
|
|
|
|
5,
|
|
|
|
6,
|
|
|
|
64,
|
|
|
|
7,
|
|
|
|
8,
|
|
|
|
9
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"topic": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon": {
|
|
|
|
"type": [
|
|
|
|
"null",
|
|
|
|
"string"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"bitrate": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"user_limit": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"rate_limit_per_user": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"position": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"permission_overwrites": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"$ref": "#/definitions/ChannelPermissionOverwriteType"
|
|
|
|
},
|
|
|
|
"allow": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"deny": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"allow",
|
|
|
|
"deny",
|
|
|
|
"id",
|
|
|
|
"type"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"parent_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"nsfw": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"rtc_region": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"default_auto_archive_duration": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"UserPublic": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"username": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"discriminator": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"public_flags": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"avatar": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"accent_color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"banner": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bio": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bot": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"premium_since": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"bio",
|
|
|
|
"bot",
|
|
|
|
"discriminator",
|
|
|
|
"id",
|
|
|
|
"premium_since",
|
|
|
|
"public_flags",
|
|
|
|
"username"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"PublicConnectedAccount": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"verified": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"type",
|
|
|
|
"verified"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
|
|
},
|
|
|
|
"UserSettingsSchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"afk_timeout": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"allow_accessibility_detection": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"animate_emoji": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"animate_stickers": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"contact_sync_enabled": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"convert_emoticons": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"custom_status": {
|
|
|
|
"anyOf": [
|
|
|
|
{
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"emoji_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"emoji_name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"expires_at": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"text": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "null"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"default_guilds_restricted": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"detect_platform_accounts": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"developer_mode": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"disable_games_tab": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"enable_tts_command": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"explicit_content_filter": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"friend_source_flags": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"all": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"all"
|
2022-07-02 10:37:20 +02:00
|
|
|
]
|
2022-04-22 17:07:59 +02:00
|
|
|
},
|
|
|
|
"gateway_connected": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"gif_auto_play": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"guild_folders": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"guild_ids": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"color",
|
|
|
|
"guild_ids",
|
|
|
|
"id",
|
|
|
|
"name"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"guild_positions": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"inline_attachment_media": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"inline_embed_media": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"locale": {
|
2022-07-02 10:37:20 +02:00
|
|
|
"type": "string"
|
2022-04-22 17:07:59 +02:00
|
|
|
},
|
|
|
|
"message_display_compact": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"native_phone_integration_enabled": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"render_embeds": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"render_reactions": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"restricted_guilds": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"show_current_game": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"status": {
|
|
|
|
"enum": [
|
|
|
|
"dnd",
|
|
|
|
"idle",
|
|
|
|
"invisible",
|
|
|
|
"offline",
|
|
|
|
"online"
|
|
|
|
],
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"stream_notifications_enabled": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"theme": {
|
|
|
|
"enum": [
|
|
|
|
"dark",
|
|
|
|
"white"
|
|
|
|
],
|
2022-07-02 10:37:20 +02:00
|
|
|
"type": "string"
|
2022-04-22 17:07:59 +02:00
|
|
|
},
|
|
|
|
"timezone_offset": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"definitions": {
|
|
|
|
"Embed": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"title": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
"article",
|
|
|
|
"gifv",
|
|
|
|
"image",
|
|
|
|
"link",
|
|
|
|
"rich",
|
|
|
|
"video"
|
|
|
|
],
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"timestamp": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"color": {
|
2022-07-02 10:37:20 +02:00
|
|
|
"type": "integer"
|
2022-04-22 17:07:59 +02:00
|
|
|
},
|
|
|
|
"footer": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"text": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"text"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"image": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"thumbnail": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"video": {
|
|
|
|
"$ref": "#/definitions/EmbedImage"
|
|
|
|
},
|
|
|
|
"provider": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"author": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_icon_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"fields": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"inline": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"value"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"EmbedImage": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"proxy_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"height": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"width": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
2022-07-02 12:41:40 +02:00
|
|
|
"Record<string,string>": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"ChannelPermissionOverwriteType": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
2
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"ChannelModifySchema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"maxLength": 100,
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
10,
|
|
|
|
11,
|
|
|
|
12,
|
|
|
|
13,
|
2022-07-02 12:41:40 +02:00
|
|
|
14,
|
|
|
|
15,
|
2022-04-22 17:07:59 +02:00
|
|
|
2,
|
|
|
|
255,
|
|
|
|
3,
|
|
|
|
33,
|
|
|
|
34,
|
|
|
|
35,
|
|
|
|
4,
|
|
|
|
5,
|
|
|
|
6,
|
|
|
|
64,
|
|
|
|
7,
|
|
|
|
8,
|
|
|
|
9
|
|
|
|
],
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"topic": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"icon": {
|
|
|
|
"type": [
|
|
|
|
"null",
|
|
|
|
"string"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"bitrate": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"user_limit": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"rate_limit_per_user": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"position": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"permission_overwrites": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"$ref": "#/definitions/ChannelPermissionOverwriteType"
|
|
|
|
},
|
|
|
|
"allow": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"deny": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"allow",
|
|
|
|
"deny",
|
|
|
|
"id",
|
|
|
|
"type"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"parent_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"nsfw": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"rtc_region": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"default_auto_archive_duration": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"UserPublic": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"username": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"discriminator": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"public_flags": {
|
2022-07-02 10:37:20 +02:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2022-04-22 17:07:59 +02:00
|
|
|
"avatar": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"accent_color": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"banner": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bio": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bot": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"premium_since": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"bio",
|
|
|
|
"bot",
|
|
|
|
"discriminator",
|
|
|
|
"id",
|
|
|
|
"premium_since",
|
|
|
|
"public_flags",
|
|
|
|
"username"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"PublicConnectedAccount": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"verified": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"type",
|
|
|
|
"verified"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
|
|
}
|
2022-07-02 10:37:20 +02:00
|
|
|
}
|