GET Utilizations for a Sub-Account
Return the daily storage and data transfer associated with the sub-account, across all buckets in the sub-account. Using from and to query string parameters (in the format YYYY-MM-DD) will apply date filters to the result set.
GET /v1/accounts/<AcctNum>/utilizations
Optional
If a latest=true is passed via the query string parameter on the URL path, then only the most recent calculated utilization is returned.
Sample
Request: GET /v1/accounts/100000042/utilizations
X-Wasabi-Service: partner
Authorization: 9ef5b1468a52943b3cafb9385d76405b
Response: 200 OK
Content-Type: application/json
Date: Thu, 09 May 2019 15:23:45 GMT
Content-Length: 18524
Response-JSON:
[
{
"UtilizationNum": 280305,
"AcctNum": 100000042,
"AcctPlanNum": 14083,
"StartTime": "2019-12-29T00:00:00Z",
"EndTime": "2019-12-30T00:00:00Z",
"CreateTime": "2019-12-30T07:10:46Z",
"NumBillableObjects": 1,
"NumBillableDeletedObjects": 2,
"RawStorageSizeBytes": 10485760,
"PaddedStorageSizeBytes": 10485760,
"MetadataStorageSizeBytes": 48,
"DeletedStorageSizeBytes": 20971520,
"OrphanedStorageSizeBytes": 0,
"MinStorageChargeBytes": 0,
"NumAPICalls": 19,
"UploadBytes": 31520247,
"DownloadBytes": 21010048,
"StorageWroteBytes": 31457280,
"StorageReadBytes": 20971520,
"NumGETCalls": 2,
"NumPUTCalls": 4,
"NumDELETECalls": 0,
"NumLISTCalls": 1,
"NumHEADCalls": 1,
"DeleteBytes": 0
}
]
Updated over 1 year ago