This is an async job execution API.
A job is submitted through a POST request, which returns a job object. The job object contains the following fields
Once the job has finished, the result can be queried separately.
It is the API users responsibility to poll the API and check the job completion status.
The API requires authentication using a bearer token. Get you API key at https://iam.rooniq.com.
| Method | Location | Description | Parameters | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| POST (multipart/formdata) | /job | Create a generic vision job |
|
||||||||
| GET | /job/{id} | Get a vision pipeline job with id | |||||||||
| DELETE | /job/{id} | Delete a vision pipeline job with id. If the job is running this operation will fail |
|||||||||
| GET | /result/{jobid} | Get the result from a completed job with id | |||||||||
| POST (multipart/formdata) | /measure-parcel | Create a parcel measurement job.
After submission the job is handled as any other job |
|
export ROONIQ_API_KEY=<INSERT-API-KEY-HERE>
export ROONIQ_API_URL=https://api.rooniq.com
Submit a job:
curl -X POST -H "Authorization: Bearer $ROONIQ_API_KEY" $ROONIQ_API_URL/job -F config=@config.json -F frame=@frame.json -F depth=@frame.csv
Query the job status:
curl -X GET -H "Authorization: Bearer $ROONIQ_API_KEY" $ROONIQ_API_URL/job/$JOB_ID
Once a job is completed, get the result:
curl -X GET -H "Authorization: Bearer $ROONIQ_API_KEY" $ROONIQ_API_URL/result/$JOB_ID
Retrieve your license:
curl -X GET -H "Authorization: Bearer $ROONIQ_API_KEY" $ROONIQ_API_URL/license