Storage

The storage operations are deprecated in 2.0.

Operations related to peak and current storage for an account.

Fetch peak storage

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.

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/v2.0/usage/storage/peak"
Response samples
application/json
{
  • "bytes": 163535997883,
  • "limits": {
    }
}

Fetch current storage

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. '

Responses
200

Success

Response Schema: application/json
recording_bytes
integer <int32>

The amount, in bytes, used to store all recordings.

vod_stream_bytes
integer <int32>

The amount, in bytes, used to store all VOD streams.

401

Unauthorized

get/usage/storage/current
Request samples
// Using cURL
curl -H "Authorization: Bearer ${WV_JWT}" \
  
  -H "Content-Type: application/json" \
  -X "GET" \
  "${WV_HOST}/api/v2.0/usage/storage/current"
Response samples
application/json
{
  • "recording_bytes": 1057200777662,
  • "vod_stream_bytes": 2142226694010
}