Directus / @directus/sdk / rest / readAssetBlob
Function: readAssetBlob() ​
readAssetBlob<
Schema
>(key
,query
?):RestCommand
<Blob
,Schema
>
Read the contents of a file as a Blob
Type Parameters ​
• Schema
Parameters ​
• key: DirectusFile
<Schema
>["id"
]
• query?: AssetsQuery
Returns ​
RestCommand
<Blob
, Schema
>