Localess

Get Asset Original

GET
/api/v1/spaces/{spaceId}/assets/{assetId}/original

Returns the stored bytes of an Asset exactly as uploaded, served inline. The transform route re-encodes a still image at its format default quality even with no parameters, so this is the only way to retrieve the original file. A transform parameter here is rejected with 400.

Path Parameters

spaceId*string

Unique identifier for the Space object.

assetId*string

Unique identifier for the Asset object.

Response Body

curl -X GET "https://example.com/api/v1/spaces/UdV5ygPZuOD1JMO9Qat9/assets/UdV5ygPZuOD1JMO9Qat9/original"
null