<h2>API-data changeset process monitoring</h2><br/><div style="overflow-x:auto"><p style="margin: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-family: verdana, geneva; font-size: 10pt;"><span style="color: black;">The endpoints listed in this article can be used to</span> <span style="color: black;">monitor the data changeset activities</span><span style="color: black;">. </span></span></p> <p style="margin: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-family: verdana, geneva; font-size: 10pt;"><span style="color: black;">If there are pending or locked data set jobs it would lead to blocking the approval of new data changesets. All pending and locked data set jobs has to be deleted to unblock the approval of data changesets.</span></span></p> <h4 style="margin: 0cm; background: white; break-after: avoid; font-size: 12pt; font-family: 'Calibri Light', sans-serif; color: #2f5496; font-weight: normal; font-style: italic;"><span style="font-size: 18pt; font-family: verdana, geneva; color: #172b4d; font-style: normal;"> </span></h4> <h4 style="margin: 0cm; background: white; break-after: avoid; font-size: 12pt; font-family: 'Calibri Light', sans-serif; color: #2f5496; font-weight: normal; font-style: italic;"><span style="font-size: 14pt; font-family: verdana, geneva; color: #172b4d; font-style: normal;">Pending data set jobs:</span></h4> <p style="margin: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-family: verdana, geneva;"> </span></p> <p style="margin: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-family: verdana, geneva; color: #172b4d; background: white; font-size: 10pt;">This endpoint lists all the jobs which are in pending status in the Sweagle platform.</span></p> <h2 style="margin-right: 0cm; margin-left: 0cm; font-size: 18pt; font-family: 'Times New Roman', serif; font-weight: bold;"><span style="font-size: 12pt; font-family: verdana, geneva;">Endpoint</span></h2> <table class="MsoNormalTable" style="height: 36px; width: 78.6625%; margin-left: -0.4pt; border-collapse: collapse; border: none; border-color: #000000;" border="1" cellspacing="0" cellpadding="0"><tbody><tr style="height: 18px;"><td style="width: 9.8%; background: #61bd6d; padding: 0cm; height: 18px;"> <p style="margin: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-family: verdana, geneva; font-size: 10pt;"><strong><span style="color: white;">method</span></strong></span></p> </td><td style="width: 90.2%; padding: 0cm; height: 18px;"> <p style="margin: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-family: verdana, geneva; font-size: 10pt;">GET</span></p> </td></tr><tr style="height: 18px;"><td style="width: 9.8%; background: #61bd6d; padding: 0cm; height: 18px;"> <p style="margin: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-family: verdana, geneva; font-size: 10pt;"><strong><span style="color: white;">URI</span></strong></span></p> </td><td style="width: 90.2%; padding: 0cm; height: 18px;"> <p style="margin: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-family: verdana, geneva; font-size: 10pt;"><span style="color: black;"> /</span><span style="color: black;">api/v2/tenant/data-set/unfinished-jobs</span></span></p> </td></tr></tbody></table> <p style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-family: verdana, geneva; font-size: 10pt;"><u>headers</u></span></p> <table class="MsoNormalTable" style="height: 5px; width: 78.4212%; margin-left: -0.4pt; border-collapse: collapse; border: none; border-color: #000000;" border="1" cellspacing="0" cellpadding="0"><tbody><tr style="height: 18px;"><td style="width: 1.04%; padding: 0cm; height: 18px;"> <p style="text-align: center; margin: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-family: verdana, geneva; font-size: 10pt;">! </span></p> </td><td style="width: 15.8%; padding: 0cm; height: 18px;"> <p style="margin: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-family: verdana, geneva; font-size: 10pt;"> Authorization </span></p> </td><td style="width: 31.06%; padding: 0cm; height: 18px;"> <p style="text-align: center; margin: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-family: verdana, geneva; font-size: 10pt;">Bearer <userToken or APIkey></span></p> </td><td style="width: 52.1%; padding: 0cm; height: 18px;"><br /></td></tr></tbody></table> <p style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-family: verdana, geneva; color: #000000; font-size: 10pt;"><u>response</u></span></p> <p style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-family: verdana, geneva; font-size: 10pt;">the response is a JSON containing details of the pending jobs.</span></p> <h2 style="margin-right: 0cm; margin-left: 0cm; font-size: 18pt; font-family: 'Times New Roman', serif; font-weight: bold;"><span style="font-size: 12pt; font-family: verdana, geneva;">Example cURL</span></h2> <table class="MsoTableGrid" style="background: white; border-collapse: collapse; border: none; width: 792px; height: 35px;" border="1" cellspacing="0" cellpadding="0"><tbody><tr><td style="width: 775.625px; border: 1pt solid windowtext; padding: 0cm 5.4pt;" valign="top"> <p style="margin: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-family: verdana, geneva; font-size: 10pt;"><span style="color: #172b4d; background: white;">curl --request GET 'https://</span><span style="color: #172b4d; background: white;">demo</span><span style="color: #172b4d; background: white;">.sweagle.com/api/v2/tenant/data-set/</span><span style="color: black;">unfinished-jobs</span><span style="color: black;">’</span></span></p> <p style="margin: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-family: verdana, geneva; color: #172b4d; background: white; font-size: 10pt;">-H 'accept: application/vnd.siren+json' -H 'authorization: bearer Xeb940d3-ea37-4766-bb6c-f0b83deafb6f'</span></p> </td></tr></tbody></table> <h4 style="margin: 0cm; background: white; break-after: avoid; font-size: 12pt; font-family: 'Calibri Light', sans-serif; color: #2f5496; font-weight: normal; font-style: italic;"><span style="font-size: 18pt; font-family: verdana, geneva; color: #172b4d; font-style: normal;"> </span></h4> <h4 style="margin: 0cm; background: white; break-after: avoid; font-size: 12pt; font-family: 'Calibri Light', sans-serif; color: #2f5496; font-weight: normal; font-style: italic;"><br /></h4> <h4 style="margin: 0cm; background: white; break-after: avoid; font-size: 12pt; font-family: 'Calibri Light', sans-serif; color: #2f5496; font-weight: normal; font-style: italic;"><span style="font-size: 14pt; font-family: verdana, geneva; color: #172b4d; font-style: normal;">Locked data set jobs:</span></h4> <p style="margin: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-family: verdana, geneva;"> </span></p> <p style="margin: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-family: verdana, geneva; color: #172b4d; background: white; font-size: 10pt;">This endpoint lists details of all the locked jobs.</span></p> <h2 style="margin-right: 0cm; margin-left: 0cm; font-size: 18pt; font-family: 'Times New Roman', serif; font-weight: bold;"><span style="font-size: 12pt; font-family: verdana, geneva;">Endpoint</span></h2> <table class="MsoNormalTable" style="height: 39px; width: 78.0703%; margin-left: -0.4pt; border-collapse: collapse; border: none; border-color: #000000;" border="1" cellspacing="0" cellpadding="0"><tbody><tr style="height: 18px;"><td style="width: 9.8%; background: #61bd6d; padding: 0cm; height: 18px;"> <p style="margin: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-family: verdana, geneva; font-size: 10pt;"><strong><span style="color: white;">method</span></strong></span></p> </td><td style="width: 90.2%; padding: 0cm; height: 18px;"> <p style="margin: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-family: verdana, geneva; font-size: 10pt;">GET</span></p> </td></tr><tr style="height: 18px;"><td style="width: 9.8%; background: #61bd6d; padding: 0cm; height: 18px;"> <p style="margin: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-family: verdana, geneva; font-size: 10pt;"><strong><span style="color: white;">URI</span></strong></span></p> </td><td style="width: 90.2%; padding: 0cm; height: 18px;"> <p style="margin: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-family: verdana, geneva; font-size: 10pt;"><span style="color: #172b4d; background: white;"> </span><span style="color: #172b4d; background: white;">/</span><span style="color: black;">api/v2/tenant/data-set/registered-jobs</span></span></p> </td></tr></tbody></table> <p style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-family: verdana, geneva; font-size: 10pt;"><u>headers</u></span></p> <table class="MsoNormalTable" style="height: 22px; width: 78.0267%; margin-left: -0.4pt; border-collapse: collapse; border: none; border-color: #000000;" border="1" cellspacing="0" cellpadding="0"><tbody><tr style="height: 18px;"><td style="width: 1.04%; padding: 0cm; height: 18px;"> <p style="text-align: center; margin: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-family: verdana, geneva; font-size: 10pt;">! </span></p> </td><td style="width: 15.8%; padding: 0cm; height: 18px;"> <p style="margin: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-family: verdana, geneva; font-size: 10pt;"> Authorization </span></p> </td><td style="width: 31.06%; padding: 0cm; height: 18px;"> <p style="text-align: center; margin: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-family: verdana, geneva; font-size: 10pt;">Bearer <userToken or APIkey></span></p> </td><td style="width: 52.1%; padding: 0cm; height: 18px;"><br /></td></tr></tbody></table> <h2 style="margin-right: 0cm; margin-left: 0cm; font-size: 18pt; font-family: 'Times New Roman', serif; font-weight: bold;"><span style="font-family: verdana, geneva; font-size: 10pt;"><span style="color: #000000;">Exa</span>mple cURL</span></h2> <table class="MsoTableGrid" style="width: 794px; border-collapse: collapse; border: none; height: 50px;" border="1" cellspacing="0" cellpadding="0"><tbody><tr style="height: 32.25pt;"><td style="width: 777.625px; border: 1pt solid windowtext; padding: 0cm 5.4pt;" valign="top"> <p style="margin: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-family: verdana, geneva; font-size: 10pt;"><span style="color: #172b4d; background: white;">curl --request GET 'https://</span><span style="color: #172b4d; background: white;">demo</span><span style="color: #172b4d; background: white;">.sweagle.com/api/v2/tenant/data-set/registered-jobs' -H 'accept: application/vnd.siren+json' -H 'authorization: bearer Xeb940d3-ea37-4766-bb6c-f0b83deafb6f'</span></span></p> </td></tr></tbody></table> <p style="margin: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-family: verdana, geneva;"> </span></p> <p style="margin: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-family: verdana, geneva;"> </span></p> <h4 style="margin: 16.3pt 0cm 0cm; background: white; break-after: avoid; font-size: 12pt; font-family: 'Calibri Light', sans-serif; color: #2f5496; font-weight: normal; font-style: italic;"><span style="font-family: verdana, geneva; font-size: 14pt;"><span style="color: #172b4d; font-style: normal;">Deleting </span><span style="color: #172b4d; font-style: normal;">locked/pending data set jobs:</span></span></h4> <p style="margin: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-family: verdana, geneva;"> </span></p> <p style="margin: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-family: verdana, geneva; font-size: 10pt;"><span style="color: #172b4d; background: white;">This endpoint deletes </span><span style="color: #172b4d; background: white;">data set jobs which are in locked or pending status. </span></span></p> <p style="margin: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-family: verdana, geneva; color: #172b4d; background: white; font-size: 10pt;">The ID’s of the locked or pending jobs (from above endpoints) should be passed as parameters.</span></p> <h2 style="margin-right: 0cm; margin-left: 0cm; font-size: 18pt; font-family: 'Times New Roman', serif; font-weight: bold;"><span style="font-size: 12pt; font-family: verdana, geneva;">Endpoint</span></h2> <table class="MsoNormalTable" style="height: 40px; width: 80.1429%; margin-left: -0.4pt; border-collapse: collapse; border: none; border-color: #050202;" border="1" cellspacing="0" cellpadding="0"><tbody><tr style="height: 18px;"><td style="width: 9.8%; background: #61bd6d; padding: 0cm; height: 18px;"> <p style="margin: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-family: verdana, geneva; font-size: 10pt;"><strong><span style="color: white;">method</span></strong></span></p> </td><td style="width: 90.2%; padding: 0cm; height: 18px;"> <p style="margin: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-family: verdana, geneva; font-size: 10pt;">DELETE</span></p> </td></tr><tr style="height: 18px;"><td style="width: 9.8%; background: #61bd6d; padding: 0cm; height: 18px;"> <p style="margin: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-family: verdana, geneva; font-size: 10pt;"><strong><span style="color: white;">URI</span></strong></span></p> </td><td style="width: 90.2%; padding: 0cm; height: 18px;"> <p style="margin: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-family: verdana, geneva; font-size: 10pt;"><span style="color: #172b4d; background: white;"> </span><span style="color: #172b4d; background: white;">/</span><span style="color: black;">api/v2/tenant/data-set/registered-jobs?jobIds=<id1>,<id2>,<id3></span></span></p> </td></tr></tbody></table> <p style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-family: verdana, geneva; font-size: 10pt;"><u>headers</u></span></p> <table class="MsoNormalTable" style="height: 18px; width: 80.5914%; margin-left: -0.4pt; border-collapse: collapse; border: none; border-color: #080101;" border="1" cellspacing="0" cellpadding="0"><tbody><tr style="height: 18px;"><td style="width: 1.04%; padding: 0cm; height: 18px;"> <p style="text-align: center; margin: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-family: verdana, geneva; font-size: 10pt;">! </span></p> </td><td style="width: 15.8%; padding: 0cm; height: 18px;"> <p style="margin: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-family: verdana, geneva; font-size: 10pt;"> Authorization </span></p> </td><td style="width: 31.06%; padding: 0cm; height: 18px;"> <p style="text-align: center; margin: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-family: verdana, geneva; font-size: 10pt;">Bearer <userToken or APIkey></span></p> </td><td style="width: 50.1334%; padding: 0cm; height: 18px;"><br /></td></tr></tbody></table> <p style="margin: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-family: verdana, geneva; font-size: 10pt;"> </span></p> <h2 style="margin-right: 0cm; margin-left: 0cm; font-size: 18pt; font-family: 'Times New Roman', serif; font-weight: bold;"><span style="font-family: verdana, geneva; font-size: 10pt;">Example cURL</span></h2> <table class="MsoTableGrid" style="border-collapse: collapse; border: none; height: 56px;" border="1" width="823" cellspacing="0" cellpadding="0"><tbody><tr><td style="width: 806.625px; border: 1pt solid windowtext; padding: 0cm 5.4pt;" valign="top"> <p style="margin: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-family: verdana, geneva; font-size: 10pt;"><span style="color: #172b4d; background: white;">curl --request GET 'https://</span><span style="color: #172b4d; background: white;">demo</span><span style="color: #172b4d; background: white;">.sweagle.com/</span><span style="color: black;">api/v2/tenant/data-set/registered-jobs?jobIds=<id1>,<id2>,<id3></span><span style="color: black;">’</span><span style="color: #172b4d; background: white;"> -H 'accept: application/vnd.siren+json' -H 'authorization: bearer Xeb940d3-ea37-4766-bb6c-f0b83deafb6f'</span></span></p> </td></tr></tbody></table> <p style="margin: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-family: verdana, geneva;"> </span></p></div>