summary refs log tree commit diff
path: root/api/assets
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-03 03:38:40 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-03 03:38:40 +0200
commit57bf4b0a2ffa8418030603c7fa8933f3d4bdf4fc (patch)
treeff5f11f21065b8260548e813d8a64d1be9e1ab11 /api/assets
parent:art: update entities (diff)
downloadserver-57bf4b0a2ffa8418030603c7fa8933f3d4bdf4fc.tar.xz
:arrow_up: update dependencies
Diffstat (limited to 'api/assets')
-rw-r--r--api/assets/openapi.json881
1 files changed, 367 insertions, 514 deletions
diff --git a/api/assets/openapi.json b/api/assets/openapi.json
index a49e4165..5244da36 100644
--- a/api/assets/openapi.json
+++ b/api/assets/openapi.json
@@ -25,46 +25,26 @@
 				"operationId": "",
 				"responses": {
 					"200": {
-						"description": "user found",
+						"description": "User found",
 						"content": { "application/json": { "schema": { "$ref": "#/components/schemas/UserPublic" } } }
 					},
-					"401": {
-						"description": "Unauthorized",
+					"404": {
+						"description": "User not found",
 						"content": { "application/json": { "schema": { "$ref": "#/components/schemas/Error" } } }
-					},
-					"429": {
-						"description": "Rate limit exceeded",
-						"content": { "application/json": { "schema": { "$ref": "#/components/schemas/Error" } } },
-						"headers": {
-							"X-RateLimit-Bucket": {
-								"description": "A unique string denoting the rate limit being encountered (non-inclusive of major parameters in the route path)",
-								"schema": { "type": "string" }
-							},
-							"X-Rate-Limit-Limit": {
-								"description": "The number of allowed requests in the current period",
-								"schema": { "type": "integer" }
-							},
-							"X-Rate-Limit-Remaining": {
-								"description": "The number of remaining requests in the current period",
-								"schema": { "type": "integer" }
-							},
-							"X-Rate-Limit-Reset": {
-								"description": "Date when current period is over in seconds since the Unix epoch",
-								"schema": { "type": "integer" }
-							},
-							"X-Rate-Limit-Reset-After": {
-								"description": "Number of seconds when current period will reset (can have decimal)",
-								"schema": { "type": "number" }
-							},
-							"Retry-After": {
-								"description": "Same as X-Rate-Limit-Reset-After but an integer",
-								"schema": { "type": "integer" }
-							},
-							"X-RateLimit-Global": {
-								"description": "Indicates whether or not all requests from your ip are rate limited",
-								"schema": { "type": "boolean" }
-							}
-						}
+					}
+				}
+			}
+		},
+		"/users/@me": {
+			"get": {
+				"summary": "",
+				"description": "",
+				"parameters": [],
+				"operationId": "",
+				"responses": {
+					"200": {
+						"description": "Authenticated user",
+						"content": { "application/json": { "schema": { "$ref": "#/components/schemas/UserPublic" } } }
 					}
 				}
 			}
@@ -542,6 +522,7 @@
 			"Member": {
 				"type": "object",
 				"properties": {
+					"user_id": { "type": "string" },
 					"user": { "$ref": "#/components/schemas/User" },
 					"guild_id": { "type": "string" },
 					"guild": { "$ref": "#/components/schemas/Guild" },
@@ -555,7 +536,7 @@
 					"settings": { "$ref": "#/components/schemas/UserGuildSettings" },
 					"id": { "type": "string" }
 				},
-				"required": ["deaf", "guild", "guild_id", "id", "joined_at", "mute", "pending", "roles", "settings", "user"]
+				"required": ["deaf", "guild", "guild_id", "id", "joined_at", "mute", "pending", "roles", "settings", "user", "user_id"]
 			},
 			"Role": {
 				"type": "object",
@@ -1078,545 +1059,417 @@
 					"bot": { "type": "boolean" }
 				},
 				"required": ["bio", "bot", "discriminator", "id", "public_flags", "username"]
-			}
-		},
-		"requestBodies": {
-			"BanCreateSchema": {
-				"content": {
-					"application/json": {
-						"schema": {
-							"type": "object",
-							"properties": { "delete_message_days": { "type": "string" }, "reason": { "type": "string" } }
-						}
-					}
+			},
+			"UserPrivate": {
+				"type": "object",
+				"properties": {
+					"locale": { "type": "string" },
+					"disabled": { "type": "boolean" },
+					"username": { "type": "string" },
+					"discriminator": { "type": "string" },
+					"id": { "type": "string" },
+					"public_flags": { "type": "string" },
+					"avatar": { "type": "string" },
+					"accent_color": { "type": "integer" },
+					"banner": { "type": "string" },
+					"bio": { "type": "string" },
+					"bot": { "type": "boolean" },
+					"flags": { "type": "string" },
+					"mfa_enabled": { "type": "boolean" },
+					"email": { "type": "string" },
+					"phone": { "type": "string" },
+					"verified": { "type": "boolean" },
+					"nsfw_allowed": { "type": "boolean" },
+					"premium": { "type": "boolean" },
+					"premium_type": { "type": "integer" }
 				},
-				"description": ""
+				"required": [
+					"bio",
+					"bot",
+					"disabled",
+					"discriminator",
+					"flags",
+					"id",
+					"locale",
+					"mfa_enabled",
+					"nsfw_allowed",
+					"premium",
+					"premium_type",
+					"public_flags",
+					"username",
+					"verified"
+				]
+			},
+			"BanCreateSchema": {
+				"type": "object",
+				"properties": { "delete_message_days": { "type": "string" }, "reason": { "type": "string" } }
 			},
 			"DmChannelCreateSchema": {
-				"content": {
-					"application/json": {
-						"schema": {
-							"type": "object",
-							"properties": {
-								"name": { "type": "string" },
-								"recipients": { "type": "array", "items": { "type": "string" } }
-							},
-							"required": ["recipients"]
-						}
-					}
-				},
-				"description": ""
+				"type": "object",
+				"properties": { "name": { "type": "string" }, "recipients": { "type": "array", "items": { "type": "string" } } },
+				"required": ["recipients"]
 			},
 			"ChannelModifySchema": {
-				"content": {
-					"application/json": {
-						"schema": {
+				"type": "object",
+				"properties": {
+					"name": { "type": "string" },
+					"type": { "type": "integer" },
+					"topic": { "type": "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": {
-								"name": { "type": "string" },
-								"type": { "type": "integer" },
-								"topic": { "type": "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": { "type": "integer" },
-											"allow": { "type": "number" },
-											"deny": { "type": "number" }
-										},
-										"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" }
+								"type": { "type": "integer" },
+								"allow": { "type": "number" },
+								"deny": { "type": "number" }
 							},
-							"required": ["name", "type"]
+							"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" }
 				},
-				"description": ""
+				"required": ["name", "type"]
 			},
 			"ChannelGuildPositionUpdateSchema": {
-				"content": {
-					"application/json": {
-						"schema": {
-							"type": "array",
-							"items": {
-								"type": "object",
-								"properties": { "id": { "type": "string" }, "position": { "type": "integer" } },
-								"additionalProperties": false,
-								"required": ["id"]
-							}
-						}
-					}
-				},
-				"description": ""
+				"type": "array",
+				"items": {
+					"type": "object",
+					"properties": { "id": { "type": "string" }, "position": { "type": "integer" } },
+					"additionalProperties": false,
+					"required": ["id"]
+				}
 			},
 			"EmojiCreateSchema": {
-				"content": {
-					"application/json": {
-						"schema": {
-							"type": "object",
-							"properties": {
-								"name": { "type": "string" },
-								"image": { "type": "string" },
-								"roles": { "type": "array", "items": { "type": "string" } }
-							},
-							"required": ["image", "name"]
-						}
-					}
+				"type": "object",
+				"properties": {
+					"name": { "type": "string" },
+					"image": { "type": "string" },
+					"roles": { "type": "array", "items": { "type": "string" } }
 				},
-				"description": ""
+				"required": ["image", "name"]
 			},
 			"GuildCreateSchema": {
-				"content": {
-					"application/json": {
-						"schema": {
-							"type": "object",
-							"properties": {
-								"name": { "type": "string" },
-								"region": { "type": "string" },
-								"icon": { "type": "string" },
-								"channels": { "type": "array", "items": { "$ref": "#/components/requestBodies/ChannelModifySchema" } },
-								"guild_template_code": { "type": "string" },
-								"system_channel_id": { "type": "string" },
-								"rules_channel_id": { "type": "string" }
-							},
-							"required": ["name"]
-						}
-					}
+				"type": "object",
+				"properties": {
+					"name": { "type": "string" },
+					"region": { "type": "string" },
+					"icon": { "type": "string" },
+					"channels": { "type": "array", "items": { "$ref": "#/components/requestBodies/ChannelModifySchema" } },
+					"guild_template_code": { "type": "string" },
+					"system_channel_id": { "type": "string" },
+					"rules_channel_id": { "type": "string" }
 				},
-				"description": ""
+				"required": ["name"]
 			},
 			"GuildUpdateSchema": {
-				"content": {
-					"application/json": {
-						"schema": {
-							"type": "object",
-							"properties": {
-								"banner": { "type": "string" },
-								"splash": { "type": "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" },
-								"name": { "type": "string" },
-								"region": { "type": "string" },
-								"icon": { "type": "string" },
-								"guild_template_code": { "type": "string" },
-								"system_channel_id": { "type": "string" },
-								"rules_channel_id": { "type": "string" }
-							},
-							"required": ["name"]
-						}
-					}
+				"type": "object",
+				"properties": {
+					"banner": { "type": "string" },
+					"splash": { "type": "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" },
+					"name": { "type": "string" },
+					"region": { "type": "string" },
+					"icon": { "type": "string" },
+					"guild_template_code": { "type": "string" },
+					"system_channel_id": { "type": "string" },
+					"rules_channel_id": { "type": "string" }
 				},
-				"description": ""
+				"required": ["name"]
 			},
 			"GuildTemplateCreateSchema": {
-				"content": {
-					"application/json": {
-						"schema": {
-							"type": "object",
-							"properties": { "name": { "type": "string" }, "avatar": { "type": "string" } },
-							"required": ["name"]
-						}
-					}
-				},
-				"description": ""
+				"type": "object",
+				"properties": { "name": { "type": "string" }, "avatar": { "type": "string" } },
+				"required": ["name"]
 			},
 			"GuildUpdateWelcomeScreenSchema": {
-				"content": {
-					"application/json": {
-						"schema": {
+				"type": "object",
+				"properties": {
+					"welcome_channels": {
+						"type": "array",
+						"items": {
 							"type": "object",
 							"properties": {
-								"welcome_channels": {
-									"type": "array",
-									"items": {
-										"type": "object",
-										"properties": {
-											"channel_id": { "type": "string" },
-											"description": { "type": "string" },
-											"emoji_id": { "type": "string" },
-											"emoji_name": { "type": "string" }
-										},
-										"additionalProperties": false,
-										"required": ["channel_id", "description", "emoji_name"]
-									}
-								},
-								"enabled": { "type": "boolean" },
-								"description": { "type": "string" }
-							}
+								"channel_id": { "type": "string" },
+								"description": { "type": "string" },
+								"emoji_id": { "type": "string" },
+								"emoji_name": { "type": "string" }
+							},
+							"additionalProperties": false,
+							"required": ["channel_id", "description", "emoji_name"]
 						}
-					}
-				},
-				"description": ""
+					},
+					"enabled": { "type": "boolean" },
+					"description": { "type": "string" }
+				}
 			},
-			"Number": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "" },
-			"Boolean": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "" },
 			"InviteCreateSchema": {
-				"content": {
-					"application/json": {
-						"schema": {
-							"type": "object",
-							"properties": {
-								"target_user_id": { "type": "string" },
-								"target_type": { "type": "string" },
-								"validate": { "type": "string" },
-								"max_age": { "type": "integer" },
-								"max_uses": { "type": "integer" },
-								"temporary": { "type": "boolean" },
-								"unique": { "type": "boolean" },
-								"target_user": { "type": "string" },
-								"target_user_type": { "type": "integer" }
-							}
-						}
-					}
-				},
-				"description": ""
+				"type": "object",
+				"properties": {
+					"target_user_id": { "type": "string" },
+					"target_type": { "type": "string" },
+					"validate": { "type": "string" },
+					"max_age": { "type": "integer" },
+					"max_uses": { "type": "integer" },
+					"temporary": { "type": "boolean" },
+					"unique": { "type": "boolean" },
+					"target_user": { "type": "string" },
+					"target_user_type": { "type": "integer" }
+				}
 			},
 			"MemberCreateSchema": {
-				"content": {
-					"application/json": {
-						"schema": {
-							"type": "object",
-							"properties": {
-								"id": { "type": "string" },
-								"nick": { "type": "string" },
-								"guild_id": { "type": "string" },
-								"joined_at": { "type": "string", "format": "date-time" }
-							},
-							"required": ["guild_id", "id", "joined_at", "nick"]
-						}
-					}
-				},
-				"description": ""
-			},
-			"MemberNickChangeSchema": {
-				"content": {
-					"application/json": {
-						"schema": { "type": "object", "properties": { "nick": { "type": "string" } }, "required": ["nick"] }
-					}
-				},
-				"description": ""
-			},
-			"MemberChangeSchema": {
-				"content": {
-					"application/json": {
-						"schema": { "type": "object", "properties": { "roles": { "type": "array", "items": { "type": "string" } } } }
-					}
-				},
-				"description": ""
-			},
-			"EmbedType": {
-				"content": {
-					"application/json": { "schema": { "enum": ["article", "gifv", "image", "link", "rich", "video"], "type": "string" } }
-				},
-				"description": ""
-			},
-			"EmbedImage": {
-				"content": {
-					"application/json": {
-						"schema": {
-							"type": "object",
-							"properties": {
-								"url": { "type": "string" },
-								"proxy_url": { "type": "string" },
-								"height": { "type": "integer" },
-								"width": { "type": "integer" }
-							}
-						}
-					}
+				"type": "object",
+				"properties": {
+					"id": { "type": "string" },
+					"nick": { "type": "string" },
+					"guild_id": { "type": "string" },
+					"joined_at": { "type": "string", "format": "date-time" }
 				},
-				"description": ""
+				"required": ["guild_id", "id", "joined_at", "nick"]
 			},
+			"MemberNickChangeSchema": { "type": "object", "properties": { "nick": { "type": "string" } }, "required": ["nick"] },
+			"MemberChangeSchema": { "type": "object", "properties": { "roles": { "type": "array", "items": { "type": "string" } } } },
 			"MessageCreateSchema": {
-				"content": {
-					"application/json": {
-						"schema": {
-							"type": "object",
-							"properties": {
-								"content": { "type": "string" },
-								"nonce": { "type": "string" },
-								"tts": { "type": "boolean" },
-								"flags": { "type": "string" },
-								"embed": {
-									"additionalProperties": false,
-									"type": "object",
-									"properties": {
-										"title": { "type": "string" },
-										"type": { "$ref": "#/components/requestBodies/EmbedType" },
-										"description": { "type": "string" },
-										"url": { "type": "string" },
-										"timestamp": { "type": "string" },
-										"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": "#/components/requestBodies/EmbedImage" },
-										"thumbnail": { "$ref": "#/components/requestBodies/EmbedImage" },
-										"video": { "$ref": "#/components/requestBodies/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"]
-											}
-										}
-									}
+				"type": "object",
+				"properties": {
+					"content": { "type": "string" },
+					"nonce": { "type": "string" },
+					"tts": { "type": "boolean" },
+					"flags": { "type": "string" },
+					"embed": {
+						"additionalProperties": false,
+						"type": "object",
+						"properties": {
+							"title": { "type": "string" },
+							"type": { "$ref": "#/components/requestBodies/EmbedType" },
+							"description": { "type": "string" },
+							"url": { "type": "string" },
+							"timestamp": { "type": "string" },
+							"color": { "type": "integer" },
+							"footer": {
+								"type": "object",
+								"properties": {
+									"text": { "type": "string" },
+									"icon_url": { "type": "string" },
+									"proxy_icon_url": { "type": "string" }
 								},
-								"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
+								"additionalProperties": false,
+								"required": ["text"]
+							},
+							"image": { "$ref": "#/components/requestBodies/EmbedImage" },
+							"thumbnail": { "$ref": "#/components/requestBodies/EmbedImage" },
+							"video": { "$ref": "#/components/requestBodies/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" }
 								},
-								"message_reference": {
+								"additionalProperties": false
+							},
+							"fields": {
+								"type": "array",
+								"items": {
 									"type": "object",
 									"properties": {
-										"message_id": { "type": "string" },
-										"channel_id": { "type": "string" },
-										"guild_id": { "type": "string" },
-										"fail_if_not_exists": { "type": "boolean" }
+										"name": { "type": "string" },
+										"value": { "type": "string" },
+										"inline": { "type": "boolean" }
 									},
 									"additionalProperties": false,
-									"required": ["channel_id", "message_id"]
-								},
-								"payload_json": { "type": "string" },
-								"file": {}
+									"required": ["name", "value"]
+								}
 							}
 						}
-					}
-				},
-				"description": ""
+					},
+					"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": {}
+				}
 			},
 			"RoleModifySchema": {
-				"content": {
-					"application/json": {
-						"schema": {
-							"type": "object",
-							"properties": {
-								"name": { "type": "string" },
-								"permissions": { "type": "number" },
-								"color": { "type": "integer" },
-								"hoist": { "type": "boolean" },
-								"mentionable": { "type": "boolean" },
-								"position": { "type": "integer" }
-							}
-						}
-					}
-				},
-				"description": ""
+				"type": "object",
+				"properties": {
+					"name": { "type": "string" },
+					"permissions": { "type": "number" },
+					"color": { "type": "integer" },
+					"hoist": { "type": "boolean" },
+					"mentionable": { "type": "boolean" },
+					"position": { "type": "integer" }
+				}
 			},
 			"TemplateCreateSchema": {
-				"content": {
-					"application/json": {
-						"schema": {
-							"type": "object",
-							"properties": { "name": { "type": "string" }, "description": { "type": "string" } },
-							"required": ["name"]
-						}
-					}
-				},
-				"description": ""
+				"type": "object",
+				"properties": { "name": { "type": "string" }, "description": { "type": "string" } },
+				"required": ["name"]
 			},
 			"TemplateModifySchema": {
-				"content": {
-					"application/json": {
-						"schema": {
-							"type": "object",
-							"properties": { "name": { "type": "string" }, "description": { "type": "string" } },
-							"required": ["name"]
-						}
-					}
-				},
-				"description": ""
+				"type": "object",
+				"properties": { "name": { "type": "string" }, "description": { "type": "string" } },
+				"required": ["name"]
 			},
 			"UserModifySchema": {
-				"content": {
-					"application/json": {
-						"schema": {
-							"type": "object",
-							"properties": {
-								"username": { "type": "string" },
-								"avatar": { "type": "string" },
-								"bio": { "type": "string" },
-								"accent_color": { "type": "integer" },
-								"banner": { "type": "string" },
-								"password": { "type": "string" },
-								"new_password": { "type": "string" },
-								"code": { "type": "string" }
-							}
-						}
-					}
-				},
-				"description": ""
+				"type": "object",
+				"properties": {
+					"username": { "type": "string" },
+					"avatar": { "type": "string" },
+					"bio": { "type": "string" },
+					"accent_color": { "type": "integer" },
+					"banner": { "type": "string" },
+					"password": { "type": "string" },
+					"new_password": { "type": "string" },
+					"code": { "type": "string" }
+				}
 			},
 			"UserSettingsSchema": {
-				"content": {
-					"application/json": {
-						"schema": {
+				"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": {
+						"type": "object",
+						"properties": {
+							"emoji_id": { "type": "string" },
+							"emoji_name": { "type": "string" },
+							"expires_at": { "type": "integer" },
+							"text": { "type": "string" }
+						},
+						"additionalProperties": false
+					},
+					"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"]
+					},
+					"gateway_connected": { "type": "boolean" },
+					"gif_auto_play": { "type": "boolean" },
+					"guild_folders": {
+						"type": "array",
+						"items": {
 							"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": {
-									"type": "object",
-									"properties": {
-										"emoji_id": { "type": "string" },
-										"emoji_name": { "type": "string" },
-										"expires_at": { "type": "integer" },
-										"text": { "type": "string" }
-									},
-									"additionalProperties": false
-								},
-								"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"]
-								},
-								"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": { "type": "string" },
-								"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", "offline", "online"], "type": "string" },
-								"stream_notifications_enabled": { "type": "boolean" },
-								"theme": { "enum": ["dark", "white"], "type": "string" },
-								"timezone_offset": { "type": "integer" }
+								"color": { "type": "integer" },
+								"guild_ids": { "type": "array", "items": { "type": "string" } },
+								"id": { "type": "integer" },
+								"name": { "type": "string" }
 							},
-							"required": [
-								"afk_timeout",
-								"allow_accessibility_detection",
-								"animate_emoji",
-								"animate_stickers",
-								"contact_sync_enabled",
-								"convert_emoticons",
-								"custom_status",
-								"default_guilds_restricted",
-								"detect_platform_accounts",
-								"developer_mode",
-								"disable_games_tab",
-								"enable_tts_command",
-								"explicit_content_filter",
-								"friend_source_flags",
-								"gateway_connected",
-								"gif_auto_play",
-								"guild_folders",
-								"guild_positions",
-								"inline_attachment_media",
-								"inline_embed_media",
-								"locale",
-								"message_display_compact",
-								"native_phone_integration_enabled",
-								"render_embeds",
-								"render_reactions",
-								"restricted_guilds",
-								"show_current_game",
-								"status",
-								"stream_notifications_enabled",
-								"theme",
-								"timezone_offset"
-							]
+							"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": { "type": "string" },
+					"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", "offline", "online"], "type": "string" },
+					"stream_notifications_enabled": { "type": "boolean" },
+					"theme": { "enum": ["dark", "white"], "type": "string" },
+					"timezone_offset": { "type": "integer" }
 				},
