mirror of
https://github.com/gosticks/octoprint-open-api.git
synced 2026-08-16 22:40:23 +00:00
32 lines
927 B
YAML
32 lines
927 B
YAML
summary: Retrieve information about the current job
|
|
operationId: getCurrentJob
|
|
description: Retrieve information about the current job (if there is one).
|
|
tags:
|
|
- Jobs
|
|
requestBody:
|
|
content:
|
|
application/json:
|
|
schema:
|
|
type: object
|
|
properties:
|
|
job:
|
|
$ref: ../../components/schemas/job/JobInfo.yaml
|
|
progress:
|
|
$ref: ../../components/schemas/job/ProgressInfo.yaml
|
|
state:
|
|
type: string
|
|
enum:
|
|
- Operational
|
|
- Printing
|
|
- Pausing
|
|
- Paused
|
|
- Cancelling
|
|
- Error
|
|
- Offline
|
|
description: >-
|
|
A textual representation of the current state of the job, i.e. “Operational”, “Printing”, “Pausing”, “Paused”, “Cancelling”, “Error” or “Offline”.
|
|
responses:
|
|
"200":
|
|
description: >-
|
|
No error
|