RO INC DOCUMENTATION
Doc of download API
The DOWNLOAD API allows to download the file from the server by using GET request. Browser is not needed for it.
The DOWNLOAD API has been updated and no longer requires PHPSESSID or log in.
Thank you for using RO INC documentation. Please sorry me for the bad grammars.
ENDPOINT
GET /uploader/downloadapi?fid=12345
PARAMETER
fid
(REQUIRED) - The File id of the file to be downloaded.
RESPONSE
- Returns JSON response.
- Returns
{ "Message" : "Error message..." }
on an errors.
EXAMPLE RESPONSE
-
{ "DownloadUrl" : "https://ro-inc.xyz/uploader/download_file.php?token=...", "UploadedBy" : "admin", "UploaderPic" : "./avatars/85738FB53C1FE3BCE5D6BC6B30F19568.png", "Desc" : null, "ScanResult" : "clean", "ModifiedXTimes" : 0, "AdminVerification" : "unverified", "LastModifiedOn" : "2025-06-25 22:34:24", "Extension" : "MP3", "CroppedName" : "File__1_.mp3", "Icon" : "https://static.ro-inc.xyz/fileicons/ic_file_mp3.png", "UploadedOn" : "2025-06-25 22:33:28", "FileSize" : 4809593, "FileSize2" : "4.6 MB" "FileTitle" : "File (1).mp3" }
-
EXPLANATION OF FIELDS
DownloadUrl
- Please fetch the URL to download file.UploadedBy
- Name of user that uploaded.UploaderPic
- Relative Picture of the profile picture of the uploader to https://ro-inc.xyz .Desc
- Optional Description that appare only in published files.ScanResult
- The scan result of Anti-Virus scan. Can be"notclean"
,"failed"
,"scanning"
, and"clean"
.ModifiedXTimes
- The number the files is modified times.AdminVerification
- Admin verification of the file. Can be"verified"
,"unsafe"
,"malware"
, and"unverified"
.LastModifiedOn
- Last modified on time and date. Human readable format.Extension
- File extension.CroppedName
- The cropped file name of the file, please use when displaying the name.Icon
- The icon hosted on RO INC server for the file.UploadedOn
- Uploaded on time and date. Human readable format.FileSize
- File size in bytes.FileSize2
- File size formatted. Human readable format.FileTitle
- It includes the file name without any system modification. But it will be the user's file title when the file is published