Skip to content

Wowza Video REST API Reference Documentation (v1.11)

API lifecycle phase: Supported 2

Want to take the API for a test run?

All you'll need is a Wowza Video subscription, or free trial, for the API access token. Then, fork our collection in Postman and you'll be making calls to our REST API in minutes!

See Trial the Wowza Video REST API using Postman for more information.

This reference documentation provides details about the operations, parameters, and request and reponse schemas for every resource and endpoint in the Wowza Video REST API. Samples appear in the right column. Sample requests are presented in cURL (Shell) and JavaScript; some samples also include just the JSON object. Response samples are all JSON. Examples in cURL use environment variables so you can easily copy and paste them. To learn more, see Using cURL.

Reference documentation is available for every version of the API. Use the Version menu at the top of the page to access the reference doc for a different version of the API.

Download OpenAPI description
Overview
License
Languages
Servers
Mock server
https://developer.wowza.com/_mock/docs/wowza-video/api/video/v1.11/openapi
https://api.video.wowza.com/api/v1.11

Live Streams

Operations related to live streams. A live stream is a single, linear video broadcast. You broadcast a live stream by receiving encoded source video into the Wowza Video service and letting Wowza Video transcode the stream and deliver it to viewers. A live stream is essentially a one-stop method for creating a transcoder, output renditions, stream targets, and associated players.

Operations

Players

Operations related to players, which are created through the /live_streams resource. Players created through Wowza Video live streams can be embedded into your own web page or played through a web page hosted by Wowza Video.

Operations

Transcoders

Operations related to transcoders, output renditions, and output stream targets.

Operations

Stream Sources

Operations related to stream sources. You can create a Wowza stream source and associate it to a live stream or transcoder.

Operations

Stream Targets

Operations related to stream targets. A stream target is a destination for a stream. Stream targets can be Wowza Video edge resources; custom, external destinations target destinations.

Operations

Assets

Operations related to assets, which are created through the /assets resources. The Wowza Video service can store and transcode mp4 files that you can tag, manage, and restream.

Operations

Fetch all asset tags

Request

This operation retrieves a list of all of the tags that have been used previously by an organization.

Query
pageinteger

Returns a paginated view of results from the HTTP request. Specify a positive integer to indicate which page of the results should be displayed. The default is 1.

For more information and examples, see Get paginated query results with the Wowza Video REST API.

per_pageinteger

For use with the page parameter. Indicates how many records should be included in a page of results. A valid value is any positive integer. The default and maximum value is 1000.

curl -i -X GET \
  'https://developer.wowza.com/_mock/docs/wowza-video/api/video/v1.11/openapi/asset_tags?page=0&per_page=0'

Responses

Success

Bodyapplication/json
asset_tagsArray of arrays

An array of asset tags the organization has created.

Example: ["tag1","tag2","tag3"]
Response
application/json
{ "asset_tags": [ "tag1", "tag2", "tag3" ] }

Report asset as uploaded

Request

This operation reports that an asset was successfully uploaded to storage.

Path
idstringrequired

The unique alphanumeric string that identifies the asset.

Bodyapplication/jsonrequired

Provide the details of the asset to update in the body of the request.

assetobject(asset)required
asset.​durationintegerrequired

The length of an asset in seconds. In this example, 9241 would represent 9,241 seconds or roughly 2.5 hours.

Example: 9241
curl -i -X PATCH \
  'https://developer.wowza.com/_mock/docs/wowza-video/api/video/v1.11/openapi/assets/{id}/upload_completed' \
  -H 'Content-Type: application/json' \
  -d '{
    "asset": {
      "duration": 9241
    }
  }'

Responses

Success

Bodyapplication/json
assetobject(asset_report_uploaded_output)required
asset.​idstring

The unique alphanumeric string that identifies the asset

Example: "i4qsbwvi"
asset.​namestring

A descriptive name for the live stream. Maximum 200 characters.

Example: "My Asset"
asset.​tagsArray of arrays

A list of tags associated with the asset.

