ASSET_TO_URI
Last updated
Was this helpful?
Last updated
Was this helpful?
The function ASSET_TO_URI takes an asset and produces a URI in the form of a string.
This function takes as input an . It returns a representing the asset's URI.
asset (required, type: Asset) The Asset to create a URI for.
asset_uri (type: string) The asset's URI.
An Asset's URI is essentially a concatenation of the various identifiers in the Asset that allow it to be located.
The function is the opposite operation of ASSET_TO_URI. However, it is not a perfect symmetry. An asset can contain more information than just its location information. Once serialized to a URI, that information cannot be accessed from the resulting URI.