Skip to content

Returns the image with the requested UUID. Width and height must both be given or can be set both to 0 to indicate no resizing.

GET
/api/uploads/{uuid}

Authorizations

api_key
Type: API Key (header: X-CSRF-Token)

Parameters

Path Parameters

uuid*
Typestring
Required

Query Parameters

w

Max image width

Typestring
h

Max image height

Typestring
q

Image quality (between 1 and 100)

Typestring

Responses

Authorization
api_key
Variables
Key
Value
uuid*
w
h
q
cURL
curl -X GET \
'http://localhost/api/uploads/{uuid}'

Samples

cURL
curl -X GET http://localhost/api/uploads/{uuid}
JavaScript
fetch("http://localhost/api/uploads/{uuid}")
  .then(response => response.json())
  .then(data => console.log(data));
PHP
file_get_contents("http://localhost/api/uploads/{uuid}");
Python
import requests
response = requests.get("http://localhost/api/uploads/{uuid}")
print(response.json())