ngageoint / scale

Processing framework for containerized algorithms
http://ngageoint.github.io/scale/
Apache License 2.0
105 stars 45 forks source link

Returning json response from cancel view #1828

Closed emimaesmith closed 4 years ago

emimaesmith commented 4 years ago
Checklist

Affected app(s)

ingest

Description of change

Updated the response from the scans/cancel/{id} to return a JSON response instead of a string of the canceled job ids. Fields are id (of the scan that was canceled) and canceled_jobs (array of job ids that were canceled). Ex: {'id': 1, 'canceled_jobs': [1,2,3]}