-
Notifications
You must be signed in to change notification settings - Fork 2
getAssetVersions
Peter Shinners edited this page Apr 18, 2021
·
5 revisions
void getAssetVersions(
const std::string& assetId,
StringVector& ret
)
Get a list of available versions for an assetId for an artist to select from.
The returned versions must be a list of strings, but they are not limited to numeric version numbers. Artists could select from labels or statuses like "best", "latest", or "official".
If the given assetId
is not valid, or has no versions this can return
immediately with no changes to ret
.
The ret
string vector is a regular std::vector
class. Use the push_back
to append entries.
This version list is only used by the Importomatic
node when users click on
the version column. Importomatic
will pass the selected value to
resolveAssetVersion.
Resolve
containsAssetId
getAssetVersions
isAssetId
resolveAsset
resolveAllAssets
resolvePath
resolveAssetVersion
Publish
Attributes
buildAssetId
getRelatedAssetId
getAssetAttributes
getAssetFields
getAssetIdForScope
setAssetAttributes
Nodegraph