Articles in this section

How to submit a Job?

  Info

The following does not require CalderaRIP to be open. The jobs won't be imported to CalderaRIP's ImageBar.

 

There are several requests required to submit a Job:

 

Import an Image

  Warning

Submitted images have to be local to the service. In the case of remote services, we recommend using a NAS with identical mount points on all stations.

POST http://localhost:12340/v1/services/bG9jYWxob3N0OjQ1MzQzfmNhbGRlcmFyaXA/images'
--header 'Content-Type: application/json'
--header 'Accept: application/json'
--data '{
"uri": "file:///opt/caldera/var/public/Images/BIG_Sticker_Bird_Blue.pdf"
}'

 

The previous is a synchronous event, so the request will return an image ID when the image is imported:



Submit the Job

POST http://localhost:12340/v1/devices/bG9jYWxob3N0OjQ1MzQzfmNhbGRlcmFyaXB-VElGRi1IYWxmdG9uZQ/jobs'
--header 'Content-Type: application/ json'
--header 'Accept: application/json'
--data '{
"image": "bG9jYWxob3N0OjQ1MzQzfmNhbGRlcmFyaXB-MS4xNjQ2OC4wMDAwMA",
"preset": "bG9jYWxob3N0OjQ1MzQzfmNhbGRlcmFyaXB-VElGRi1IYWxmdG9uZX5bcGF0cmlja3ppbW1lcm5hbm5dTmVzdA"
}'


The request will return the Job ID to track:

Was this article helpful?
0 out of 0 found this helpful