Upload a Dolby Atmos

In order to upload a Dolby Atmos record, simply create a new ImportTask object, associate the audio file (we accept .wav as well as .zip formats) and use the master_type attribute to stipulate that you want to import a Dolby Atmos master audio.

Here is an example of a query to create a Dolby Atmos record:

response = RestClient.post(
            "https://api.idol.io/api/v2/import-tasks",
           {
              "data": {
                "attributes": {
                  "precision": '24',
                  "master-type": 'dolby_atmos',
                  "status": 'uploaded',
                  "url": 'https://<download_record_url>',
                },
                "relationships": {
                  "attachable": {
                    "data": {
                      "id": "<ID>",
                      "type": "tracks"
                    }
                  }
                },
                "type": "import-tasks"
              }
            }.to_json,
            "Authorization": "Bearer <token>",
            "Content-Type": "application/vnd.api+json"
          )

import_task = JSON.parse(response)['data']
# => [{"id"=>"<ID>", "type"=>"import-tasks"...}]

You can find more details about the ImportTask resource here.

Last updated