assets
Asset metadata
Changed onReturns the asset object with a fresh short-lived url for the content. Re-fetching always yields fresh URLs.
get/api/v2/assets/{id}
Request
- Base URL: http://127.0.0.1:8189
- URL: http://127.0.0.1:8189/api/v2/assets/{id}
- Auth: one of:
- HTTP bearer
- none
Path parameters
idstring required
Response
The asset.
Example response
{
"id": "9f8a1c0d-2b3e-4f56-8a7b-1c2d3e4f5a6b",
"hash": "blake3:9f8a1c0d...",
"size_bytes": 4816293,
"content_type": "image/png",
"file_path": "photo.png"
}Changes
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- info
added the non-success response with the status
- info