The BrandKitController is responsible for all communication regarding Brand Kits. Methods inside this controller can be called by window.SDK.brandKit.{method-name}

Methods

  • This method adds a media item to the brand kit

    Parameters

    • name: string

      The name of the media item

    • remoteConnectorId: string

      The remote connector ID

    • assetId: string

      The asset ID of the media item

    Returns Promise<EditorResponse<string>>

  • This method updates an existing media item in the brand kit

    Parameters

    • name: string

      The name of the media item to update

    • remoteConnectorId: string

      The new remote connector ID

    • assetId: string

      The new asset ID

    Returns Promise<EditorResponse<null>>