Get Event Params Schema For Sandbox
GET/v1/sandbox/:sandbox_id/event-params-schema/:event_name
Get Custom Event Params Schema definition by event_name, requires sandbox:config:view permission
Request
Path Parameters
Event Params Schema event name
Sandbox ID
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
custom_data
object
Custom data associated with the resource
Possible values: non-empty and <= 125 characters
Name of the resource
Possible values: <= 250 characters
Description of the resource
Account ID of the user who last modified the resource
Timestamp of when the resource was last modified
Timestamp of when the resource was created
Name of the event, unique for sandbox_id
Default value: [object Object]
JSONSchema definition of the setting
Possible values: [enabled, disabled, deny]
An enumeration.
{
"custom_data": {},
"name": "string",
"description": "string",
"last_modified_account_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"last_modified_timestamp": "2024-07-29T15:51:28.071Z",
"created_timestamp": "2024-07-29T15:51:28.071Z",
"event_name": "string",
"value_jsonschema": {},
"state": "enabled"
}
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"
}
]
}