Create custom event for entity
POST/api/v1/catalog/:tag/custom-events
Create custom event for entity
Request
Path Parameters
The entity tag (x-cortex-tag
) that identifies the entity.
- application/json
Body
required
customData
object
Optional property to store additional data
Optional property to store additional data
Optional description of custom event
Time when event occurred
Name for custom event
Type of custom event
Optional URL associated with custom event
Responses
- 200
- 400
- 404
Successfully created custom event
- */*
- Schema
- Example (from schema)
Schema
customData
object
Optional property to store additional data
Optional property to store additional data
Optional description of custom event
Time when event occurred
Name for custom event
Type of custom event
Optional URL associated with custom event
Automatically generated identifier
{
"customData": {},
"description": "string",
"timestamp": "2024-05-10T18:54:55.353Z",
"title": "Created K8s pod",
"type": "POD_CREATION",
"url": "https://cortex.io",
"uuid": "d853c6e0-1bca-40bf-a264-db5d4ee38d77"
}
Bad Request
- */*
- Schema
- Example (from schema)
Schema
customData
object
Optional property to store additional data
Optional property to store additional data
Optional description of custom event
Time when event occurred
Name for custom event
Type of custom event
Optional URL associated with custom event
Automatically generated identifier
{
"customData": {},
"description": "string",
"timestamp": "2024-05-10T18:54:55.353Z",
"title": "Created K8s pod",
"type": "POD_CREATION",
"url": "https://cortex.io",
"uuid": "d853c6e0-1bca-40bf-a264-db5d4ee38d77"
}
Entity not found
- */*
- Schema
- Example (from schema)
Schema
customData
object
Optional property to store additional data
Optional property to store additional data
Optional description of custom event
Time when event occurred
Name for custom event
Type of custom event
Optional URL associated with custom event
Automatically generated identifier
{
"customData": {},
"description": "string",
"timestamp": "2024-05-10T18:54:55.353Z",
"title": "Created K8s pod",
"type": "POD_CREATION",
"url": "https://cortex.io",
"uuid": "d853c6e0-1bca-40bf-a264-db5d4ee38d77"
}