Example: ["Tag1","Tag2","Tag3"]
asset.​vod_stream_idstring

An ID for the VOD. You can use this to fetch additional information about the VOD stream associated with the asset, such as the size of only the VOD stream.

Example: "l9qsbwvf"
asset.​recording_idstring

An ID for the recording. You can use this to fetch additional information about the recording associated with the asset.

Example: "l8qsbwvu"
asset.​statestring

The state of the asset.

Enum"uploading""processing""completed""failed"
Example: "processing"
asset.​created_atstring(date-time)

The date and time that the asset was created in Coordinated Universal Time (UTC) format. Dates are formatted as follows: YYYY-DD-MMTHH:MM:SSZ using 24-hour clock ("military") time and including the T and Z. The T marks the end of the date portion and the Z represents zero UTC time offset.

Example: "2021-06-30T18:02:20.000Z"
asset.​updated_atstring(date-time)

The date and time that the asset was updated in Coordinated Universal Time (UTC) format. Dates are formatted as follows: YYYY-DD-MMTHH:MM:SSZ using 24-hour clock ("military") time and including the T and Z. The T marks the end of the date portion and the Z represents zero UTC time offset.

Example: "2021-06-30T18:02:20.000Z"
asset.​download_urlstring

The URL that can be used to download the asset as a .MP4 file.

Example: "https://objectstorage.us-ashburn-1.oraclecloud.com/n/idcrz33q3xdo/b/recordings-qa-S7I69eYn/o/abcd1234/recording_0pfxrlw2/MyAsset.mp4"
asset.​file_sizeinteger

The file size of the asset in bytes. For example, 2372820 bytes equals 2.4 megabytes.

Example: 2372820
asset.​durationinteger

The length of an asset in seconds. For example, 9241 would represent 9,241 seconds or roughly 2.5 hours.

Example: 9241
asset.​average_view_timeinteger(time)

The average time that the asset has been viewed in seconds. For example, 12580 seconds would be 3.5 hours.

Example: 12580
asset.​file_namestring

The name of the mp4 file you uploaded.

Note: To avoid file management issues in storage, Wowza Video removes or replaces special characters in file names.
Example: "MyAsset.mp4"
asset.​processing_percentageinteger

A percentage that describes how soon transcoding will complete.

Example: 100
Response
application/json
{ "asset": { "id": "i4qsbwvi", "name": "My Asset", "tags": [], "vod_stream_id": "l9qsbwvf", "recording_id": "l8qsbwvu", "state": "processing", "created_at": "2021-06-30T18:02:20.000Z", "updated_at": "2021-06-30T18:02:20.000Z", "download_url": "https://objectstorage.us-ashburn-1.oraclecloud.com/n/idcrz33q3xdo/b/recordings-qa-S7I69eYn/o/abcd1234/recording_0pfxrlw2/MyAsset.mp4", "file_size": 2372820, "duration": 9241, "average_view_time": 12580, "file_name": "MyAsset.mp4", "processing_percentage": 100 } }

Report asset upload as failed

Request

This operation reports that an asset uploaded to storage failed. You can only upload MP4 format and H.264 and AAC encoded files. Any files with unsupported codecs are rejected.

Path
idstringrequired

The unique alphanumeric string that identifies the asset.

Bodyapplication/jsonrequired

Provide the details of the asset to update in the body of the request.

assetobject(asset)required
asset.​reasonstringrequired

A description of why the upload failed.

Example: "Token expired"
asset.​statusstringrequired

The status code returned by the server.

Example: 404
curl -i -X PATCH \
  'https://developer.wowza.com/_mock/docs/wowza-video/api/video/v1.11/openapi/assets/{id}/upload_failed' \
  -H 'Content-Type: application/json' \
  -d '{
    "asset": {
      "reason": "Token expired",
      "status": 404
    }
  }'

Responses

Success

Bodyapplication/json
assetobject(asset_report_upload_failed_output)required
asset.​idstring

The unique alphanumeric string that identifies the asset

