/api/v1/check/:id
- Check if a media file exists by ID. Returns 'isFound', 'id', 'url'.
/api/v1/delete/:id
- Remove a file by ID. Returns 'deleted', 'message'.
/api/v1/play/:id
- Stream only videos or mp3 files. Turns link into stream source.
/api/v1/upload
- Upload either images, video files, audio files. Returns 'id', 'url'.
/api/v1/view/:id
- Get source link of the media that includes the ID. Returns 'url'.
if any error is encountered to access the error, use response.data.error
If any bugs found and you fixed them please create a pull request, much appreciated. <3