-				"description": ""
+				"required": [
+					"afk_timeout",
+					"allow_accessibility_detection",
+					"animate_emoji",
+					"animate_stickers",
+					"contact_sync_enabled",
+					"convert_emoticons",
+					"custom_status",
+					"default_guilds_restricted",
+					"detect_platform_accounts",
+					"developer_mode",
+					"disable_games_tab",
+					"enable_tts_command",
+					"explicit_content_filter",
+					"friend_source_flags",
+					"gateway_connected",
+					"gif_auto_play",
+					"guild_folders",
+					"guild_positions",
+					"inline_attachment_media",
+					"inline_embed_media",
+					"locale",
+					"message_display_compact",
+					"native_phone_integration_enabled",
+					"render_embeds",
+					"render_reactions",
+					"restricted_guilds",
+					"show_current_game",
+					"status",
+					"stream_notifications_enabled",
+					"theme",
+					"timezone_offset"
+				]
 			},
 			"WidgetModifySchema": {
-				"content": {
-					"application/json": {
-						"schema": {
-							"type": "object",
-							"properties": { "enabled": { "type": "boolean" }, "channel_id": { "type": "string" } },
-							"required": ["channel_id", "enabled"]
-						}
-					}
-				},
-				"description": ""
+				"type": "object",
+				"properties": { "enabled": { "type": "boolean" }, "channel_id": { "type": "string" } },
+				"required": ["channel_id", "enabled"]
 			}
 		},
+		"requestBodies": {},
 		"securitySchemes": {},
 		"links": {},
 		"callbacks": {}