logs

Post a log entry

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

post/logs

Request body

servicestring required

Name of the service

timeStampstring required
nameSpacestring required

Example request

{
  "service": "MyService",
  "timeStamp": "1234567",
  "nameSpace": "outerSpace",
  "payload": {
    "tenant": "1",
    "source": "SomeSource",
    "object": "SomeObject",
    "action": "foo",
    "subject": "Test Subject",
    "details": "A human-readable detailed description"
  }
}

Response

The newly created Log.

servicestring required

Name of the service

timeStampstring required
nameSpacestring required

Example response

{
  "service": "MyService",
  "timeStamp": "1234567",
  "nameSpace": "outerSpace",
  "payload": {
    "tenant": "1",
    "source": "SomeSource",
    "object": "SomeObject",
    "action": "foo",
    "subject": "Test Subject",
    "details": "A human-readable detailed description"
  }
}

Changes