StatsHub Docs
APIEndpoint referenceImage

/image/{id}

The public URL of an uploaded image.

GET
/api/image/{id}

The public URL of an uploaded image.

No storage call is made. Supabase's getPublicUrl only formats a URL — it does not check that the object exists — so the original's 404 branch is unreachable, and reproducing it would mean adding a round trip the original never made and a status clients have never seen.

Path Parameters

id*string

Query Parameters

type?string

Response Body

application/json

application/json

curl -X GET "https://example.com/api/image/string"
{  "url": "string"}