Returns the jobs of an order.
FIELD | DESCRIPTION |
orderId |
Required. String. The Gofilex order _id. |
EMEA Portal
https://genie.portal.gofilex.com/api/publication/v1/jobs/by/order
curl -vX POST https://genie.portal.gofilex.com/api/publication/v1/jobs/by/order -d @order.json --header "Content-Type: application/json" --header "Authorization: Bearer BXrnipNekltq-sHFxpjdd90S17th2Q5mSaRf_4-Rayx"
APAC Portal
https://genie.portal.apac.gofilex.com/api/publication/v1/jobs/by/order
curl -vX POST https://genie.portal.apac.gofilex.com/api/publication/v1/jobs/by/order -d @order.json --header "Content-Type: application/json" --header "Authorization: Bearer BXrnipNekltq-sHFxpjdd90S17th2Q5mSaRf_4-Rayx"
MPS Portal
https://genie.portal.mps.gofilex.com/api/publication/v1/jobs/by/order
curl -vX POST https://genie.portal.mps.gofilex.com/api/publication/v1/jobs/by/order -d @order.json --header "Content-Type: application/json" --header "Authorization: Bearer BXrnipNekltq-sHFxpjdd90S17th2Q5mSaRf_4-Rayx"
NORAM Portal
https://genie.portal.gofilex.bydeluxe.com/api/publication/v1/jobs/by/order
curl -vX POST https://genie.portal.gofilex.bydeluxe.com/api/publication/v1/jobs/by/order -d @order.json --header "Content-Type: application/json" --header "Authorization: Bearer BXrnipNekltq-sHFxpjdd90S17th2Q5mSaRf_4-Rayx"
order.json
{
"orderId": "zjALZe8DJWLz9Nf2a"
}
[
{
"_id": "ZciB8cEDk7WJ7GGLs",
"_type": "email",
"_running": false,
"_completed": true,
"_runs": 1,
"_retries": 0,
"_priority": 0,
"_dependencies": {
"weak": true,
"resolved": [
"z95iMZghJRzEipfvc",
"gTXWPeGHiWSBxMHzS"
],
"remaining": [],
"rejected": []
},
"_category": "outbound",
"payload": {
"description": "698246_LAST-NIGHT-IN-SOHO-SMPTE_EN-CAN"
},
"_state": "completed",
"_run": {
"_id": "NN3NadZ9poLtnXtSJ",
"start": "2023-04-22T15:43:09.586Z",
"update": "2023-04-22T15:43:09.586Z",
"finish": "2023-04-22T15:43:10.034Z"
}
},
{
"_id": "gTXWPeGHiWSBxMHzS",
"_type": "link",
"_running": false,
"_completed": true,
"_runs": 1,
"_retries": 0,
"_priority": 0,
"_dependencies": {
"weak": false,
"resolved": [
"iiYegFcR3F5TdBCDo"
],
"remaining": [],
"rejected": []
},
"_category": "outbound",
"payload": {
"description": "Wolf_TLR-A_S_EN-XX_INT-TD_51_2K_FF_20211018_DTB_SMPTE_OV",
"digitalCinemaPackage": {
"uuid": "5440274c-4d07-49d0-9696-c3460f6abc64",
"description": "Wolf_TLR-A_S_EN-XX_INT-TD_51_2K_FF_20211018_DTB_SMPTE_OV",
"contentKind": "trailer",
"assets": [
{
"uuid": "07cf45d3-2fc8-488e-aafc-bfdc68d97924",
"hash": "NoncBV/dvWtPLtl99ImMsWbRkFQ=",
"role": "picture",
"size": 2717115521,
"path": "698217_Wolf_smpte_unenc_07cf45d3_2K_S_R001_pic.mxf"
},
{
"uuid": "739ca91b-4fe8-49b3-8609-979de508ef3f",
"hash": "4JJ5/XMU6lGzt9y35NiRd0buaBs=",
"role": "composition-playlist",
"size": 12401,
"path": "CPL_739ca91b-4fe8-49b3-8609-979de508ef3f.xml"
},
{
"uuid": "cf4108bc-d9d5-4e22-9ef0-678090d2f4af",
"hash": "epgTOrVxxUedSkZpcSk6+eQgXRg=",
"role": "sound",
"size": 157810566,
"path": "698217_Wolf_smpte_unenc_R001_snd.mxf"
},
{
"uuid": "e6be8d0e-0f64-4339-a90f-47f1254264cf",
"hash": "9SL3kkLfW9rXuyTekVN5RrxfFYI=",
"role": "packing-list",
"size": 11781,
"path": "PKL_e6be8d0e-0f64-4339-a90f-47f1254264cf.xml"
},
{
"uuid": "5440274c-4d07-49d0-9696-c3460f6abc64",
"hash": "+1ZxZOdLVc5aAtL7RTtFmJ9hOAo=",
"role": "asset-map",
"size": 1790,
"path": "ASSETMAP.xml"
}
],
"standard": "SMPTE"
}
},
"_state": "completed",
"_run": {
"_id": "P6kAiMkEHQeHZWNv2",
"start": "2023-04-22T15:43:08.389Z",
"update": "2023-04-22T15:43:08.389Z",
"finish": "2023-04-22T15:43:08.552Z"
}
},
{
"_id": "iiYegFcR3F5TdBCDo",
"_type": "download",
"_running": false,
"_completed": true,
"_runs": 1,
"_retries": 2,
"_priority": 0,
"_dependencies": {
"weak": false,
"resolved": [],
"remaining": [],
"rejected": []
},
"_category": "outbound",
"payload": {
"description": "Wolf_TLR-A_S_EN-XX_INT-TD_51_2K_FF_20211018_DTB_SMPTE_OV",
"digitalCinemaPackage": {
"uuid": "5440274c-4d07-49d0-9696-c3460f6abc64",
"description": "Wolf_TLR-A_S_EN-XX_INT-TD_51_2K_FF_20211018_DTB_SMPTE_OV",
"contentKind": "trailer",
"assets": [
{
"uuid": "07cf45d3-2fc8-488e-aafc-bfdc68d97924",
"hash": "NoncBV/dvWtPLtl99ImMsWbRkFQ=",
"role": "picture",
"size": 2717115521
},
{
"uuid": "739ca91b-4fe8-49b3-8609-979de508ef3f",
"hash": "4JJ5/XMU6lGzt9y35NiRd0buaBs=",
"role": "composition-playlist",
"size": 12401
},
{
"uuid": "cf4108bc-d9d5-4e22-9ef0-678090d2f4af",
"hash": "epgTOrVxxUedSkZpcSk6+eQgXRg=",
"role": "sound",
"size": 157810566
},
{
"uuid": "e6be8d0e-0f64-4339-a90f-47f1254264cf",
"hash": "9SL3kkLfW9rXuyTekVN5RrxfFYI=",
"role": "packing-list",
"size": 11781
},
{
"uuid": "5440274c-4d07-49d0-9696-c3460f6abc64",
"hash": "+1ZxZOdLVc5aAtL7RTtFmJ9hOAo=",
"role": "asset-map",
"size": 1790
}
],
"size": 2874952059
}
},
"_state": "completed",
"_run": {
"_id": "WcZ9Zwcis5pDTaifv",
"start": "2023-04-22T15:42:08.367Z",
"update": "2023-04-22T15:42:58.711Z",
"progress": {
"download": {
"done": false,
"percentage": 100,
"skip": 0,
"speed": 0,
"step": 2874952059,
"total": 2874952059
},
"hash": {
"done": false,
"percentage": 100,
"skip": 0,
"speed": 0,
"step": 2874952059,
"total": 2874952059
}
},
"finish": "2023-04-22T15:43:02.809Z"
}
},
{
"_id": "yiKf2ubdywPXmYcae",
"_type": "download",
"_running": false,
"_completed": true,
"_runs": 1,
"_retries": 2,
"_priority": 0,
"_dependencies": {
"weak": false,
"resolved": [],
"remaining": [],
"rejected": []
},
"_category": "outbound",
"payload": {
"description": "Belfast_TLR-2_S_EN-XX_CA_51_2K_FF_20211018_DTB_SMPTE_OV",
"digitalCinemaPackage": {
"uuid": "e984eb11-b66d-451c-9cd3-0e44a236c3ff",
"description": "Belfast_TLR-2_S_EN-XX_CA_51_2K_FF_20211018_DTB_SMPTE_OV",
"contentKind": "trailer",
"assets": [
{
"uuid": "0c584b0a-0e79-4b15-bc80-ecc86f2f187b",
"hash": "NXXjomwlUPsxZY55VgZopY81xTs=",
"role": "picture",
"size": 1652267280
},
{
"uuid": "3d6c18eb-a8f3-4dbf-8fac-6dcc9a8a4c27",
"hash": "fZRumjdZqNVeym5BJqiwLkovYRU=",
"role": "packing-list",
"size": 11780
},
{
"uuid": "7874d691-78a9-41f5-97e2-1d956a9c5dbc",
"hash": "VxAV9ZGajh3vk410rMnszt+w8Ys=",
"role": "sound",
"size": 177498766
},
{
"uuid": "f4dbfef3-c3a0-4775-9bec-cae3ff865ef4",
"hash": "LnflNks5GJOXJut7TD3meK5Dw7U=",
"role": "composition-playlist",
"size": 12401
},
{
"uuid": "e984eb11-b66d-451c-9cd3-0e44a236c3ff",
"hash": "AxZUmnIPN3+GBFrXyMf4S7o+GT0=",
"role": "asset-map",
"size": 1810
}
],
"size": 1829792037
}
},
"_state": "completed",
"_run": {
"_id": "5meSt82X96doJrdKF",
"start": "2023-04-22T15:40:08.326Z",
"update": "2023-04-22T15:40:48.953Z",
"progress": {
"download": {
"done": false,
"percentage": 100,
"skip": 0,
"speed": 0,
"step": 1829792037,
"total": 1829792037
},
"hash": {
"done": false,
"percentage": 100,
"skip": 0,
"speed": 0,
"step": 1829792037,
"total": 1829792037
}
},
"finish": "2023-04-22T15:40:53.052Z"
}
},
{
"_id": "z95iMZghJRzEipfvc",
"_type": "link",
"_running": false,
"_completed": true,
"_runs": 1,
"_retries": 0,
"_priority": 0,
"_dependencies": {
"weak": false,
"resolved": [
"yiKf2ubdywPXmYcae"
],
"remaining": [],
"rejected": []
},
"_category": "outbound",
"payload": {
"description": "Belfast_TLR-2_S_EN-XX_CA_51_2K_FF_20211018_DTB_SMPTE_OV",
"digitalCinemaPackage": {
"uuid": "e984eb11-b66d-451c-9cd3-0e44a236c3ff",
"description": "Belfast_TLR-2_S_EN-XX_CA_51_2K_FF_20211018_DTB_SMPTE_OV",
"contentKind": "trailer",
"assets": [
{
"uuid": "0c584b0a-0e79-4b15-bc80-ecc86f2f187b",
"hash": "NXXjomwlUPsxZY55VgZopY81xTs=",
"role": "picture",
"size": 1652267280,
"path": "698219_Belfast_smpte_unenc_2K-S-smpte-unenc_2K_S_R001_pic.mxf"
},
{
"uuid": "3d6c18eb-a8f3-4dbf-8fac-6dcc9a8a4c27",
"hash": "fZRumjdZqNVeym5BJqiwLkovYRU=",
"role": "packing-list",
"size": 11780,
"path": "PKL_3d6c18eb-a8f3-4dbf-8fac-6dcc9a8a4c27.xml"
},
{
"uuid": "7874d691-78a9-41f5-97e2-1d956a9c5dbc",
"hash": "VxAV9ZGajh3vk410rMnszt+w8Ys=",
"role": "sound",
"size": 177498766,
"path": "698219_Belfast_smpte_unenc_51-8ch_R001_snd.mxf"
},
{
"uuid": "f4dbfef3-c3a0-4775-9bec-cae3ff865ef4",
"hash": "LnflNks5GJOXJut7TD3meK5Dw7U=",
"role": "composition-playlist",
"size": 12401,
"path": "CPL_f4dbfef3-c3a0-4775-9bec-cae3ff865ef4.xml"
},
{
"uuid": "e984eb11-b66d-451c-9cd3-0e44a236c3ff",
"hash": "AxZUmnIPN3+GBFrXyMf4S7o+GT0=",
"role": "asset-map",
"size": 1810,
"path": "ASSETMAP.xml"
}
],
"standard": "SMPTE"
}
},
"_state": "completed",
"_run": {
"_id": "RTPsQTMKDuff9v6Ro",
"start": "2023-04-22T15:40:58.352Z",
"update": "2023-04-22T15:40:58.352Z",
"finish": "2023-04-22T15:40:58.530Z"
}
}
]
In case of a failed run the _run
field will look like this:
...
_state: "failed",
...
"_run": {
"_id": "wqaHiq5QB3whsB6z7",
"_jobId": "CA9k6ERje5GtfhdM4",
"attempt": -1,
"topical": true,
"start": "2023-04-22T15:11:33.690Z",
"update": "2023-04-22T18:29:57.061Z",
"progress": {
"download": {
"done": false,
"percentage": 93.50952096617789,
"skip": 227960620144,
"speed": 0,
"step": 267556276681,
"total": 286127309729
},
"hash": {
"done": false,
"percentage": 93.50952096617789,
"skip": 227960620144,
"speed": 0,
"step": 267556276681,
"total": 286127309729
}
},
"error": {
"code": "ENOENT",
"message": "ENOENT, rename '/data/gofilex/library/340d4bd0-6909-43d4-ad34-981bd09e5619.pic.part'",
"name": "Error",
"stack": "Error: ENOENT, rename '/data/gofilex/library/340d4bd0-6909-43d4-ad34-981bd09e5619.pic.part'"
},
"finish": "2023-04-22T18:30:01.078Z"
}
...
Final thing to note is that for cleaned orders, there shouldn't be any job available to fetch anymore as these are removed from our database.