File Response

Introduction


You can get file by id stored over any storage location either temp, oyyi, or any your cutom storage

  • File need to have Public visibility otherwise it will throw 403 error.

Binary Response


You can get raw binary response of file that you can use it over any webpage or app. You can visit this endpoint for this

https://api.oyyi.xyz/file/{fileId}

Downloading File


You can allow user to directly download this file over there device with proper content deposition headers. You can visit this endpoint for this

https://api.oyyi.xyz/file/{fileId}/download