API Endpoint Reference / Print Jobs
Ignore an HMS fault or resume an HMS-paused print
POST https://api.printhiv3d.com/v1/print-jobs/{id}/recovery-actions
Operation ID recoverPrintJob. Requires the control API key scope.
Applies to the exact active Bambu Start Print attempt. Supply the observed fault ID and one of its allowed actions. An unresolved legacy Stop returns 409 stop_unresolved. Recovery returns 409 stop_pending while an acknowledged Stop awaits proof the print ended, or until 30 seconds after an unresolved HMS Stop's publish cutoff. If the recovery action misses its publish cutoff, it returns 409 recovery_action_expired. A 200 indicates device acknowledgement. A 502 leaves the outcome unknown.
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | integer | Yes | |
Request body
Content type application/json.
| Field | Type | Required | Description |
|---|
action | "hmsIgnore" | "hmsResume" | Yes | |
startAttemptId | uuid | Yes | |
faultId | string | Yes | |
Responses
| Status | Description |
|---|
200 | Default Response |
400 | Default Response |
403 | Default Response |
404 | Default Response |
409 | Default Response |
502 | Default Response |
503 | Default Response |
200 response fields
| Field | Type | Required | Description |
|---|
jobId | integer | Yes | |
startAttemptId | uuid | Yes | |
action | "hmsIgnore" | "hmsResume" | Yes | |
400 response fields
| Field | Type | Required | Description |
|---|
error | string | Yes | |
reason | string | Yes | |
message | string | Yes | |
403 response fields
| Field | Type | Required | Description |
|---|
error | string | Yes | |
code | string | No | |
message | string | No | |
requestId | string | No | |
404 response fields
| Field | Type | Required | Description |
|---|
error | string | Yes | |
reason | string | Yes | |
message | string | Yes | |
409 response fields
| Field | Type | Required | Description |
|---|
error | "recovery_attempt_conflict" | "stop_pending" | "stop_unresolved" | "recovery_action_busy" | "recovery_action_expired" | "recovery_fault_changed" | "command_unsupported" | "recovery_device_refused" | "recovery_host_upgrade_required" | Yes | |
reason | string | Yes | |
message | string | Yes | |
502 response fields
| Field | Type | Required | Description |
|---|
error | string | Yes | |
reason | string | Yes | |
message | string | Yes | |
503 response fields
| Field | Type | Required | Description |
|---|
error | string | Yes | |
reason | string | Yes | |
message | string | Yes | |
Example 200 response
{
"jobId": 48213,
"startAttemptId": "8b4d1f6a-2c9e-4a37-b5e0-7d3c9a1f2e64",
"action": "hmsIgnore"
}