v6

latestOpenAPI 3.0.0Apache 2.0raw.githubusercontent.com2021-08-19329.6 KB
logs

Post a log entry

Optional endpoint to add a log entry via post instead as message

post/logs

Request body

payloadobject required

An arbitrary JSON object containing the event data

Example request

{
  "headers": {
    "serviceName": "flow-repository",
    "createdAt": "1564408888",
    "name": "flowrepo.flow.created"
  },
  "payload": {
    "user": "TestUser",
    "tenant": "TestTenant",
    "flowId": "TestFlow"
  }
}

Response

The newly created Log.

payloadobject required

An arbitrary JSON object containing the event data

Example response

{
  "headers": {
    "serviceName": "flow-repository",
    "createdAt": "1564408888",
    "name": "flowrepo.flow.created"
  },
  "payload": {
    "user": "TestUser",
    "tenant": "TestTenant",
    "flowId": "TestFlow"
  }
}