Retrieve all logs
Changed onThis will only return Logs that pertain to the current user's tenant. OIH admins can see all logs. The 'filter' query parameter can be used with arbitrary keys beyond those listed here, which will be matched within the events' payload object.
Request
- Base URLhttp://auditlog.openintegrationhub.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Amount of logs per page returned. Default is 10.
Number of the page to be returned. Default is 1.
Filter by tenant. Only available to admins.
Filter by service.
Response
A list of logs.
Example response
{
"data": [
{
"headers": {
"serviceName": "flow-repository",
"createdAt": "1564408888",
"name": "flowrepo.flow.created"
},
"payload": {
"user": "TestUser",
"tenant": "TestTenant",
"flowId": "TestFlow"
}
}
],
"meta": {
"page": 1,
"perPage": 10,
"total": 1,
"totalPages": 1
}
}Changes
- info
removed the non-success response with the status
- info
- 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
deleted the
queryrequest parameterfilter[nameSpace] - warning
deleted the
queryrequest parametersearch - 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