Returns every stuck work item in a selection to the queue.
The dead-letter queue's select-all. The selection is explicit ids or a filter (stage, status, admission window); it is resolved to a concrete set and that set's size must equal `confirmCount`, otherwise the call is refused with 409 and the real count — so a filter is only ever acted on as the items the operator saw. Only DEAD and FAILED items qualify; an item a pass claimed in between is left alone and reported in the affected count.
Authorization
Bearer JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.
In: header
Path Parameters
The trigger identifier.
uuidThe tenant identifier
The selection, an optional note, and the confirmed count.
What to re-drive. Required.
Optional operator note recorded on every transition.
length <= 4000How many items the caller expects the selection to match. The call is refused (409, with the real count) when it does not — the guard against acting on a set that changed between the read and the write.
int32Response Body
curl -X POST "https://api.fruxon.com/v1/tenants/string/triggers/497f6eca-6276-4993-bfeb-53cbbbba6f08/ledger/items:redrive" \ -H "Content-Type: application/json" \ -d '{ "selection": {}, "confirmCount": 0 }'{
"matched": 0,
"affected": 0
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}Deliberately excludes every work item in a selection, with one reason.
"Drain this stage" is this verb with a stage filter. Same selection and confirmation rules as the re-drive; only READY, FAILED and DEAD items qualify, never one a pass holds.
Fetches a single audit revision.
Returns the immutable snapshot stored at the given `revision`. Used by the trigger history pane to drive the diff view and the "Restore from this revision" affordance. Revision rows are append-only, so the response shape is stable for the lifetime of the trigger.