Storage

Operations related to peak storage for an account. You can use this operation to show the amount of peak recording and VOD stream storage used by your account.

Fetch peak storage

This operation shows the amount of peak storage used for the account. The default time frame is from the last billing date to the end of the current day.

Request
query Parameters
from
string <date-time>

The start of the range of time you want to view. Specify YYYY-MM-DD HH:MM:SS where HH is a 24-hour clock in UTC.

You can also specify last_bill_date.

Default: last billing date

to
string <date-time>

The end of the range of time you want to view. Specify YYYY-MM-DD HH:MM:SS where HH is a 24-hour clock in UTC.

You can also specify last_bill_date.

Default: end of the current day

Responses
200

Success

Response Schema: application/json
bytes
integer <int32>

The amount, in bytes, used to store recordings and VOD streams during the selected time frame. If the time frame is in the past, bytes is the amount of storage that was used and billed. If the time frame includes the current billing period, bytes is the greatest amount of content stored in Wowza Video at any point to date in the billing period.

object

The time frame represented in the response.

401

Unauthorized

get/usage/storage/peak
Request samples
// Using cURL
curl -H "Authorization: Bearer ${WV_JWT}" \
  
  -H "Content-Type: application/json" \
  -X "GET" \
  "${WV_HOST}/api/v1.11/usage/storage/peak"
Response samples
application/json
{
  • "bytes": 163535997883,
  • "limits": {
    }
}