Get Asset MIME Type
asset.getMimeType()
Retrieve the MIME Type of a specified asset.
Syntax
Returns
Promise<string>
A Promise that resolves to the MIME type of the Asset
Example
Designer Ability
Checks for authorization only