Get Rh Event Schema
GET/v1/rh-event-schema/:event_name
Get the standard event schema by event name, requires org:config:view permissions
Request
Path Parameters
event_name Event Namerequired
name of the rh event
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
event_name Event Name (string)required
Name of the event, unique for sandbox_id
value_jsonschema object
Default value: [object Object]
JSONSchema definition of the setting
state State (string)
Possible values: [enabled, disabled, deny]
An enumeration.
description Description (string)required
Description of the event
{
"event_name": "string",
"value_jsonschema": {},
"state": "enabled",
"description": "string"
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
msg Message (string)required
type Error Type (string)required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...