Class AssetIdToPath
Returns the path of assets based on their assetIDs.
Defined in: assetIdToPath.js.
Constructor Attributes | Constructor Name and Description |
---|---|
AssetIdToPath(src)
Returns the path of assets based on their assetIDs.
|
Class Detail
AssetIdToPath(src)
Returns the path of assets based on their assetIDs.
Locates assets by the list of AssetIDs in 'src' and returns their path values. These values are parsed into a text object keyed by AssetID from the JSON file in which they are contained, and by default are displayed to the user.
'MBurl'/wf/assetIdToPath?src=['AssetID']
http://127.0.0.1:55555/wf/assetIdToPath?src=["12345"]
- Parameters:
- src
- AssetID/list of assetIDs to get the paths from.
- Returns:
- ( {'AssetID': "path",...} )