Get all logs
Returns audit log entries created within a time range, so you can review configuration and data changes across your account.
When to use. See who changed what and when. To review the history of a single record, pass object_type and object_id together.
Parameters. from and till (both required) set the start and end of the time range. Optionally filter by user_id, or by object_type and object_id together. You can also set limit (between 1 and 500) and fields to choose which fields each entry returns.
Returns. { "logs": [ ... ] }, where each entry has an ID, creation timestamp, user ID, message, object type, and object ID.
Request
- Base URLhttps://api.commpeak.com/dialer
- URLhttps://api.commpeak.com/dialer/{sub_domain}/api/logs
- AuthAPI key in header Authorization
Path parameters
Dialer Name (subdomain)
Query parameters
Return logs created on or after this date and time.
Return logs created on or before this date and time.
Object type to filter by (required when object_id is set). Use PUT /logs to retrieve the full list of available object types.
ID of the related object to filter by (required when object_type is set).
Return only logs created by this user.
Maximum number of entries to return.
Semicolon-separated list of fields each entry returns.
Response
Successful Response
Example response
{
"logs": [
{
"created_at": "2020-01-02 11:55:18",
"id": 140795,
"message": "logged in <a href=\"/user/edit/id/276\" >user</a>",
"object_id": 276,
"object_type": "Model_DbTable_Users",
"user_id": 276
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.