Skip to content

Create Rh Event Schema

POST
/v1/rh-event-schema

Create a standard event schema, requires globalAdmin:: permissions

Authorizations

Request Body required

object
event_name
required

Name of the event, unique for sandbox_id

string
value_jsonschema

JSONSchema definition of the setting

object
state

Indicate the state of the schema, enabled, disabled or deny

string
Allowed values: enabled disabled deny
description
required

Description of the event

string

Responses

200

Successful Response

object
event_name
required

Name of the event, unique for sandbox_id

string
value_jsonschema

JSONSchema definition of the setting

object
state

Indicate the state of the schema, enabled, disabled or deny

string
Allowed values: enabled disabled deny
description
required

Description of the event

string

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string