• Adds a blob resource.

    Parameters

    • blob: any

      Blob containing the resource to add

    • itemId: string

      Id of the item to add the resource to

    • folder: string

      A prefix string added to the filename in the storage; use null or undefined for no folder

    • filename: string

      File name used to rename an existing file resource uploaded. File name must have the file resource extension.

    • authentication: UserSession

      Credentials for the request

    Returns Promise<any>