|
11 | 11 | },
|
12 | 12 | "license": {
|
13 | 13 | "name": "AGPLv3",
|
14 |
| - "url": "https://github.com/revoltchat/delta/blob/master/LICENSE" |
| 14 | + "url": "https://github.com/upryzing/parrot/blob/main/LICENSE" |
15 | 15 | },
|
16 |
| - "version": "0.7.16" |
| 16 | + "version": "0.1.0" |
17 | 17 | },
|
18 | 18 | "servers": [
|
19 | 19 | {
|
|
25 | 25 | "description": "Revolt Staging"
|
26 | 26 | },
|
27 | 27 | {
|
28 |
| - "url": "http://local.revolt.chat:8000", |
| 28 | + "url": "http://local.revolt.chat:14702", |
29 | 29 | "description": "Local Revolt Environment"
|
30 | 30 | }
|
31 | 31 | ],
|
|
744 | 744 | "Bots"
|
745 | 745 | ],
|
746 | 746 | "summary": "Create Bot",
|
747 |
| - "description": "Create a new Revolt bot.", |
| 747 | + "description": "Create a new Upryzing bot.", |
748 | 748 | "operationId": "create_create_bot",
|
749 | 749 | "requestBody": {
|
750 | 750 | "content": {
|
|
2500 | 2500 | "tags": [
|
2501 | 2501 | "Server Information"
|
2502 | 2502 | ],
|
2503 |
| - "summary": "Create Server", |
2504 |
| - "description": "Create a new server.", |
| 2503 | + "summary": "Create Space", |
| 2504 | + "description": "Create a new space.", |
2505 | 2505 | "operationId": "server_create_create_server",
|
2506 | 2506 | "requestBody": {
|
2507 | 2507 | "content": {
|
|
3829 | 3829 | "Emojis"
|
3830 | 3830 | ],
|
3831 | 3831 | "summary": "Create New Emoji",
|
3832 |
| - "description": "Create an emoji by its Autumn upload id.", |
| 3832 | + "description": "Create an emoji by its Pigeon upload id.", |
3833 | 3833 | "operationId": "emoji_create_create_emoji",
|
3834 | 3834 | "parameters": [
|
3835 | 3835 | {
|
|
5314 | 5314 | "title": "Feature Configuration",
|
5315 | 5315 | "type": "object",
|
5316 | 5316 | "required": [
|
5317 |
| - "autumn", |
5318 | 5317 | "captcha",
|
| 5318 | + "dove", |
5319 | 5319 | "email",
|
5320 | 5320 | "invite_only",
|
5321 |
| - "january", |
| 5321 | + "pigeon", |
5322 | 5322 | "voso"
|
5323 | 5323 | ],
|
5324 | 5324 | "properties": {
|
|
5338 | 5338 | "description": "Whether this server is invite only",
|
5339 | 5339 | "type": "boolean"
|
5340 | 5340 | },
|
5341 |
| - "autumn": { |
| 5341 | + "pigeon": { |
5342 | 5342 | "description": "File server service configuration",
|
5343 | 5343 | "allOf": [
|
5344 | 5344 | {
|
5345 | 5345 | "$ref": "#/components/schemas/Feature"
|
5346 | 5346 | }
|
5347 | 5347 | ]
|
5348 | 5348 | },
|
5349 |
| - "january": { |
| 5349 | + "dove": { |
5350 | 5350 | "description": "Proxy service configuration",
|
5351 | 5351 | "allOf": [
|
5352 | 5352 | {
|
|
6260 | 6260 | }
|
6261 | 6261 | }
|
6262 | 6262 | },
|
| 6263 | + { |
| 6264 | + "type": "object", |
| 6265 | + "required": [ |
| 6266 | + "type" |
| 6267 | + ], |
| 6268 | + "properties": { |
| 6269 | + "type": { |
| 6270 | + "type": "string", |
| 6271 | + "enum": [ |
| 6272 | + "NotAuthenticated" |
| 6273 | + ] |
| 6274 | + } |
| 6275 | + } |
| 6276 | + }, |
6263 | 6277 | {
|
6264 | 6278 | "type": "object",
|
6265 | 6279 | "required": [
|
|
6334 | 6348 | }
|
6335 | 6349 | }
|
6336 | 6350 | },
|
| 6351 | + { |
| 6352 | + "type": "object", |
| 6353 | + "required": [ |
| 6354 | + "type" |
| 6355 | + ], |
| 6356 | + "properties": { |
| 6357 | + "type": { |
| 6358 | + "type": "string", |
| 6359 | + "enum": [ |
| 6360 | + "FileTooSmall" |
| 6361 | + ] |
| 6362 | + } |
| 6363 | + } |
| 6364 | + }, |
| 6365 | + { |
| 6366 | + "type": "object", |
| 6367 | + "required": [ |
| 6368 | + "max", |
| 6369 | + "type" |
| 6370 | + ], |
| 6371 | + "properties": { |
| 6372 | + "type": { |
| 6373 | + "type": "string", |
| 6374 | + "enum": [ |
| 6375 | + "FileTooLarge" |
| 6376 | + ] |
| 6377 | + }, |
| 6378 | + "max": { |
| 6379 | + "type": "integer", |
| 6380 | + "format": "uint", |
| 6381 | + "minimum": 0.0 |
| 6382 | + } |
| 6383 | + } |
| 6384 | + }, |
| 6385 | + { |
| 6386 | + "type": "object", |
| 6387 | + "required": [ |
| 6388 | + "type" |
| 6389 | + ], |
| 6390 | + "properties": { |
| 6391 | + "type": { |
| 6392 | + "type": "string", |
| 6393 | + "enum": [ |
| 6394 | + "FileTypeNotAllowed" |
| 6395 | + ] |
| 6396 | + } |
| 6397 | + } |
| 6398 | + }, |
| 6399 | + { |
| 6400 | + "type": "object", |
| 6401 | + "required": [ |
| 6402 | + "type" |
| 6403 | + ], |
| 6404 | + "properties": { |
| 6405 | + "type": { |
| 6406 | + "type": "string", |
| 6407 | + "enum": [ |
| 6408 | + "ImageProcessingFailed" |
| 6409 | + ] |
| 6410 | + } |
| 6411 | + } |
| 6412 | + }, |
| 6413 | + { |
| 6414 | + "type": "object", |
| 6415 | + "required": [ |
| 6416 | + "type" |
| 6417 | + ], |
| 6418 | + "properties": { |
| 6419 | + "type": { |
| 6420 | + "type": "string", |
| 6421 | + "enum": [ |
| 6422 | + "NoEmbedData" |
| 6423 | + ] |
| 6424 | + } |
| 6425 | + } |
| 6426 | + }, |
6337 | 6427 | {
|
6338 | 6428 | "type": "object",
|
6339 | 6429 | "required": [
|
|
6404 | 6494 | }
|
6405 | 6495 | },
|
6406 | 6496 | "badges": {
|
6407 |
| - "description": "Bitfield of user badges\n\nhttps://docs.rs/revolt-models/latest/revolt_models/v0/enum.UserBadges.html", |
| 6497 | + "description": "Bitfield of user badges\n\nhttps://docs.rs/upryzing-models/latest/upryzing_models/v0/enum.UserBadges.html", |
6408 | 6498 | "type": "integer",
|
6409 | 6499 | "format": "uint32",
|
6410 | 6500 | "minimum": 0.0
|
|
6419 | 6509 | "nullable": true
|
6420 | 6510 | },
|
6421 | 6511 | "flags": {
|
6422 |
| - "description": "Enum of user flags\n\nhttps://docs.rs/revolt-models/latest/revolt_models/v0/enum.UserFlags.html", |
| 6512 | + "description": "Enum of user flags\n\nhttps://docs.rs/upryzing-models/latest/upryzing_models/v0/enum.UserFlags.html", |
6423 | 6513 | "type": "integer",
|
6424 | 6514 | "format": "uint32",
|
6425 | 6515 | "minimum": 0.0
|
|
7493 | 7583 | "nullable": true
|
7494 | 7584 | },
|
7495 | 7585 | "icon": {
|
7496 |
| - "description": "Icon\n\nProvide an Autumn attachment Id.", |
| 7586 | + "description": "Icon\n\nProvide an Pigeon attachment Id.", |
7497 | 7587 | "type": "string",
|
7498 | 7588 | "maxLength": 128,
|
7499 | 7589 | "minLength": 1,
|
|
7741 | 7831 | "nullable": true
|
7742 | 7832 | },
|
7743 | 7833 | "flags": {
|
7744 |
| - "description": "Bitfield of message flags\n\nhttps://docs.rs/revolt-models/latest/revolt_models/v0/enum.MessageFlags.html", |
| 7834 | + "description": "Bitfield of message flags\n\nhttps://docs.rs/upryzing-models/latest/upryzing_models/v0/enum.MessageFlags.html", |
7745 | 7835 | "type": "integer",
|
7746 | 7836 | "format": "uint32",
|
7747 | 7837 | "minimum": 0.0
|
|
8211 | 8301 | "width": {
|
8212 | 8302 | "description": "Width of the image",
|
8213 | 8303 | "type": "integer",
|
8214 |
| - "format": "int" |
| 8304 | + "format": "uint", |
| 8305 | + "minimum": 0.0 |
8215 | 8306 | },
|
8216 | 8307 | "height": {
|
8217 | 8308 | "description": "Height of the image",
|
8218 | 8309 | "type": "integer",
|
8219 |
| - "format": "int" |
| 8310 | + "format": "uint", |
| 8311 | + "minimum": 0.0 |
8220 | 8312 | },
|
8221 | 8313 | "size": {
|
8222 | 8314 | "description": "Positioning and size",
|
|
8251 | 8343 | "width": {
|
8252 | 8344 | "description": "Width of the video",
|
8253 | 8345 | "type": "integer",
|
8254 |
| - "format": "int" |
| 8346 | + "format": "uint", |
| 8347 | + "minimum": 0.0 |
8255 | 8348 | },
|
8256 | 8349 | "height": {
|
8257 | 8350 | "description": "Height of the video",
|
8258 | 8351 | "type": "integer",
|
8259 |
| - "format": "int" |
| 8352 | + "format": "uint", |
| 8353 | + "minimum": 0.0 |
8260 | 8354 | }
|
8261 | 8355 | }
|
8262 | 8356 | },
|
|
8294 | 8388 | "nullable": true
|
8295 | 8389 | },
|
8296 | 8390 | "media": {
|
8297 |
| - "description": "ID of uploaded autumn file", |
| 8391 | + "description": "ID of uploaded pigeon file", |
8298 | 8392 | "allOf": [
|
8299 | 8393 | {
|
8300 | 8394 | "$ref": "#/components/schemas/File"
|
|
8572 | 8666 | "width": {
|
8573 | 8667 | "description": "Width of the image",
|
8574 | 8668 | "type": "integer",
|
8575 |
| - "format": "int" |
| 8669 | + "format": "uint", |
| 8670 | + "minimum": 0.0 |
8576 | 8671 | },
|
8577 | 8672 | "height": {
|
8578 | 8673 | "description": "Height of the image",
|
8579 | 8674 | "type": "integer",
|
8580 |
| - "format": "int" |
| 8675 | + "format": "uint", |
| 8676 | + "minimum": 0.0 |
8581 | 8677 | },
|
8582 | 8678 | "size": {
|
8583 | 8679 | "description": "Positioning and size",
|
|
8613 | 8709 | "width": {
|
8614 | 8710 | "description": "Width of the video",
|
8615 | 8711 | "type": "integer",
|
8616 |
| - "format": "int" |
| 8712 | + "format": "uint", |
| 8713 | + "minimum": 0.0 |
8617 | 8714 | },
|
8618 | 8715 | "height": {
|
8619 | 8716 | "description": "Height of the video",
|
8620 | 8717 | "type": "integer",
|
8621 |
| - "format": "int" |
| 8718 | + "format": "uint", |
| 8719 | + "minimum": 0.0 |
8622 | 8720 | }
|
8623 | 8721 | }
|
8624 | 8722 | },
|
|
8730 | 8828 | "nullable": true
|
8731 | 8829 | },
|
8732 | 8830 | "flags": {
|
8733 |
| - "description": "Bitfield of message flags\n\nhttps://docs.rs/revolt-models/latest/revolt_models/v0/enum.MessageFlags.html", |
| 8831 | + "description": "Bitfield of message flags\n\nhttps://docs.rs/upryzing-models/latest/upryzing_models/v0/enum.MessageFlags.html", |
8734 | 8832 | "type": "integer",
|
8735 | 8833 | "format": "uint32",
|
8736 | 8834 | "minimum": 0.0,
|
|
9080 | 9178 | "type": "object",
|
9081 | 9179 | "required": [
|
9082 | 9180 | "channel_id",
|
| 9181 | + "creator_id", |
9083 | 9182 | "id",
|
9084 | 9183 | "name",
|
9085 | 9184 | "permissions"
|
|
9102 | 9201 | ],
|
9103 | 9202 | "nullable": true
|
9104 | 9203 | },
|
| 9204 | + "creator_id": { |
| 9205 | + "description": "User that created this webhook", |
| 9206 | + "type": "string" |
| 9207 | + }, |
9105 | 9208 | "channel_id": {
|
9106 | 9209 | "description": "The channel this webhook belongs to",
|
9107 | 9210 | "type": "string"
|
|
0 commit comments