Remove job
Hello!
I have requested:
and parsed ID's from response. They are ID:5, ID:6, ID:7 of default group #. So there are 3 files in queue, but i should get rid of them and corresponding jobs/ folder files. None of them are being printed now, I've use stopJob first.
They used to disappear after stopJob like after normal ending... but now they freeze in queue forever.
How to remove the job from queue though the API (not manual!)? All the attempts fail (return empty {} and nothing happens):
curl -k "http://127.0.0.1:3344/printer/api/0000000300827?apikey=c5f0f18f-979c-4bda-b8a1-1147f21b5408&a=removeJob&data=\{'id':7\}"
Thanks for answer
Thanks for answer
Comments
curl -k "http://127.0.0.1:3344/printer/api/0000000300827?apikey=c5f0f18f-979c-4bda-b8a1-1147f21b5408&a=removeJob&data=%7B%22id%22%3A7%7D
I haven't tested if that is korrect that way, just fixed the obvious protocol error.