v1

latestOpenAPI 3.1.02026-08-044257268.7 KB
Resources

Get an asset file's download URL

Returns { url } — a freshly minted download URL for one file of one library asset; GET it to stream the bytes. The provider's URLs are short-lived and never stored, so call this each time you need one. Pass redirect=true for a 302 straight to the URL (curl -L). format must be one of the format values from /mint-assets/files.

get/v1/resources/{resourceId}/mint-assets/download-url

Path parameters

resourceIdstring required

Resource identifier (ULID).

Resource identifier (ULID).

Query parameters

assetIdstring required

Asset id from the library listing.

Asset id from the library listing.

formatstring required

A format from /mint-assets/files (e.g. glb).

A format from /mint-assets/files (e.g. glb).

redirect'true'

true answers a 302 redirect to the URL instead of the JSON body (the curl -L ergonomic).

true answers a 302 redirect to the URL instead of the JSON body (the curl -L ergonomic).

Response

The download URL

urlstring required