ReviewGateRead
Fields
GET/PUT /api/v1/settings/review-gate. Writes nothing on GET.
7 fields
channels· required- array of GatedChannel
enforced· required- boolean
enforced_from- string (date-time) or null
env_override· required- boolean
source· required- string
updated_at- string (date-time) or null
would_refuse· required- WouldRefuseSummary
Raw schema (JSON)
{
"description": "GET/PUT ``/api/v1/settings/review-gate``. Writes nothing on GET.",
"properties": {
"channels": {
"items": {
"$ref": "#/components/schemas/GatedChannel"
},
"title": "Channels",
"type": "array"
},
"enforced": {
"title": "Enforced",
"type": "boolean"
},
"enforced_from": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Enforced From"
},
"env_override": {
"title": "Env Override",
"type": "boolean"
},
"source": {
"title": "Source",
"type": "string"
},
"updated_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Updated At"
},
"would_refuse": {
"$ref": "#/components/schemas/WouldRefuseSummary"
}
},
"required": [
"enforced",
"source",
"env_override",
"would_refuse",
"channels"
],
"title": "ReviewGateRead",
"type": "object"
}Used by endpoints
Section titled “Used by endpoints”2 endpoints send or return this schema, on its own or inside another schema.
GET/api/v1/settings/review-gate— Get Review GatePUT/api/v1/settings/review-gate— Update Review Gate
Used by schemas
Section titled “Used by schemas”No other schema contains this one.
More details
Section titled “More details”- Specification: OpenAPI JSON