get_activities
Retrieve activity records such as package uploads, downloads, link generations, and transfers, with filters for type, state, date range, and package or portal IDs.
Instructions
Get activities. Activities are records of events that happened with MASV resources like packages, links and transfers. Each activity has assosiated events and can be in one of several states: pending, started, complete, cancelled, error. Full list of activity types: package_upload_to_masv (package upload from user or connected storage integration to MASV), package_download_from_masv (user downloads package), link_generation (new download link is added to the package), package_transfer_masv_to_cloud (package transfer from MASV to connected storage integration)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number of paginated response. First page is 1 | |
| sort | No | Sort results ascending (fieldname) or descending (-fieldname) | |
| limit | No | Number of records returned per page | |
| portals | No | Retrieve records that belong to any of the specified portal IDs | |
| package_id | No | Retrieve records that belongs to the specified package ID | |
| teamspaces | No | Retrieve records where teamspace id is equal to one of these values | |
| activity_types | No | Retrieve records that has any of the specified activity types. Activities: package_upload_to_masv - package upload from user or connected storage integration to MASV, package_download_from_masv - user downloading package from MASV, link_generation - adding new download link for the package, package_transfer_masv_to_cloud - package transfer to connected storage integration | |
| created_at_end | No | Retrieve records that were created before (YYYY-MM-DDTHH:mm:SS) | |
| activity_states | No | Retrieve records that has any of the specified activity states | |
| created_at_start | No | Retrieve records that were created after (YYYY-MM-DDTHH:mm:SS) |