ReleaseGatePolicyCreate
Fields
Create a new draft policy.
4 fields
description- string or null
name· required- string
project_id- string (uuid) or null
rules- PolicyDocument
Raw schema (JSON)
{
"description": "Create a new draft policy.",
"properties": {
"description": {
"anyOf": [
{
"maxLength": 50000,
"type": "string"
},
{
"type": "null"
}
],
"title": "Description"
},
"name": {
"maxLength": 255,
"minLength": 2,
"title": "Name",
"type": "string"
},
"project_id": {
"anyOf": [
{
"format": "uuid",
"type": "string"
},
{
"type": "null"
}
],
"title": "Project Id"
},
"rules": {
"$ref": "#/components/schemas/PolicyDocument"
}
},
"required": [
"name"
],
"title": "ReleaseGatePolicyCreate",
"type": "object"
}Used by endpoints
Section titled “Used by endpoints”One endpoint sends or returns this schema, on its own or inside another schema.
POST/api/v1/release-gate-policies— Create Policy
Used by schemas
Section titled “Used by schemas”No other schema contains this one.
More details
Section titled “More details”- Specification: OpenAPI JSON