POST /api/v1/remediation/{id}/patches
Route source: app/api/v1/remediation/[id]/patches/route.ts. Access: Portal session cookie; tenantContext. Status codes are read from the route implementation.
POST
/api/v1/remediation/{id}/patchesAccess
The session variable in examples is a placeholder. The browser supplies the real session cookie.
Request
JSON body follows validation in route source
| Path | Route details |
|---|---|
path · id | required · {"type":"string"} |
The accepted fields and validation are implemented in app/api/v1/remediation/[id]/patches/route.ts; parsed by fieldsSchema.
Synthetic curl example
curl -i -X POST 'https://portal.rfi-irfos.com/api/v1/remediation/00000000-0000-4000-8000-000000000001/patches' \
-H "Cookie: $PORTAL_SESSION_COOKIE" \
-H 'Content-Type: application/json' \
--data-binary @request.jsonResponse
The handler returns JSON. Response fields are defined in the linked route source.
200
The linked source file contains the authoritative field validation and response structure.
Error codes
The OpenAPI inventory lists no route-specific error status for this method.
Code evidence
app/api/v1/remediation/[id]/patches/route