LIST - Fetch all organisational logs
GET {{baseUrl}}/audit/admin/logs?offset=<integer>&limit=10&logType=<integer>
This endpoint is used to list all logs with pagination for an organisation defined in the consent building block.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
offset | string | Requested index for start of resources to be provided in response requested by client | |
limit | number | Number of items returned per page. Requested number of resources to be provided in response requested by client | |
logType | string | Type of the log |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"logs":[[{"id":"\u003cstring\u003e","type":"\u003cinteger\u003e","typeStr":"\u003cstring\u003e","userId":"\u003cstring\u003e","username":"\u003cstring\u003e","timestamp":"\u003cstring\u003e","log":"\u003cstring\u003e"},{"id":"\u003cstring\u003e","type":"\u003cinteger\u003e","typeStr":"\u003cstring\u003e","userId":"\u003cstring\u003e","username":"\u003cstring\u003e","timestamp":"\u003cstring\u003e","log":"\u003cstring\u003e"}],[{"id":"\u003cstring\u003e","type":"\u003cinteger\u003e","typeStr":"\u003cstring\u003e","userId":"\u003cstring\u003e","username":"\u003cstring\u003e","timestamp":"\u003cstring\u003e","log":"\u003cstring\u003e"},{"id":"\u003cstring\u003e","type":"\u003cinteger\u003e","typeStr":"\u003cstring\u003e","userId":"\u003cstring\u003e","username":"\u003cstring\u003e","timestamp":"\u003cstring\u003e","log":"\u003cstring\u003e"}]],"pagination":{"currentPage":"\u003cinteger\u003e","totalItems":"\u003cinteger\u003e","totalPages":"\u003cinteger\u003e","limit":"\u003cinteger\u003e","hasPrevious":"\u003cboolean\u003e","hasNext":"\u003cboolean\u003e"}}