Optional
Trailing *id segment, when the endpoint addressed one row.
*id
True when the endpoint's terminal segment was listen (infers --listen).
listen
--listen
Canonical slash path with the leading /rest and any trailing id/listen removed.
/rest
Trailing
*idsegment, when the endpoint addressed one row.