logs
Post a log entry
Optional endpoint to add a log entry via post instead as message
post/logs
Request body
Example request
{
"service": "MyService",
"timeStamp": "1234567",
"nameSpace": "dev-oih-ns",
"payload": {
"tenant": "12sfeasd978",
"source": "ExampleUser",
"object": "flow",
"action": "createFlow",
"subject": "ExampleFlow",
"details": "A flow with the id ExampleFlow was created"
}
}Response
The newly created Log.
Example response
{
"service": "MyService",
"timeStamp": "1234567",
"nameSpace": "dev-oih-ns",
"payload": {
"tenant": "12sfeasd978",
"source": "ExampleUser",
"object": "flow",
"action": "createFlow",
"subject": "ExampleFlow",
"details": "A flow with the id ExampleFlow was created"
}
}