Eventum Logo

Eventum

PreviewNameFormatterFormat

Format Events

Format events using specified formatter

POST
/preview/{name}/formatter/format

Path Parameters

name*string

Name of the generator directory

Request Body

application/json

formatter_config*||
events*array<>
Items1 <= items
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://eventum.example.com/api/preview/string/formatter/format" \  -H "Content-Type: application/json" \  -d '{    "formatter_config": {      "format": "plain"    },    "events": [      "string"    ]  }'
{
  "events": [
    "string"
  ],
  "formatted_count": 0,
  "errors": [
    {
      "message": "string",
      "original_event": "string"
    }
  ]
}
Empty
Empty
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}