@dolbyio/dolbyio-rest-apis-client - v5.1.1
    Preparing search index...

    Function uploadFile

    • Upload a media file to the Dolby.io temporary storage.

      The temporary storage should allow you to read and write to the dlb:// locations for a period of at least 24 hours before it is removed.

      Parameters

      • accessToken: JwtToken

        Access token to use for authentication.

      • dlbUrl: string

        The url should be in the form dlb://object-key where the object-key can be any alpha-numeric string. The object-key is unique to your account API Key so there is no risk of collision with other users.

      • filePath: string

        Local path of the file you want to upload.

      Returns Promise<void>