• Updates the item's resource that matches the filename with new content

    Parameters

    • itemId: string

      Id of the item to update

    • filename: string

      Name of the resource file to update; prefix optional (e.g., a/b/file.txt)

    • resource: File

      The new content to update the resource with

    • authentication: UserSession

      Credentials for the request to the storage

    Returns Promise<IItemResourceResponse>

    A promise which resolves with a success true/false response