Function getProductAssetVersions

  • Gets all the asset versions for a product.

    Parameters

    • token: string

      Auth token. This is the token returned by get_auth_token(). Just the token, do not include "Bearer" in this string.

    • organizationContext: string

      Organization context. This is provided by the Finite State API management. It looks like "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx".

    • productId: string

      Product ID to get asset versions for. If not provided, will get all asset versions in the organization.

    Returns Promise<any[]>