Properties
path
Defined in: typescript/src/config/Transport.ts:27 Relative API path. Example: /executereadonlypath:string
method
Defined in: typescript/src/config/Transport.ts:32 HTTP method.readonlymethod:"GET"|"POST"|"PUT"|"PATCH"|"DELETE"
body?
Defined in: typescript/src/config/Transport.ts:37 Optional request body.readonlyoptionalbody?:unknown
headers?
Defined in: typescript/src/config/Transport.ts:42 Optional request headers.readonlyoptionalheaders?:Readonly<Record<string,string>>
nonThrowingStatuses?
Defined in: typescript/src/config/Transport.ts:57 HTTP status codes that must be returned as an ordinary TransportResponse instead of being mapped to a thrown ParmanaError subclass, because this specific route’s response body at that specific status is not the sharedreadonlyoptionalnonThrowingStatuses?: readonlynumber[]
{error, code?} envelope.
Default: none (every status >= 400 throws). Today exactly one route
needs this: POST /policies/validate returns {valid, errors} — not
{error, code?} — at 400 and 404 (but the shared envelope still
applies to 401, generated by caller-auth middleware before this
route’s own handler ever runs). See PolicyApi.validate and
/api-reference/error-handling.