sites
Activity Logs
Get a list of your site's activity logs to track user actions and assist in debugging.Logs, available for the previous 30 days, can shed light on user activities on your site. Please note that we provide up to 50 log messages per page in our responses.
post/sites/{id}/logs/activity
Request
- Base URLhttps://my.pressable.com/v1
- Authnone declared
- TypeScripthttps://skmtc.dev/pressable/apis/pressable-api-documentation-v1/docs/sites/:id/logs/activity/post.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
idinteger required
Request body
Response
Successful Response
Example response
{
"message": "Success",
"data": [
{
"id": 4644222,
"timestamp": "2023-09-28T11:02:55.141Z",
"accountEmail": "systems@example.com",
"ipAddress": null,
"userAgent": "PressableRuntime",
"name": "report.page_views",
"description": "Page Views Report",
"source": "systems",
"message": "Importing page view data"
},
{
"id": 4515941,
"timestamp": "2023-09-27T10:47:55.476Z",
"accountEmail": "systems@example.com",
"ipAddress": null,
"userAgent": "PressableRuntime",
"name": "performance_report.screenshot",
"description": "Performance Report Screenshot",
"source": "systems",
"message": "Imported performance report desktop and mobile screenshot"
},
{
"id": 4476895,
"timestamp": "2023-09-27T02:06:54.624Z",
"accountEmail": "systems@example.com",
"ipAddress": null,
"userAgent": "PressableRuntime",
"name": "report.space_usage",
"description": "Space Usage Report",
"source": "systems",
"message": "Imported space usage data: Filesystem 11939840 bytes | Database 12701498 bytes"
},
{
"id": 4123048,
"timestamp": "2023-09-24T23:02:51.986Z",
"accountEmail": "systems@example.com",
"ipAddress": null,
"userAgent": "PressableRuntime",
"name": "report.page_views",
"description": "Page Views Report",
"source": "systems",
"message": "Importing page view data"
}
],
"page": {
"currentPage": 1,
"nextPage": 2,
"lastPage": 7,
"perPage": 5,
"totalItems": 35
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.