Schema
UpdateRuleRequest
Type:
object
Partial update. Only fields present in the body are updated; absent fields are left unchanged.
actions
Schema:
RuleActions
decision
Schema:
RuleDecision
http_resources
Schema:
HTTPResources
name
Type:
string
Human-readable label for the rule.
All schema constraints and annotations
{
"description": "Human-readable label for the rule.",
"examples": [
"allow research mirrors"
],
"type": "string"
}resources
Schema:
RuleResources
All schema constraints and annotations
{
"description": "Partial update. Only fields present in the body are updated; absent fields are left unchanged.",
"not": {
"required": [
"resources",
"http_resources"
],
"type": "object"
},
"properties": {
"actions": {
"$ref": "#/components/schemas/RuleActions"
},
"decision": {
"$ref": "#/components/schemas/RuleDecision"
},
"http_resources": {
"$ref": "#/components/schemas/HTTPResources"
},
"name": {
"description": "Human-readable label for the rule.",
"examples": [
"allow research mirrors"
],
"type": "string"
},
"resources": {
"$ref": "#/components/schemas/RuleResources"
}
},
"type": "object"
}