Assets
Get file from asset
Retrieve a specific file from an asset by asset ID and file ID. Requires `canGetAsset`. Private fields (`bucketName`, `tags`, `postProcessingTasks`) are stripped from the response.
Retrieve a specific file from an asset by asset ID and file ID. Requires canGetAsset.
Private fields (bucketName, tags, postProcessingTasks) are stripped from the response.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
assetId*string
ID of the asset containing the file.
Format
uuidfileId*string
ID of the file to retrieve.
Format
uuidResponse Body
application/json
application/json
curl -X GET "https://example.com/assets/497f6eca-6276-4993-bfeb-53cbbbba6f08/file/497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "assetId": "9179b887-04ef-4ce5-ab3a-b5bbd39ea3c8", "keyPath": "/project/asset/file123.jpg", "checksum": "string", "checksumAlgorithm": "md5", "name": "string", "functionType": "original", "sizeInBytes": 0, "status": "active", "meta": {}, "createdAt": 1678886400000, "updatedAt": 1678886400000}