This operation creates a video object in Wowza Video. You can upload a video from your local storage (DIRECT) or from an external storage provider (FETCH).
object (video) | |||||||||||||||||||||||||
|
Success
object (video) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Unauthorized
Unprocessable Entity
{- "video": {
- "input": {
- "method": "DIRECT"
}, - "name": "My video",
- "description": "A new video for my business.",
- "unpublish": true,
- "unpublished_at": "2025-01-01T12:33:22Z",
- "published": true,
- "published_at": "2024-01-01T12:33:22Z",
- "tags": [
- "foo",
- "bar"
], - "category_id": "<The account's default category>",
- "ad_insertion_points": [
- {
- "offset_from_start_in_ms": 20000,
- "description": "mid-roll"
}
], - "no_ads": true,
- "ad_keywords": "special_ads"
}
}
{- "video": {
- "id": "2aa3343e-2fb5-42c3-8671-b52c24b7c3e2",
- "name": "My video",
- "description": "A new video for my business.",
- "duration_in_ms": 0,
- "unpublish": true,
- "unpublished_at": "2025-01-01T12:33:22Z",
- "published": true,
- "published_at": "2024-01-01T12:33:22Z",
- "tags": [
- "foo",
- "bar"
], - "category_id": "<The account's default category>",
- "ad_insertion_points": [
- {
- "offset_from_start_in_ms": 20000,
- "description": "mid-roll"
}
], - "no_ads": true,
- "ad_keywords": "special_ads",
- "created_at": "2025-01-01T12:33:22Z",
- "updated_at": "2024-01-01T12:33:22Z",
- "state": "FINISHED",
- "encoding_progress": 0,
- "upload_progress": 0,
- "error_message": "string",
- "deactivated": false,
- "encodings": [
- {
- "audio_bitrate_in_kbps": 2300,
- "audio_channel": 2,
- "audio_codec": "aac",
- "audio_sample_rate": 44100,
- "height": 1080,
- "width": 1920,
- "video_container": "mp4",
- "video_codec": "h264",
- "total_bitrate_in_kbps": 1023,
- "created_at": "2019-08-24T14:15:22Z",
- "size_in_bytes": 8325555
}
], - "drm": {
- "com.widevine.alpha": {
- "license_server": "string",
- "certificate": "string"
}, - "com.apple.fps.1_0": {
- "license_server": "string",
- "certificate": "string"
}, - "com.microsoft.playready": {
- "license_server": "string",
- "certificate": "string"
}
}, - "shallow_copy": true,
- "shallow_copy_source_id": "string",
- "multiple_audio_tracks": true,
- "audio_only": true,
- "version": 0,
- "thumbnails": {
- "src": "string"
}, - "animated_previews": [
- {
- "url": "string",
- "type": "string",
- "height": 1080,
- "width": 1920
}
], - "upload_url": "string"
}
}
This operation shows details for all videos available in Wowza Video.
Success
Array of objects (VideoListModel) The list of videos | |
object (Pagination) |
Unauthorized
// Using cURL curl -H "Authorization: Bearer ${WV_JWT}" \ -H "Content-Type: application/json" \ -X "GET" \ "${WV_HOST}/api/v2.0/videos"
{- "videos": [
- {
- "id": "2aa3343e-2fb5-42c3-8671-b52c24b7c3e2",
- "name": "My video",
- "description": "A new video for my business.",
- "duration_in_ms": 0,
- "unpublish": true,
- "unpublished_at": "2025-01-01T12:33:22Z",
- "published": true,
- "published_at": "2024-01-01T12:33:22Z",
- "tags": [
- "foo",
- "bar"
], - "category_id": "<The account's default category>",
- "no_ads": true,
- "ad_keywords": "special_ads",
- "created_at": "2024-01-01T12:33:22Z",
- "updated_at": "2024-01-01T12:33:22Z",
- "state": "FINISHED"
}
], - "pagination": {
- "payload_version": 0,
- "total_records": 100,
- "page": 1,
- "per_page": 10,
- "total_pages": 2,
- "page_first_index": 10,
- "page_last_index": 10
}
}
This operation shows details for a single, specified video.
Success
object (video) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Unauthorized
Forbidden
Not Found
Gone
// Using cURL curl -H "Authorization: Bearer ${WV_JWT}" \ -H "Content-Type: application/json" \ -X "GET" \ "${WV_HOST}/api/v2.0/videos/2aa3343e-2fb5-42c3-8671-b52c24b7c3e2"
{- "video": {
- "id": "2aa3343e-2fb5-42c3-8671-b52c24b7c3e2",
- "name": "My video",
- "description": "A new video for my business.",
- "duration_in_ms": 0,
- "unpublish": true,
- "unpublished_at": "2025-01-01T12:33:22Z",
- "published": true,
- "published_at": "2024-01-01T12:33:22Z",
- "tags": [
- "foo",
- "bar"
], - "category_id": "<The account's default category>",
- "ad_insertion_points": [
- {
- "offset_from_start_in_ms": 20000,
- "description": "mid-roll"
}
], - "no_ads": true,
- "ad_keywords": "special_ads",
- "created_at": "2024-01-01T12:33:22Z",
- "updated_at": "2024-01-01T12:33:22Z",
- "state": "FINISHED",
- "encoding_progress": 0,
- "upload_progress": 0,
- "error_message": "string",
- "deactivated": false,
- "encodings": [
- {
- "audio_bitrate_in_kbps": 2300,
- "audio_channel": 2,
- "audio_codec": "aac",
- "audio_sample_rate": 44100,
- "height": 1080,
- "width": 1920,
- "video_container": "mp4",
- "video_codec": "h264",
- "total_bitrate_in_kbps": 1023,
- "created_at": "2019-08-24T14:15:22Z",
- "size_in_bytes": 8325555
}
], - "drm": {
- "com.widevine.alpha": {
- "license_server": "string",
- "certificate": "string"
}, - "com.apple.fps.1_0": {
- "license_server": "string",
- "certificate": "string"
}, - "com.microsoft.playready": {
- "license_server": "string",
- "certificate": "string"
}
}, - "shallow_copy": true,
- "shallow_copy_source_id": "string",
- "multiple_audio_tracks": true,
- "audio_only": true,
- "version": 0,
- "thumbnails": {
- "src": "string"
}, - "animated_previews": [
- {
- "url": "string",
- "type": "string",
- "height": 1080,
- "width": 1920
}
], - "origin": {
- "id": "wqrs0k75",
- "type": "live_stream",
- "uptime_id": "hvpcp3kn"
}
}
}
This operation updates a video's metadata. To replace the video file, use the PUT /video/ID
.
object (video) | |||||||||||||||||||||||
|
Success
object (video) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Unauthorized
Forbidden
Not Found
Gone
Unprocessable Entity
{- "video": {
- "name": "My video",
- "description": "A new video for my business.",
- "unpublish": true,
- "unpublished_at": "2025-01-01T12:33:22Z",
- "published": true,
- "published_at": "2024-01-01T12:33:22Z",
- "tags": [
- "foo",
- "bar"
], - "category_id": "<The account's default category>",
- "ad_insertion_points": [
- {
- "offset_from_start_in_ms": 20000,
- "description": "mid-roll"
}
], - "no_ads": true,
- "ad_keywords": "special_ads"
}
}
{- "video": {
- "id": "2aa3343e-2fb5-42c3-8671-b52c24b7c3e2",
- "name": "My video",
- "description": "A new video for my business.",
- "duration_in_ms": 0,
- "unpublish": true,
- "unpublished_at": "2025-01-01T12:33:22Z",
- "published": true,
- "published_at": "2024-01-01T12:33:22Z",
- "tags": [
- "foo",
- "bar"
], - "category_id": "<The account's default category>",
- "ad_insertion_points": [
- {
- "offset_from_start_in_ms": 20000,
- "description": "mid-roll"
}
], - "no_ads": true,
- "ad_keywords": "special_ads",
- "created_at": "2024-01-01T12:33:22Z",
- "updated_at": "2024-01-01T12:33:22Z",
- "state": "FINISHED",
- "encoding_progress": 0,
- "upload_progress": 0,
- "error_message": "string",
- "deactivated": false,
- "encodings": [
- {
- "audio_bitrate_in_kbps": 2300,
- "audio_channel": 2,
- "audio_codec": "aac",
- "audio_sample_rate": 44100,
- "height": 1080,
- "width": 1920,
- "video_container": "mp4",
- "video_codec": "h264",
- "total_bitrate_in_kbps": 1023,
- "created_at": "2019-08-24T14:15:22Z",
- "size_in_bytes": 8325555
}
], - "drm": {
- "com.widevine.alpha": {
- "license_server": "string",
- "certificate": "string"
}, - "com.apple.fps.1_0": {
- "license_server": "string",
- "certificate": "string"
}, - "com.microsoft.playready": {
- "license_server": "string",
- "certificate": "string"
}
}, - "shallow_copy": true,
- "shallow_copy_source_id": "string",
- "multiple_audio_tracks": true,
- "audio_only": true,
- "version": 0,
- "thumbnails": {
- "src": "string"
}, - "animated_previews": [
- {
- "url": "string",
- "type": "string",
- "height": 1080,
- "width": 1920
}
], - "origin": {
- "id": "wqrs0k75",
- "type": "live_stream",
- "uptime_id": "hvpcp3kn"
}
}
}
This operation initiates a re-upload of a video.
object (video) | |||||
|
Success
object (video) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Unauthorized
Forbidden
Not Found
Gone
Unprocessable Entity
{- "video": {
- "input": {
- "method": "DIRECT"
}
}
}
{- "video": {
- "id": "2aa3343e-2fb5-42c3-8671-b52c24b7c3e2",
- "name": "My video",
- "description": "A new video for my business.",
- "duration_in_ms": 0,
- "unpublish": true,
- "unpublished_at": "2025-01-01T12:33:22Z",
- "published": true,
- "published_at": "2024-01-01T12:33:22Z",
- "tags": [
- "foo",
- "bar"
], - "category_id": "<The account's default category>",
- "ad_insertion_points": [
- {
- "offset_from_start_in_ms": 20000,
- "description": "mid-roll"
}
], - "no_ads": true,
- "ad_keywords": "special_ads",
- "created_at": "2025-01-01T12:33:22Z",
- "updated_at": "2024-01-01T12:33:22Z",
- "state": "FINISHED",
- "encoding_progress": 0,
- "upload_progress": 0,
- "error_message": "string",
- "deactivated": false,
- "encodings": [
- {
- "audio_bitrate_in_kbps": 2300,
- "audio_channel": 2,
- "audio_codec": "aac",
- "audio_sample_rate": 44100,
- "height": 1080,
- "width": 1920,
- "video_container": "mp4",
- "video_codec": "h264",
- "total_bitrate_in_kbps": 1023,
- "created_at": "2019-08-24T14:15:22Z",
- "size_in_bytes": 8325555
}
], - "drm": {
- "com.widevine.alpha": {
- "license_server": "string",
- "certificate": "string"
}, - "com.apple.fps.1_0": {
- "license_server": "string",
- "certificate": "string"
}, - "com.microsoft.playready": {
- "license_server": "string",
- "certificate": "string"
}
}, - "shallow_copy": true,
- "shallow_copy_source_id": "string",
- "multiple_audio_tracks": true,
- "audio_only": true,
- "version": 0,
- "thumbnails": {
- "src": "string"
}, - "animated_previews": [
- {
- "url": "string",
- "type": "string",
- "height": 1080,
- "width": 1920
}
], - "upload_url": "string"
}
}
This operation deletes a video and all its related files.
No Content
Unauthorized
Forbidden
Not Found
Gone
Unprocessable Entity
// Using cURL curl -H "Authorization: Bearer ${WV_JWT}" \ -H "Content-Type: application/json" \ -X "DELETE" \ "${WV_HOST}/api/v2.0/videos/2aa3343e-2fb5-42c3-8671-b52c24b7c3e2"
{- "Example Response 1": {
- "meta": {
- "status": 401,
- "code": "ERR-401-NoApiKey",
- "title": "No API Key Error",
- "message": "No API key sent in header.",
- "description": "",
- "links": [ ]
}
}, - "Example Response 2": {
- "meta": {
- "status": 401,
- "code": "ERR-401-NoAccessKey",
- "title": "No Access Key Error",
- "message": "No access key sent in header.",
- "description": "",
- "links": [ ]
}
}, - "Example Response 3": {
- "meta": {
- "status": 401,
- "code": "ERR-401-InvalidApiKey",
- "title": "Invalid Api Key Error",
- "message": "Invalid API key.",
- "description": "",
- "links": [ ]
}
}, - "Example Response 4": {
- "meta": {
- "status": 401,
- "code": "ERR-401-InvalidAccessKey",
- "title": "Invalid Access Key Error",
- "message": "Invalid access key.",
- "description": "",
- "links": [ ]
}
}, - "Example Response 5": {
- "meta": {
- "status": 401,
- "code": "ERR-401-BadAccountStatus",
- "title": "Bad Account Status Error",
- "message": "Your account's status doesn't allow this action.",
- "description": "",
- "links": [ ]
}
}, - "Example Response 6": {
- "meta": {
- "status": 401,
- "code": "ERR-401-FeatureNotEnabled",
- "title": "Feature Not Enabled Error",
- "message": "This feature isn't enabled.",
- "description": "",
- "links": [ ]
}
}, - "Example Response 7": {
- "meta": {
- "status": 401,
- "code": "ERR-401-TrialExceeded",
- "title": "Bad Billing Status Error",
- "message": "Your billing status needs attention. You can't start or add live streams until your billing status is updated.",
- "description": "",
- "links": [ ]
}
}, - "Example Response 8": {
- "meta": {
- "status": 401,
- "code": "ERR-401-ExpiredToken",
- "title": "JWT is expired",
- "message": "Token has exired.",
- "description": "",
- "links": [ ]
}
}, - "Example Response 9": {
- "meta": {
- "status": 401,
- "code": "ERR-401-InvalidToken",
- "title": "JWT is invalid",
- "message": "Token is invalid.",
- "description": "",
- "links": [ ]
}
}
}