PreviewNameFormatterFormat
Format Events
Format events using specified formatter
Path Parameters
name*Name
Name of the generator directory
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://loading/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",
"input": null,
"ctx": {}
}
]
}