Create read prefix
Mint a signed read prefix for the key's project library
/api/v2/assets:createReadPrefixAuthentication WLT-Api-Key
Create one short-lived credential for downloading multiple assets in the API key's project. Combine it with each asset's contentPath. Read the guide.
Responses
200
Successful Response
application/json
A short-lived credential for a project's whole asset library.
Build one download URL as baseUrl + contentPath + "?" + signedQuery.
The same credential serves every ready asset in the project until
expiresAt. Treat it as a secret because it grants that broad access.
baseUrlstringrequiredProject content prefix, ending in /. Append an asset's already encoded contentPath unchanged.
signedQuerystringrequiredOpaque, already encoded query string without the leading ?. Append it unchanged after baseUrl + contentPath; do not parse or edit it.
expiresAtstringrequiredWhen this read credential expires; create a new one after.
date-time