Revise an Active process path's matchPrefix/requiredCapabilities/cycleTimeP95/eligibility/intake
PUT/process-paths/:pathId
pathId and direct are not revisable (direct describes a structural routing fact, not an operator-tunable parameter). Returns 422 if the path is Deactivated — a deactivated path is a closed historical record. A no-op revision (identical matchPrefix, requiredCapabilities, cycleTimeP95, eligibility, and intake) is a successful 200 that does NOT republish ProcessPathUpdated. intake (ADR 0034) is optional here: omitting it keeps the current intake.
Request
Responses
- 200
- 400
- 404
- 409
- 422
- 500
Path revised (or unchanged, if the request was a no-op)
The request body is missing or not valid JSON (including a JSON number too large for eligibility.maxUnitsPerLine's int64 range, or a null element inside requiredCapabilities, eligibility.requiredProductAttributes, eligibility.excludedProductAttributes or intake — every array element must be a string, or a NUL character U+0000 in the body) (malformed-request-body).
No process path exists with this id
concurrent-modification: another request committed a change to this path between the caller's load and this write (optimistic concurrency, ADR 0017). Reload the path and re-apply the revision against the current state.
The path is deactivated, or matchPrefix/requiredCapabilities/cycleTimeP95/intake is invalid
An unexpected error (problem type internal-error): a storage or other infrastructure failure, or a recovered panic. On POST /process-paths a 5xx is never stored under the Idempotency-Key, so a retry with the same key runs again.