usage_snapshots
Usage Snapshots
List Usage Snapshots
Changed onList Usage Snapshots
get/usage_snapshots
Request
- Base URLhttps://app.files.com/api/rest/v1
- URLhttps://app.files.com/api/rest/v1/usage_snapshots
- Authnone declared
Query parameters
cursorstring
Used for pagination. When a list request has more records available, cursors are provided in the response headers X-Files-Cursor-Next and X-Files-Cursor-Prev. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
per_pageinteger
Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
Response
A list of UsageSnapshots objects.
Example response
[
{
"id": 1,
"start_at": "2000-01-01T01:00:00Z",
"end_at": "2000-01-01T01:00:00Z",
"high_water_user_count": 1,
"transformation_credits_usage": 1,
"current_storage": 1,
"high_water_storage": 1,
"root_storage": 1,
"deleted_files_counted_in_minimum": 1,
"deleted_files_storage": 1,
"total_billable_usage": 1,
"total_billable_transfer_usage": 1,
"bytes_sent": 1,
"sync_bytes_received": 1,
"sync_bytes_sent": 1,
"usage_by_top_level_dir": [
{
"dir": "dir",
"size": 100,
"count": 10
}
]
}
]Changes
- info
api tag
Usage Snapshotsadded
- info
- warning
deleted the
queryrequest parameteraction - warning
deleted the
queryrequest parameterpage - info
api operation id
getUsageSnapshotsremoved and replaced withGetUsageSnapshots - info
added the new optional
queryrequest parametercursor
- warning