From d7c159d16678a4446788eed32d5dc33ce026d318 Mon Sep 17 00:00:00 2001 From: AmirGhost11 Date: Tue, 2 Jun 2026 16:02:49 +0000 Subject: [PATCH] Update Media --- Media.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/Media.md b/Media.md index 3af16ad..26a3f60 100644 --- a/Media.md +++ b/Media.md @@ -1 +1,13 @@ -# MultiMedia & how it's handled in server +# MultiMedia & how it's handled in Server +Server can store multimedia, but this feature is permitted. + +## Permission: +To prevent running out of storage, uploads are strict. JWToken is required in media mutation endpoints. Every user has a field `uploadRemaining` which is 0 by default. Certain hard-coded behaviors like cronjobs, buying premium, etc., can increment this field and allow users to have access to upload endpoints. + +## File Types: + +## Endpoints: +- ### `/media/upload`: +upload media to server. +- ### `/media/create`: +an alias for `/media/upload` \ No newline at end of file