The storage operations are deprecated in 2.0.Operations related to peak and current storage for an account.
This operation is deprecated in 2.0.
This operation shows the amount of peak recording and VOD stream storage used for the account. The default time frame is from the last billing date to the end of the current day.
Success
Unauthorized
// Using cURL curl -H "Authorization: Bearer ${WV_JWT}" \ -H "Content-Type: application/json" \ -X "GET" \ "${WV_HOST}/api/v2.0/usage/storage/peak"
{- "bytes": 163535997883,
- "limits": {
- "from": "2019-12-07T00:00:00.000Z",
- "to": "2019-12-21T00:00:00.000Z"
}
}
This operation was introduced and deprecated in 2.0.
This operation shows the total amount of recording and VOD stream storage used for the account at the current, or present, time of the request. '
// Using cURL curl -H "Authorization: Bearer ${WV_JWT}" \ -H "Content-Type: application/json" \ -X "GET" \ "${WV_HOST}/api/v2.0/usage/storage/current"
{- "recording_bytes": 1057200777662,
- "vod_stream_bytes": 2142226694010
}