Retrieve a file

Learn how to retrieve a file from Ranoz.


After you supply a file ID, Ranoz returns the corresponding file object.

Deleted files return code 404.

Examples

To retrieve a file, send a GET request to https://ranoz.gg/api/v1/files/{id}.

Parameter
Location
Description
idPath (URL)The ID of the file you want to retrieve.
import requests

url = 'https://ranoz.gg/api/v1/files/abcd'

response = requests.get(url)

print(response.json())