ImportTask [NEW]
List ImportTask
GET
https://api.idol.io/api/v2/import-tasks
Headers
Authorization*
string
Bearer <token>
Content-Type*
string
application/vnd.api+json
{
"data": [
{
"id": "<ID>",
"type": "import-tasks",
"links": {
"self": "http://api.idol.io/api/v2/import-tasks/<ID>"
},
"attributes": {
"created-at": "2019-03-22T12:26:32.113+01:00",
"updated-at": "2019-03-22T12:26:32.113+01:00",
"precision": "16",
"master-type": "cd",
"support-number": null,
"status": "completed",
"url": 'https://<download_record_url>',
"message": null,
"md5": "82ec2f5bc5372ef72332606fa74209d1"
},
"relationships": {
"attachable": {
"links": {
"self": "http://api.idol.io/api/v2/import-tasks/<ID>/relationships/attachable",
"related": "http://api.idol.io/api/v2/import-tasks/<ID>/attachable"
},
"data": {
"type": "products",
"id": "<ID>"
}
}
}
},
{
"id": "<ID>",
"type": "import-tasks",
"links": {
"self": "http://api.idol.io/api/v2/import-tasks/<ID>"
},
"attributes": {
"created-at": "2019-03-22T12:26:32.363+01:00",
"updated-at": "2019-03-22T12:26:32.363+01:00",
"precision": "16",
"master-type": "cd",
"support-number": null,
"status": "uploaded",
"cover-url": "/dragonfly/W1siZiIsIjIwMTkvMDMvMjIvUG9jaGV0dGUgQWxidW0vcmdiMjAxOTAzMjItMzg3OC0xM21pNWU3LmpwZ18xNTUzMjUzOTgyLjQ5NDgwMzIuanBnIl0sWyJwIiwidGh1bWIiLCIzMDB4MzAwIyIseyJmb3JtYXQiOiJqcGcifV1d.jpg?sha=b488283aa2bc62af",
"url": "http://hettinger.net/reyes_purdy",
"message": null
},
"relationships": {
"attachable": {
"links": {
"self": "http://api.idol.io/api/v2/import-tasks/<ID>/relationships/attachable",
"related": "http://api.idol.io/api/v2/import-tasks/<ID>/attachable"
},
"data": {
"type": "tracks",
"id": "<ID>"
}
}
}
},
{
"id": "<ID>",
"type": "import-tasks",
"links": {
"self": "http://api.idol.io/api/v2/import-tasks/<ID>"
},
"attributes": {
"created-at": "2019-03-22T12:26:32.363+01:00",
"updated-at": "2019-03-22T12:26:32.363+01:00",
"precision": "16",
"master-type": "cd",
"support-number": null,
"status": "uploaded",
"cover-url": "/dragonfly/W1siZiIsIjIwMTkvMDMvMjIvUG9jaGV0dGUgQWxidW0vcmdiMjAxOTAzMjItMzg3OC0xM21pNWU3LmpwZ18xNTUzMjUzOTgyLjQ5NDgwMzIuanBnIl0sWyJwIiwidGh1bWIiLCIzMDB4MzAwIyIseyJmb3JtYXQiOiJqcGcifV1d.jpg?sha=b488283aa2bc62af",
"url": "http://hettinger.net/reyes_purdy",
"message": null
},
"relationships": {
"attachable": {
"links": {
"self": "http://api.idol.io/api/v2/import-tasks/<ID>/relationships/attachable",
"related": "http://api.idol.io/api/v2/import-tasks/<ID>/attachable"
},
"data": {
"type": "asset-attachment",
"id": "<ID>"
}
}
}
}
],
"meta": {
"record-count": 3,
"page-count": 1
},
"links": {
"first": "http://api.idol.io/api/v2/import-tasks?page%5Bnumber%5D=1&page%5Bsize%5D=20",
"last": "http://api.idol.io/api/v2/import-tasks?page%5Bnumber%5D=1&page%5Bsize%5D=20"
}
}
Filter resources
api/v2/import-tasks?filter[product-id]=1
Get ImportTask
GET
https://api.idol.io/api/v2/import-tasks/:id
Path Parameters
id*
number
ID of the ImportTask
Headers
Authorization*
string
Bearer <token>
Content-Type*
string
application/vnd.api+json
{
"data": {
"id": "<ID>",
"type": "import-tasks",
"links": {
"self": "http://api.idol.io/api/v2/import-tasks/1"
},
"attributes": {
"created-at": "2019-03-22T12:26:32.113+01:00",
"updated-at": "2019-03-22T12:26:32.113+01:00",
"precision": "16",
"master-type": "cd",
"support-number": null,
"status": "completed",
"url": 'https://<download_record_url>',
"message": null,
"md5": "82ec2f5bc5372ef72332606fa74209d1"
},
"relationships": {
"attachable": {
"links": {
"self": "http://api.idol.io/api/v2/import-tasks/<ID>/relationships/attachable",
"related": "http://api.idol.io/api/v2/import-tasks/<ID>/attachable"
},
"data": {
"type": "products",
"id": "<ID>"
}
}
}
}
}
Create ImportTask
POST
https://api.idol.io/api/v2/import-tasks
Headers
Authorization*
string
Bearer <token>
Content-Type*
string
application/vnd.api+json
Request Body
master-type*
string
cd, hd, dolby_atmos, apple_motion_art_desktop or apple_motion_art_mobile
attachable_type*
string
Object type : Product, Track, Video, AssetAttachment
attachable_id*
integer
Object ID
precision
number
16 or 24 (bit)
status
string
uploaded
url
string
The secured url where the audio / video files was imported
md5
string
md5 checksum of the file
{
"data": {
"id": <ID>,
"type": "import-tasks",
"links": {
"self": "http://api.idol.io/api/v2/import-tasks/3"
},
"attributes": {
"created-at": "2019-03-22T16:33:38.866+01:00",
"updated-at": "2019-03-22T16:33:38.866+01:00",
"precision": "24",
"master-type": "hd",
"support-number": null,
"status": "uploaded",
"url": 'https://<download_record_url>',
"message": null
},
"relationships": {
"attachable": {
"links": {
"self": "http://api.idol.io/api/v2/import-tasks/<ID>/relationships/attachable",
"related": "http://api.idol.io/api/v2/import-tasks/<ID>/attachable"
},
"data": {
"type": "products",
"id": "<ID>"
}
}
}
}
}
Last updated