Guardrails
PreviewGet a freeze
One freeze with its status and what it reaches.
GET
cookie
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
freezeId*stringFormat
uuidThe freeze.
application/json- response
appliesToRestores*booleanid*stringFormat
uuidname*stringreason?stringscope*array<>kind*stringValue in
"one_time""recurring"startsAt*stringFormat
date-timeendsAt?stringFormat
date-timeschedule?The days and hours a recurring freeze holds, in its time zone. A window does not cross midnight.
timeZone*stringrunningReleases*stringValue in
"pause""finish"bypass*array<>notify*array<>status*stringValue in
"active""planned""recurring""ended"until?stringWhen an active freeze ends.
Format
date-timenext?stringWhen a planned or recurring freeze next holds.
Format
date-timecover*canceledAt?stringFormat
date-timecreatedBy*createdAt*stringFormat
date-timeupdatedAt*stringFormat
date-timecurl -X GET 'https://wardn.example.com/api/v1/freezes/497f6eca-6276-4993-bfeb-53cbbbba6f08'Example Response
{ "appliesToRestores": true, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "reason": "string", "scope": [ { "field": "class", "op": "is", "value": "string", "label": "string" } ], "kind": "one_time", "startsAt": "2019-08-24T14:15:22Z", "endsAt": "2019-08-24T14:15:22Z", "schedule": { "days": [ "mon" ], "start": "string", "end": "string" }, "timeZone": "string", "runningReleases": "pause", "bypass": [ { "who": "string", "can": "bypass", "needs": "string" } ], "notify": [ { "who": "string", "when": "string" } ], "status": "active", "until": "2019-08-24T14:15:22Z", "next": "2019-08-24T14:15:22Z", "cover": { "deployments": 0, "apps": 0, "clusters": 0, "leftOut": 0, "summary": "string", "lowered": [ "string" ] }, "canceledAt": "2019-08-24T14:15:22Z", "createdBy": { "id": "string", "name": "string" }, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}Create a freeze POST
A one-time window (`startsAt` to `endsAt`) or a recurring one (days and hours in a time zone, from `startsAt`, until `endsAt` when given), over the places its conditions reach. Deployments in a freeze are held by the org freezes guardrail. The bypass rows say who may bypass the freeze, ask for a byp
Replace a freeze PUT
Replaces everything but who made it. A canceled freeze cannot be changed.