Get Jobs State and Metadata
GET /v3/jobs/{id}
Get job metadata. Returns data on the selected job. If the job was successfully parsed, parsed parameters also are returned.
Headers:
Authentication: Bearer %access_token%
Authentication:
Grant_type: login_info
Scopes: [ jobs ]
Response body:
{
"id": 0,
"name": "string",
"date": "string",
"dateTime": "string",
"favorite": true,
"cost": 0,
"duplex": true,
"color": true,
"pageCount": 0,
"colorCount": 0,
"copies": 0,
"paper": {
"state": 5
}
}
GET /v3/jobs/{id}/data
Get job data. Returns a webstream containing the job. Range can be specified by bytes=<range-start>-<range-end>
Headers:
Content-Type: application/json
Authentication: Bearer %access_token%
Authentication:
Grant_type: client_credentials
Scopes: [ print ]
GET /v3/jobs/{id}/state
Get job state.
Headers:
Content-Type: application/json
Authentication: Bearer %access_token%
Authentication:
Grant_type: login_info
Scopes: [ jobs ]
Response body:
{
"state": "processing"
}