Function getAllAssets

  • Gets all assets in the organization. Uses pagination to get all results.

    Parameters

    • token: string

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

    • organizationContext: string

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

    • params: getAllAssetsParams = {}

    Returns Promise<any[]>