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]}
Checklist
manage.py test
passesAffected 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) andcanceled_jobs
(array of job ids that were canceled). Ex:{'id': 1, 'canceled_jobs': [1,2,3]}