Retrieves operation-level schema validation settings on the zone
/zones/{zone_id}/api_gateway/operations/{operation_id}/schema_validation
get
API Shield Schema Validation 2.0
api-shield-schema-validation-retrieve-operation-level-settings
null null [
{
"in": "path",
"name": "zone_id",
"required": true,
"schema": {
"description": "Identifier",
"example": "023e105f4ecef8ad9ca31a8372d0c353",
"maxLength": 32,
"readOnly": true,
"type": "string"
}
},
{
"description": "Identifier for the operation",
"example": "f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
"in": "path",
"name": "operation_id",
"required": true,
"schema": {
"format": "uuid",
"maxLength": 36,
"readOnly": true,
"type": "string"
}
}
] null {
"200": {
"content": {
"application/json": {
"schema": {
"properties": {
"mitigation_action": {
"description": "When set, this applies a mitigation action to this operation\n\n - `log` log request when request does not conform to schema for this operation\n - `block` deny access to the site when request does not conform to schema for this operation\n - `none` will skip mitigation for this operation\n - `null` indicates that no operation level mitigation is in place, see Zone Level Schema Validation Settings for mitigation action that will be applied\n",
"enum": [
"log",
"block",
"none",
null
],
"example": "block",
"nullable": true,
"type": "string"
}
},
"type": "object"
}
}
},
"description": "Operation-level schema validation settings response"
},
"4XX": {
"content": {
"application/json": {
"schema": {
"allOf": [
{
"properties": {
"errors": {
"allOf": [
{
"example": [],
"items": {
"properties": {
"code": {
"minimum": 1000,
"type": "integer"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object",
"uniqueItems": true
},
"type": "array"
}
],
"example": [
{
"code": 7003,
"message": "No route for the URI"
}
],
"minLength": 1
},
"messages": {
"allOf": [
{
"example": [],
"items": {
"properties": {
"code": {
"minimum": 1000,
"type": "integer"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object",
"uniqueItems": true
},
"type": "array"
}
],
"example": []
},
"result": {
"nullable": true,
"type": "object"
},
"success": {
"description": "Whether the API call was successful",
"example": false,
"type": "boolean"
}
},
"required": [
"success",
"errors",
"messages",
"result"
],
"type": "object"
}
]
}
}
},
"description": "Operation-level schema validation settings response"
}
} [
{
"api_email": [],
"api_key": []
}
]