Sha256: 8b316c1cbcf3d2a8333b27076c4cf0ceec31cdad4d749e3682551c41e1e99e84
Contents?: true
Size: 1.69 KB
Versions: 45
Compression:
Stored size: 1.69 KB
Contents
# UsageSnapshot ## Example UsageSnapshot Object ``` { "id": 1, "start_at": "2000-01-01T01:00:00Z", "end_at": "2000-01-01T01:00:00Z", "created_at": "2000-01-01T01:00:00Z", "current_storage": "", "high_water_storage": "", "total_downloads": 1, "total_uploads": 1, "updated_at": "2000-01-01T01:00:00Z", "usage_by_top_level_dir": "", "root_storage": "", "deleted_files_counted_in_minimum": "", "deleted_files_storage": "" } ``` * `id` (int64): Site usage ID * `start_at` (date-time): Site usage report start date/time * `end_at` (date-time): Site usage report end date/time * `created_at` (date-time): Site usage report created at date/time * `current_storage` (double): Current site usage as of report * `high_water_storage` (double): Site usage report highest usage in time period * `total_downloads` (int64): Number of downloads in report time period * `total_uploads` (int64): Number of uploads in time period * `updated_at` (date-time): The last time this site usage report was updated * `usage_by_top_level_dir` (object): A map of root folders to their total usage * `root_storage` (double): Usage for root folder * `deleted_files_counted_in_minimum` (double): Usage for files that are deleted but uploaded within last 30 days * `deleted_files_storage` (double): Usage for files that are deleted but retained as backups --- ## List Usage Snapshots ``` Files::UsageSnapshot.list( page: 1, per_page: 1 ) ``` ### Parameters * `page` (int64): Current page number. * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended). * `action` (string): Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
Version data entries
45 entries across 45 versions & 1 rubygems