Log In Register

RO INC Docs-Doc of Preview API

RO INC DOCUMENTATION

Free documentation for the RO INC Website !! Want to add something or request something ? Do it today !

Doc of Preview API

The Preview API let you fetch preview information about files uploaded.

This API support different preview types depending on the file types, including images, videos, audio, text, ZIP archives, and Microsoft Office files.

No authentication required for preview api !

ENDPOINT

GET /uploader/previewapi?fid=12345

PARAMETER

RESPONSE

Returns JSON with preview object. Commonly fields include:

PREVIEW TYPES & ADDITIONAL FIELDS

EXAMPLE RESPONSE

{
	"Success": true,
	"FPath": "./uploads/abcd1234_file.mp3",
	"Message": "Success",
	"PreviewType": "audio",
	"Ext": "mp3",
	"CroppedNm": "file.mp3"
}

NOTES