Post a log entry
Changed onOptional endpoint to add a log entry via post instead as message
Request
- Base URLhttp://auditlog.openintegrationhub.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"headers": {
"serviceName": "flow-repository",
"createdAt": "1564408888",
"name": "flowrepo.flow.created"
},
"payload": {
"user": "TestUser",
"tenant": "TestTenant",
"flowId": "TestFlow"
}
}Response
The newly created Log.
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
- breaking