Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 1.24 KB

activity-log.md

File metadata and controls

49 lines (33 loc) · 1.24 KB

Activity Log

activity_log_controller = client.activity_log

Class Name

ActivityLogController

Get Log Entries

Gets activity log entries.

def get_log_entries(self,
                   start_index=None,
                   limit=None,
                   min_date=None,
                   has_user_id=None)

Parameters

Parameter Type Tags Description
start_index int Query, Optional Optional. The record index to start at. All items with a lower index will be dropped from the results.
limit int Query, Optional Optional. The maximum number of records to return.
min_date datetime Query, Optional Optional. The minimum date. Format = ISO.
has_user_id bool Query, Optional Optional. Filter log entries if it has user id, or not.

Response Type

ActivityLogEntryQueryResult

Example Usage

result = activity_log_controller.get_log_entries()

Errors

HTTP Status Code Error Description Exception Class
401 Unauthorized APIException
403 Forbidden APIException