Skip to content

PATCH /api/v1/tickets/{guid}

Status: GA Access: token required API contract: 0.3.0 · capability 2026-09-03.1 View as Markdown Open in Claude Open in ChatGPT

Transition Ticket

Resolve / dismiss / promote a ticket, state-machine-guarded.

Owner-only. An illegal transition (e.g. closing an already-closed ticket) → 409.

Auth: Authorization: Bearer <token> required

Terminal window
curl -sS -X PATCH "https://entherium.duckdns.org:8443/api/v1/tickets/<guid>" \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{"action":"resolve","resolution":"fixed in build 0.3.1; verified on the live URL"}'

The contract carries no example for this response; schema: TicketRead. Field-level shape: interactive explorer.

TicketRead — Successful Response

FieldTypeDescription
areastring | null (opt.)
closed_atstring | null (opt.)
componentstring | null (opt.)
contract_guidinteger | null (opt.)
createtimestring
descriptionstring | null (opt.)
duplicate_ofinteger | null (opt.)
evidenceobject (opt.)
fingerprintstring
first_seenstring | null (opt.)
guidinteger
kindstring
last_seenstring | null (opt.)
occurrence_countinteger
promoted_tostring | null (opt.)
reporterstring | null (opt.)
reproobject (opt.)
resolutionstring | null (opt.)
severitystring | null (opt.)
spec_refstring | null (opt.)
statusstring
titlestring
vote_countinteger
ParameterInRequiredTypeDefaultConstraintsDescription
guidpathyesinteger——
Idempotency-Keyheadernostring—uuidOptional.
FieldTypeRequiredDescription
action"resolve" | "dismiss" | "promote" | "target" | "reopen" | "edit"yes
descriptionstring | nullno
promoted_tostring | nullno
resolutionstring | nullno
severity"sev1" | "sev2" | "sev3" | "sev4" | nullno
spec_refstring | nullno
titlestring | nullno

Example:

{
"action": "resolve",
"resolution": "fixed in build 0.3.1; verified on the live URL"
}
CodeMeaningBody
401Missing or invalid authentication credentialsErrorResponse
422Validation ErrorHTTPValidationError

Every error body is {detail, code?, request_id, doc_url} — request_id is the value to quote, doc_url points at the Errors reference.