A Blitline job is an atomic unit of work on Blitline.
The only thing you can submit to Blitline is jobs.
Jobs consist of a chunk of JSON defining some operations you wish to perform.
A job consists of 4 primary elements:
- application_id : Your Blitline application ID which you get when you sign up for Blitline
- src : A image URL that will be the image you are performing your Blitline job on
- functions : An array of operations (like crop, resize, etc) to be performed on this job.
- v : Version number of API (current is 1.21)
There are many more options that can be added here, but these are the primary ones that should be added when submitting jobs.
So, the JSON to submit would look something like this:
You would take this JSON and submit it via POST to http(s)://api.blitline.com/job
You can use something like curl:
…or even our own Gist Runner: http://www.blitline.com/docs/gist_runner?gist_id=3765044