logs

Post a log entry

Changed on

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

post/logs

Request

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"
  }
}

Changes

    • breaking

      added the new required request property /

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • warning

      removed the request property /

    • warning

      removed the request property //

    • warning

      removed the request property //

    • warning

      removed the request property //

    • warning

      removed the request property //

    • warning

      removed the request property //

    • warning

      removed the request property //

    • warning

      removed the request property /

    • warning

      removed the request property /

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • info

      added the required property / to the response with the status