|
5887 | 5887 | "email", |
5888 | 5888 | "invite_only", |
5889 | 5889 | "january", |
| 5890 | + "limits", |
5890 | 5891 | "livekit" |
5891 | 5892 | ], |
5892 | 5893 | "properties": { |
|
5929 | 5930 | "$ref": "#/components/schemas/VoiceFeature" |
5930 | 5931 | } |
5931 | 5932 | ] |
| 5933 | + }, |
| 5934 | + "limits": { |
| 5935 | + "description": "Limits", |
| 5936 | + "allOf": [ |
| 5937 | + { |
| 5938 | + "$ref": "#/components/schemas/LimitsConfig" |
| 5939 | + } |
| 5940 | + ] |
5932 | 5941 | } |
5933 | 5942 | } |
5934 | 5943 | }, |
|
6015 | 6024 | } |
6016 | 6025 | } |
6017 | 6026 | }, |
| 6027 | + "LimitsConfig": { |
| 6028 | + "title": "Limits For Users", |
| 6029 | + "type": "object", |
| 6030 | + "required": [ |
| 6031 | + "default", |
| 6032 | + "global", |
| 6033 | + "new_user" |
| 6034 | + ], |
| 6035 | + "properties": { |
| 6036 | + "global": { |
| 6037 | + "description": "Global Limits", |
| 6038 | + "allOf": [ |
| 6039 | + { |
| 6040 | + "$ref": "#/components/schemas/GlobalLimits" |
| 6041 | + } |
| 6042 | + ] |
| 6043 | + }, |
| 6044 | + "new_user": { |
| 6045 | + "description": "New User Limits", |
| 6046 | + "allOf": [ |
| 6047 | + { |
| 6048 | + "$ref": "#/components/schemas/UserLimits" |
| 6049 | + } |
| 6050 | + ] |
| 6051 | + }, |
| 6052 | + "default": { |
| 6053 | + "description": "Default User Limits", |
| 6054 | + "allOf": [ |
| 6055 | + { |
| 6056 | + "$ref": "#/components/schemas/UserLimits" |
| 6057 | + } |
| 6058 | + ] |
| 6059 | + } |
| 6060 | + } |
| 6061 | + }, |
| 6062 | + "GlobalLimits": { |
| 6063 | + "title": "Global limits", |
| 6064 | + "type": "object", |
| 6065 | + "required": [ |
| 6066 | + "body_limit_size", |
| 6067 | + "group_size", |
| 6068 | + "message_embeds", |
| 6069 | + "message_reactions", |
| 6070 | + "message_replies", |
| 6071 | + "server_channels", |
| 6072 | + "server_emoji", |
| 6073 | + "server_roles" |
| 6074 | + ], |
| 6075 | + "properties": { |
| 6076 | + "group_size": { |
| 6077 | + "description": "max group size", |
| 6078 | + "type": "integer", |
| 6079 | + "format": "int64" |
| 6080 | + }, |
| 6081 | + "message_embeds": { |
| 6082 | + "description": "max message embeds", |
| 6083 | + "type": "integer", |
| 6084 | + "format": "int64" |
| 6085 | + }, |
| 6086 | + "message_replies": { |
| 6087 | + "description": "max replies", |
| 6088 | + "type": "integer", |
| 6089 | + "format": "int64" |
| 6090 | + }, |
| 6091 | + "message_reactions": { |
| 6092 | + "description": "max reactions per message", |
| 6093 | + "type": "integer", |
| 6094 | + "format": "int64" |
| 6095 | + }, |
| 6096 | + "server_emoji": { |
| 6097 | + "description": "max server emoji", |
| 6098 | + "type": "integer", |
| 6099 | + "format": "int64" |
| 6100 | + }, |
| 6101 | + "server_roles": { |
| 6102 | + "description": "max server roles", |
| 6103 | + "type": "integer", |
| 6104 | + "format": "int64" |
| 6105 | + }, |
| 6106 | + "server_channels": { |
| 6107 | + "description": "max server channels", |
| 6108 | + "type": "integer", |
| 6109 | + "format": "int64" |
| 6110 | + }, |
| 6111 | + "body_limit_size": { |
| 6112 | + "type": "integer", |
| 6113 | + "format": "int64" |
| 6114 | + } |
| 6115 | + } |
| 6116 | + }, |
| 6117 | + "UserLimits": { |
| 6118 | + "title": "User Limits", |
| 6119 | + "type": "object", |
| 6120 | + "required": [ |
| 6121 | + "bots", |
| 6122 | + "file_upload_size_limits", |
| 6123 | + "message_attachments", |
| 6124 | + "message_length", |
| 6125 | + "outgoing_friend_requests", |
| 6126 | + "servers", |
| 6127 | + "video", |
| 6128 | + "video_aspect_ratio", |
| 6129 | + "video_resolution", |
| 6130 | + "voice_quality" |
| 6131 | + ], |
| 6132 | + "properties": { |
| 6133 | + "outgoing_friend_requests": { |
| 6134 | + "description": "Max Outgoing Friend Requests", |
| 6135 | + "type": "integer", |
| 6136 | + "format": "int64" |
| 6137 | + }, |
| 6138 | + "bots": { |
| 6139 | + "description": "Max Owned Bots", |
| 6140 | + "type": "integer", |
| 6141 | + "format": "int64" |
| 6142 | + }, |
| 6143 | + "message_length": { |
| 6144 | + "description": "Max message content length", |
| 6145 | + "type": "integer", |
| 6146 | + "format": "int64" |
| 6147 | + }, |
| 6148 | + "message_attachments": { |
| 6149 | + "description": "max message attachments", |
| 6150 | + "type": "integer", |
| 6151 | + "format": "int64" |
| 6152 | + }, |
| 6153 | + "servers": { |
| 6154 | + "description": "max servers", |
| 6155 | + "type": "integer", |
| 6156 | + "format": "int64" |
| 6157 | + }, |
| 6158 | + "voice_quality": { |
| 6159 | + "description": "max audio quality", |
| 6160 | + "type": "integer", |
| 6161 | + "format": "int64" |
| 6162 | + }, |
| 6163 | + "video": { |
| 6164 | + "description": "video streaming enabled", |
| 6165 | + "type": "boolean" |
| 6166 | + }, |
| 6167 | + "video_resolution": { |
| 6168 | + "description": "max video resolution (vertical, horizontal)", |
| 6169 | + "type": "array", |
| 6170 | + "items": { |
| 6171 | + "type": "integer", |
| 6172 | + "format": "int64" |
| 6173 | + }, |
| 6174 | + "maxItems": 2, |
| 6175 | + "minItems": 2 |
| 6176 | + }, |
| 6177 | + "video_aspect_ratio": { |
| 6178 | + "description": "min/max aspect ratios", |
| 6179 | + "type": "array", |
| 6180 | + "items": { |
| 6181 | + "type": "number", |
| 6182 | + "format": "double" |
| 6183 | + }, |
| 6184 | + "maxItems": 2, |
| 6185 | + "minItems": 2 |
| 6186 | + }, |
| 6187 | + "file_upload_size_limits": { |
| 6188 | + "type": "object", |
| 6189 | + "additionalProperties": { |
| 6190 | + "type": "integer", |
| 6191 | + "format": "uint", |
| 6192 | + "minimum": 0.0 |
| 6193 | + } |
| 6194 | + } |
| 6195 | + } |
| 6196 | + }, |
6018 | 6197 | "BuildInformation": { |
6019 | 6198 | "title": "Build Information", |
6020 | 6199 | "type": "object", |
|
0 commit comments