API kill - Timtroll/Queues GitHub Wiki

Done action requests === Example === POST/GET request url: "/kill" { action: kill, md5: ccd648ff6a3af3294871244153b05cc8 (md5 hash for indentify current job) }

answer

{ status: 200, (status according http standard - 200 process killed) reason: 'asd', (description of killed reason) message: 'Kill success', (full description of status) }

or ERROR

{ status: 400 } (status according http standard - bad request ) { status: 404 } (status according http standard - job for kill is not exists ) or { status: 503, (status according http standard) reason: 'description of error' }