Skip to content
Select language:English

/api/v1/files/{id}/url

POST
/api/v1/files/{id}/url
curl --request POST \
--url https://example.com/api/v1/files/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/url \
--header 'Content-Type: application/json' \
--data '{ "variant": "original" }'
id
required
string format: uuid
/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/
thingId
string format: uuid
/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/
Media typeapplication/json
object
variant
required
string
Allowed values: original display thumb share

Default Response

Media typeapplication/json
object
url
required
string
expiresAt
required
string
Examplegenerated
{
"url": "example",
"expiresAt": "example"
}