Validate Event V1
POST/events/v1/validate
Validate a single event, return validation result and the event json will be posted to Kafka
Request
Header Parameters
IP Address hint
- application/json
Body
required
- MOD1
- MOD1
- MOD1
- MOD1
Unique Event ID for this instance of the event
Possible values: non-empty and <= 128 characters
Type of event to process this as.
Time the event was triggered
Event specific parameters
custom_data
object
Event custom data
user_id
object
User who submitted the event
anyOf
string
Possible values: non-empty and <= 128 characters
session_id
object
Session ID to associate the event with
anyOf
string
Possible values: non-empty and <= 128 characters
correlation_id
object
Correlation ID to associate the event with
anyOf
string
Possible values: non-empty and <= 128 characters
client_ip
object
Client IP associated with the event
anyOf
string
Possible values: non-empty and <= 128 characters
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
- MOD1
- MOD1
- MOD1
Is event data valid against JsonSchema?
error_code
object
Validation error code
anyOf
string
context
object
Detailed validation error context
anyOf
string
output_event
object
Event json string that will be sent to Kafka topic
anyOf
string
{
"success": true,
"error_code": "string",
"context": "string",
"output_event": "string"
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}