Audit Log
Entry list
List of Audit Log entries<br><br> To specify filters use ?filter[name]=value syntax (e.g. ?filter[type]=app.added,app.edited)<br><br> To return csv instead of json, use Accept: text/csv header
get/api/audit-log/v1/entries
Request
- Base URLhttps://example.piwik.pro
- AuthOAuth 2Client credentialsToken URL/auth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
limitinteger
Limit for pagination
offsetinteger
Offset for pagination
Filter items by provided criteria
{
"type": [
"app.added"
],
"date_from": "2020-01-01T00:00:00Z",
"date_to": "2020-01-03T00:00:00Z",
"author_id": [
"6edb1e3c-4c43-4760-ab76-682ad83146be"
],
"subject_id": [
"6edb1e3c-4c43-4760-ab76-682ad83146be"
]
}sort'type' | 'email' | 'created_at' | 'ip' | 'subject_id' | '-type' | '-email' | '-created_at' | '-ip' | '-subject_id'
Sort by field
Response
OK
Example response
{
"data": [
{
"id": "6edb1e3c-4c43-4760-ab76-682ad83146be",
"attributes": {
"type": "app.added",
"payload": {
"id": "4faa8732-8877-40aa-b772-7b243bf60423",
"name": "Important name"
},
"author_id": "6edb1e3c-4c43-4760-ab76-682ad83146be",
"author_email": "john@doe.com",
"subject_id": "6edb1e3c-4c43-4760-ab76-682ad83146be"
}
}
]
}Changes
No recorded changes to this operation across all 2 revisions of this API.