PolicySimulateRequest
Fields
Simulate a draft policy against a past run.
2 fields
policy_document· required- PolicyDocument
run_id· required- string (uuid)
Raw schema (JSON)
{
"description": "Simulate a draft policy against a past run.",
"properties": {
"policy_document": {
"$ref": "#/components/schemas/PolicyDocument"
},
"run_id": {
"format": "uuid",
"title": "Run Id",
"type": "string"
}
},
"required": [
"run_id",
"policy_document"
],
"title": "PolicySimulateRequest",
"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/simulate— Simulate Policy
Used by schemas
Section titled “Used by schemas”No other schema contains this one.
More details
Section titled “More details”- Specification: OpenAPI JSON