Activity Log
[GET] /activity
Retrieves the latest data from the Activity Log monitor
URL Params:
- page_num
- The starting page number to retrieve data from
- page_size
- The amount of data to retrieve in the response payload. Maximum 50.
- timestamp_start
- The lower threshold unix timestamp to retrieve data from e.g. 1609927426
- timestamp_end
- The upper threshold unix timestamp to retrieve data from e.g. 1609937426
Example
{{url}}/qbench/api/v1/activity?page_num=1&page_size=2×tamp_start=1609927426
Response:
{ "data": [ { "_display_fields_dict": { "plain_text_value": null }, "activity_action": "Create", "activity_data_type": "API Token", "activity_data_type_custom_id": null, "activity_data_type_id": null, "activity_id": 171043503, "api_client": { "_display_fields_dict": { "plain_text_value": "Test" }, "display_id": "d4986db3-be66-4302-98ba-577cbb1bb3f7", "authorized_redirect_uri": "", "client_type": "Server-Side Web Application", "confidential": true, "cors_origin": "", "customer": null, "customer_id": null, "deleted": false, "id": "d4986db3-be66-4302-98ba-577cbb1bb3f7", "name": "Test" }, "api_client_id": "d4986db3-be66-4302-98ba-577cbb1bb3f7", "contact": null, "contact_id": null, "ip_address": "127.0.0.1", "success_status": "Successful (HTTP: 200)", "timestamp": "09/07/2021 03:35 PM", "user": null, "user_id": null }, { "_display_fields_dict": { "plain_text_value": null }, "activity_action": "View", "activity_data_type": "Invoice Template", "activity_data_type_custom_id": null, "activity_data_type_id": null, "activity_id": 170016185, "api_client": null, "api_client_id": null, "contact": null, "contact_id": null, "ip_address": "127.0.0.1", "success_status": "Successful (HTTP: 200)", "timestamp": "09/03/2021 07:41 PM", "user": { "_display_fields_dict": { "plain_text_value": "Angelica Sanchez" }, "id": 95, "first_name": "Angelica", "last_name": "Sanchez", "email": "angelica@junctionconcepts.com" }, "user_id": 95 } ], "total_pages": 38340, "total_count": 191697, "page_number": 1, "qb85df": "b025b32bce" }
Comments
0 comments
Please sign in to leave a comment.