Go to file
2020-12-17 16:27:00 +01:00
bindings/python too much :) 2019-01-06 23:05:24 +01:00
docker re-design 2020-12-17 16:27:00 +01:00
snippets import processing with keyword tagging instead of flagging SEEN/UNSEEN 2019-04-24 20:39:13 +02:00
docker-build.sh re-design 2020-12-17 16:27:00 +01:00
README.md cosmetics 2020-01-17 18:48:04 +01:00
requirements.txt re-design 2020-12-17 16:27:00 +01:00

gulag

Gulag quarantine

get all QuarMail metadata

curl -v -s http://127.0.0.1:9090/api/v1/quarmails | jq

get all QuarMail metadata + RFC822 messages

curl -v -s http://127.0.0.1:9090/api/v1/quarmails?rfc822_message=1 | jq

get QuarMails metadata by (jqgrid-style) filter

 curl -v -s -G --data-urlencode 'filters={"groupOp":"OR","rules":[{"field":"hdr_subject","op":"eq","data":"996 test from quar mit sync xyz"}]}' http://127.0.0.1:9090/api/v1/quarmails | jq

update metadata of a QuarMail (e.g. sandbox_results) by ID

 curl -v -s -X PATCH -d '{"cf_meta":"12345abc"}' http://127.0.0.1:9090/api/v1/quarmails/311|jq

delete a QuarMail by ID

 curl -v -s -X DELETE http://127.0.0.1:9090/api/v1/quarmails/141 | jq

get metadata of a QuarMail by ID

 curl -v -s http://127.0.0.1:9090/api/v1/quarmails/136 | jq

get metadata of a QuarMail by ID + RFC822 message

 curl -v -s http://127.0.0.1:9090/api/v1/quarmails/136?rfc822_message=1 | jq

get metadata of a QuarMail by ID + RFC822 message headers

 curl -v -s http://127.0.0.1:9090/api/v1/quarmails/136?headers=1 | jq

Bounce QuarMail by ID

 curl -v -s -X POST http://127.0.0.1:9090/api/v1/quarmails/136/bounce | jq

get all URIs of a QuarMail

curl -v -s http://127.0.0.1:9090/api/v1/quarmails/136/uris | jq

get an URI of a QuarMail by ID

curl -v -s http://127.0.0.1:9090/api/v1/quarmails/136/uris/249 | jq

get metadata of all attachments QuarMail-ID

curl -v -s http://127.0.0.1:9090/api/v1/quarmails/136/attachments | jq

get metadata of an attachments by ID (quarmail + attachment)

curl -v -s http://127.0.0.1:9090/api/v1/quarmails/136/attachments/71 | jq

get metadata of an attachment by ID (quarmail + attachment) + attachment data

curl -v -s http://127.0.0.1:9090/api/v1/quarmails/136/attachments/71?data=1 | jq