Example: "i4qsbwvi"
asset.​namestring

A descriptive name for the live stream. Maximum 200 characters.

Example: "My Asset"
asset.​tagsArray of arrays

A list of tags associated with the asset.

Example: ["Tag1","Tag2","Tag3"]
asset.​recording_idstring

An ID for the recording. You can use this to fetch additional information about the recording associated with the asset.

Example: "l8qsbwvu"
asset.​statestring

The state of the asset.

Enum"uploading""processing""completed""failed"
Example: "failed"
asset.​created_atstring(date-time)

The date and time that the asset was created in Coordinated Universal Time (UTC) format. Dates are formatted as follows: YYYY-DD-MMTHH:MM:SSZ using 24-hour clock ("military") time and including the T and Z. The T marks the end of the date portion and the Z represents zero UTC time offset.

Example: "2021-06-30T18:02:20.000Z"
asset.​updated_atstring(date-time)

The date and time that the asset was updated in Coordinated Universal Time (UTC) format. Dates are formatted as follows: YYYY-DD-MMTHH:MM:SSZ using 24-hour clock ("military") time and including the T and Z. The T marks the end of the date portion and the Z represents zero UTC time offset.

Example: "2021-06-30T18:02:20.000Z"
asset.​average_view_timeinteger(time)

The average time that the asset has been viewed in seconds. For example, 12580 seconds would be 3.5 hours.

Example: 12580
asset.​file_namestring

The name of the mp4 file you uploaded.

Note: To avoid file management issues in storage, Wowza Video removes or replaces special characters in file names.
Example: "MyAsset.mp4"
asset.​processing_percentageinteger

A percentage that describes how soon transcoding will complete.

Example: 100
Response
application/json
{ "asset": { "id": "i4qsbwvi", "name": "My Asset", "tags": [], "recording_id": "l8qsbwvu", "state": "failed", "created_at": "2021-06-30T18:02:20.000Z", "updated_at": "2021-06-30T18:02:20.000Z", "average_view_time": 12580, "file_name": "MyAsset.mp4", "processing_percentage": 100 } }

Recordings

Operations related to recordings, which are created through the /live_streams or /transcoders resources. The Wowza Video service can create MP4 recordings of your live streams and transcoded output. Recordings can be downloaded and saved locally. They're based on the highest-bitrate output rendition that Wowza Video generates from your video source. See About recordings to learn more.

Operations

Schedules

Operations related to schedules. Schedules allow you to automatically start or stop a live stream or transcoder at a predetermined date and time. You can configure a schedule to start and/or stop a live stream or transcoder just once, or you can configure it to repeat the behavior on a regular basis. See About schedules to learn more.

Operations

VOD Streams

Operations related to video on demand (VOD) streams, which are created through the /live_streams or /transcoders resources. A VOD stream is a recording of a live stream that viewers can replay at a later date. After the broadcast is over and the live stream or transcoder is stopped, Wowza Video creates the VOD stream and generates a playback URL. See About VOD Streams to learn more.

Operations

Real-Time Streams

Operations related to Real-Time Streaming at Scale. If your audience is fewer than 300 viewers or you want to deliver a stream in near real time alongside other delivery protocols, use our WebRTC solution.

To enable and purchase capacity for Real-Time Streaming at Scale for your account and access the /real_time operations, contact 720.279.8163 or schedule a call.
Operations

Viewers

Operations related to viewer analytics.

Operations

Ingest

Operations related to ingest analytics for a live stream.

Operations

Engagement

Operations related to engagement analytics for a VOD stream.

Operations

Popularity

Operations related to popularity analytics.

Operations

Account

Operations related to stream analytics for an account.

Operations

Transcoders

Operations related to transcoder analytics.

Operations

Stream Targets

Operations related to stream target analytics, including CDN usage and viewer data.

Operations

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.

Operations

VOD Streams

Operations related to video on demand (VOD) stream analytics.

Operations

Real Time Streams

Operations related to real-time streams analytics.

Operations