Bridge Jobs API Reference
Enterprise API endpoints for managing bridge jobs.
Create a Bridge Targeted Job
/devices/{bridgeId}/jobsPath Parameters
| Parameter | Type | Required |
|---|---|---|
| bridgeId | string | Yes |
Body Parameters
| Parameter | Type | Required |
|---|---|---|
| jobType | string | Optional |
Request Example
Responses
OK
Bad Request
Unauthorized, invalid or expired authorization token
Response
Forbidden, accessToken scope must contain 'igloohomeapi/get-device-status-bridge-proxied-job'
Bridge Not Found
'{ error: 'Unable to contact bridge as it appears to be offline' }'
Unsupported Media Type
Too Many Requests. '{ error: 'Too many requests. Please try again after N seconds.' }'. A 'Retry-After' header (seconds) is included.
Internal Server Error
No example response recorded for this status code.
Create a Bridge Proxied Job
/devices/{deviceId}/jobs/bridges/{bridgeId}Path Parameters
| Parameter | Type | Required |
|---|---|---|
| deviceId | string | Yes |
| bridgeId | string | Yes |
Body Parameters
| Parameter | Type | Required |
|---|---|---|
| jobData | string | Optional |
| jobType | string | Optional |
Request Example
Responses
Job Created
Bad Request
Unauthorized, invalid or expired authorization token
Response
Forbidden, accessToken scope must contain the scope for the given 'jobType' (see table below)
Bridge or Device Not Found
Not Acceptable
Unsupported Media Type
Internal Server Error
No example response recorded for this status code.
Get Job Status
/jobs/{jobId}Returns the status of a previously created job.
Path Parameters
| Parameter | Type | Required |
|---|---|---|
| jobId | string | Yes |
Request Example
Responses
OK
Unauthorized, invalid or expired authorization token
Response
Forbidden, accessToken scope must contain 'igloohomeapi/get-job-status'
Not Found
'jobId' is not a valid MongoDB ObjectId
Internal Server Error
No example response recorded for this status code.