Client library for Wowza Streaming Cloud REST API Reference Documentation
npm install --save @datafire/wowza
let wowza = require('@datafire/wowza').create({
"wsc-access-key": "",
"wsc-api-key": ""
});
.then(data => {
console.log(data);
});
The Wowza Streaming CloudTM REST API (application programming interface) offers complete programmatic control over live streams, transcoders, stream sources, and stream targets. Anything you can do in the Wowza Streaming Cloud UI can also be achieved by making HTTP-based requests to cloud-based servers through the REST API.
The Wowza Streaming Cloud REST API features cross-origin resource sharing, or CORS. CORS is a W3C specification that provides headers in HTTP requests to enable a web server to safely make a network request to another domain.
In order to protect shared resources, the Wowza Streaming Cloud REST API is subject to limits. For details, see Wowza Streaming Cloud REST API limits.
This reference documentation is based on the open-source Swagger framework. It allows you to view the operations, parameters, and request and reponse schemas for every resource. Request samples are presented in cURL (Shell) and JavaScript; some samples also include just the JSON object. Response samples are all JSON.
For more information and examples on using the Wowza Streaming Cloud REST API, see our library of Wowza Streaming Cloud REST API technical articles.
The Wowza Streaming Cloud REST API uses HTTP requests to retrieve data from cloud-based servers. Requests must contain proper JSON, two authentication keys, and the correct version number in the base path.
The Wowza Streaming Cloud REST API uses the JSON API specification to request and return data. This means requests must include the header Content-Type: application/json
and must include a single resource object in JSON format as primary data.
Responses include HTTP status codes that indicate whether the query was successful. If there was an error, a description explains the problem so that you can fix it and try again.
Requests to the Wowza Streaming Cloud REST API must be authenticated with two keys: an API key and an access key. Each key is a 64-character alphanumeric string that you can find on the API Access page in Wowza Streaming Cloud.
Use the wsc-api-key
and wsc-access-key
headers to authenticate requests, like this (in cURL):
curl -H 'wsc-api-key: [64-character-api-key-goes-here]' -H 'wsc-access-key: [64-character-access-key-goes-here]'
The Wowza Streaming Cloud API is currently at version 1.0.0. Use v1
in your base path in every request, like this path to the live_streams endpoint:
https://api.cloud.wowza.com/api/v1/live_streams
Here is a complete example POST request, in cURL, with proper JSON syntax, headers, authentication, and version information:
curl -H 'wsc-api-key: [64-character-api-key-goes-here]' -H 'wsc-access-key: [64-character-access-key-goes-here]'
-H 'Content-Type: application/json' -X POST -d '{
"live_stream": {
"name": "My live Stream",
"...": "..."
}
}' https://api.cloud.wowza.com/api/v1/live_streams
This operation shows the details of the Swagger specification.
wowza.specs(null, context)
This action has no parameters
This operation shows the details of all of your live streams.
wowza.listLiveStreams({}, context)
object
integer
: Returns a paginated view of results from the HTTP request. Specify a positive integer to indicate which page of the results should be displayed first. Next and Previous links allow you to navigate multiple pages of results. Omit the page parameter or specify an integer that's less than or equal to 0 to view all (unpaginated) results.integer
: For use with the page parameter. Indicates how many records should be included on each page of results. A valid value is any positive integer. The default is 10.This operation creates a live stream.
wowza.createLiveStream({
"live_stream": {
"live_stream": {
"name": "",
"transcoder_type": "",
"billing_mode": "",
"broadcast_location": "",
"encoder": "",
"aspect_ratio_width": 0,
"aspect_ratio_height": 0
}
}
}, context)
object
object
This operation deletes a live stream, including all assigned outputs and targets.
wowza.deleteLiveStream({
"id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the live stream.Output schema unknown
This operation shows the details of a specific live stream.
wowza.showLiveStream({
"id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the live stream.object
This operation updates a live stream.
wowza.updateLiveStream({
"id": "",
"live_stream": {
"live_stream": {
"name": "",
"encoder": "",
"aspect_ratio_width": 0,
"aspect_ratio_height": 0
}
}
}, context)
object
string
: The unique alphanumeric string that identifies the live stream.object
This operation regenerates the connection code of a live stream.
wowza.regenerateConnectionCodeLiveStream({
"id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the live stream.object
object
string
: A six-character, alphanumeric string that allows certain encoders, including Wowza Streaming Engine and the Wowza GoCoder app, to connect with Wowza Streaming Cloud. The code can be used once and expires 24 hours after it's created.This operation resets a live stream.
wowza.resetLiveStream({
"id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the live stream.object
object
string
(values: started, stopped, starting, stopping, resetting): The state of the live stream.This operation starts a live stream.
wowza.startLiveStream({
"id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the live stream.object
object
string
(values: started, stopped, starting, stopping, resetting): The state of the live stream.This operation shows the current state of a live stream.
wowza.showLiveStreamState({
"id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the live stream.object
object
string
(values: started, stopped, starting, stopping, resetting): The state of the live stream.This operation returns a hash of metrics keys, each of which identifies a status, text description, unit, and value.
wowza.showLiveStreamStats({
"id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the live stream.object
This operation stops a live stream.
wowza.stopLiveStream({
"id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the live stream.object
object
string
(values: started, stopped, starting, stopping, resetting): The state of the live stream.This operation shows the thumbnail URL of a started live stream.
wowza.showLiveStreamThumbnailUrl({
"id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the live stream.object
object
string
: The URL to receive the preview thumbnail.This operation shows the details of all of your players.
wowza.listPlayers({}, context)
object
integer
: Returns a paginated view of results from the HTTP request. Specify a positive integer to indicate which page of the results should be displayed first. Next and Previous links allow you to navigate multiple pages of results. Omit the page parameter or specify an integer that's less than or equal to 0 to view all (unpaginated) results.integer
: For use with the page parameter. Indicates how many records should be included on each page of results. A valid value is any positive integer. The default is 10.This operation shows details of a specific player.
wowza.showPlayer({
"id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the player.object
This operation updates a player.
wowza.updatePlayer({
"id": "",
"player": {
"player": {}
}
}, context)
object
string
: The unique alphanumeric string that identifies the player.object
This operation rebuilds the player with the current configuration.
wowza.requestPlayerRebuild({
"id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the player.object
object
string
(values: requested, already_requested, activated, archived): The state of the player.This operation shows the current state of a player.
wowza.showPlayerState({
"id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the player.object
object
string
(values: requested, already_requested, activated, archived): The state of the player.This operation shows the details of all player URLs.
wowza.listPlayerUrls({
"player_id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the player.This operation creates a new player URL.
wowza.createPlayerUrl({
"player_id": "",
"url": null
}, context)
object
string
: The unique alphanumeric string that identifies the player.object
This operation deletes a player URL.
wowza.deletePlayerUrl({
"player_id": "",
"id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the player.string
: The unique alphanumeric string that identifies the player URL.Output schema unknown
This operation shows the details of a player URL.
wowza.showPlayerUrl({
"player_id": "",
"id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the player.string
: The unique alphanumeric string that identifies the player URL.object
This operation updates a player URL.
wowza.updatePlayerUrl({
"player_id": "",
"id": "",
"url": null
}, context)
object
string
: The unique alphanumeric string that identifies the player.string
: The unique alphanumeric string that identifies the player URL.object
This operation shows the details of all of your recordings.
wowza.listRecordings({}, context)
object
integer
: Returns a paginated view of results from the HTTP request. Specify a positive integer to indicate which page of the results should be displayed first. Next and Previous links allow you to navigate multiple pages of results. Omit the page parameter or specify an integer that's less than or equal to 0 to view all (unpaginated) results.integer
: For use with the page parameter. Indicates how many records should be included on each page of results. A valid value is any positive integer. The default is 10.This operation deletes a recording.
wowza.deleteRecording({
"id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the recording.Output schema unknown
This operation shows the details of a specific recording.
wowza.showRecording({
"id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the recording.object
This operation shows the current state of a recording.
wowza.showRecordingState({
"id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the recording.object
object
string
(values: uploading, converting, removing, completed, failed): The state of the recording.This operation shows the details of all of your schedules.
wowza.listSchedules({}, context)
object
integer
: Returns a paginated view of results from the HTTP request. Specify a positive integer to indicate which page of the results should be displayed first. Next and Previous links allow you to navigate multiple pages of results. Omit the page parameter or specify an integer that's less than or equal to 0 to view all (unpaginated) results.integer
: For use with the page parameter. Indicates how many records should be included on each page of results. A valid value is any positive integer. The default is 10.This operation creates a schedule.
wowza.createSchedule({
"schedule": {
"schedule": {
"name": "",
"transcoder_id": "",
"action_type": "",
"recurrence_type": ""
}
}
}, context)
object
object
This operation deletes a schedule.
wowza.deleteSchedule({
"id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the schedule.Output schema unknown
This operation shows the details of a specific schedule.
wowza.showSchedule({
"id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the schedule.object
This operation updates a schedule.
wowza.updateSchedule({
"id": "",
"schedule": {
"schedule": {
"name": "",
"action_type": ""
}
}
}, context)
object
string
: The unique alphanumeric string that identifies the schedule.object
This operation disables a schedule.
wowza.disableSchedule({
"id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the schedule.object
object
string
(values: enabled, disabled, expired): A schedule must be enabled to run. Specify enabled to run the schedule or disabled to turn off the schedule so that it doesn't run.This operation enables a schedule.
wowza.enableSchedule({
"id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the schedule.object
object
string
(values: enabled, disabled, expired): A schedule must be enabled to run. Specify enabled to run the schedule or disabled to turn off the schedule so that it doesn't run.This operation shows the current state of a schedule.
wowza.showScheduleState({
"id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the schedule.object
object
string
(values: enabled, disabled, expired): A schedule must be enabled to run. Specify enabled to run the schedule or disabled to turn off the schedule so that it doesn't run.This operation shows the details of all of your stream sources.
wowza.listStreamSources({}, context)
object
integer
: Returns a paginated view of results from the HTTP request. Specify a positive integer to indicate which page of the results should be displayed first. Next and Previous links allow you to navigate multiple pages of results. Omit the page parameter or specify an integer that's less than or equal to 0 to view all (unpaginated) results.integer
: For use with the page parameter. Indicates how many records should be included on each page of results. A valid value is any positive integer. The default is 10.This operation adds a stream source.
wowza.createStreamSource({
"stream_source": {
"stream_source": {
"name": "",
"location_method": ""
}
}
}, context)
object
object
POST /stream_sources/add/ is deprecated. To add a stream source, use POST /stream_sources instead.
wowza.addStreamSource({
"stream_source": {
"stream_source": {
"name": "",
"location_method": ""
}
}
}, context)
object
object
This operation deletes a stream source.
wowza.deleteStreamSource({
"id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the stream source.Output schema unknown
This operation shows details of a specific stream source.
wowza.showStreamSource({
"id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the stream source.object
This operation updates a stream source.
wowza.updateStreamSource({
"id": "",
"stream_source": {
"stream_source": {
"name": ""
}
}
}, context)
object
string
: The unique alphanumeric string that identifies the stream source.object
This operation lists the details of all of your stream targets.
wowza.listStreamTargets({}, context)
object
integer
: Returns a paginated view of results from the HTTP request. Specify a positive integer to indicate which page of the results should be displayed first. Next and Previous links allow you to navigate multiple pages of results. Omit the page parameter or specify an integer that's less than or equal to 0 to view all (unpaginated) results.integer
: For use with the page parameter. Indicates how many records should be included on each page of results. A valid value is any positive integer. The default is 10.This operation creates a stream target. There are three types of targets that you can create: CustomStreamTarget for an an external, third-party destination; WowzaStreamTarget for a Wowza CDN target; or UltraLowLatencyStreamTarget for an ultra low latency Wowza CDN target. The availability of many parameters depends on the type of target you create.
wowza.createStreamTarget({
"stream_target": null
}, context)
object
object
POST /stream_targets/add/ is deprecated. To add a stream target, use POST /stream_targets instead.
wowza.addStreamTarget({
"stream_target": {
"stream_target": {
"name": "",
"location": ""
}
}
}, context)
object
object
This operation deletes a stream target.
wowza.deleteStreamTarget({
"id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the stream target.Output schema unknown
This operation shows details of a specific stream target.
wowza.showStreamTarget({
"id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the stream target.object
This operation updates a stream target.
wowza.updateStreamTarget({
"id": "",
"stream_target": {
"stream_target": {}
}
}, context)
object
string
: The unique alphanumeric string that identifies the stream target.object
This operation returns a snapshot of the current connection and throughput details for an active target whose type is UltraLowLatencyStreamTarget. The interval for current metrics is 30 seconds from the moment of the query.
wowza.showStreamTargetMetricsCurrent({
"id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the stream target.object
string
: The unique alphanumeric string that identifies the stream target.This operation shows historic connection and throughput details for target whose type is UltraLowLatencyStreamTarget.
wowza.showStreamTargetMetricsHistoric({
"id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the stream target.string
: The start of the range of time used to aggregate the metrics. Express the value by using the ISO 8601 standard of YYYY-MM-DDTHH:MM:SSZ where HH is a 24-hour clock in UTC.string
: The end of the range of time used to aggregate the metrics. Express the value by using the ISO 8601 standard of YYYY-MM-DDTHH:MM:SSZ where HH is a 24-hour clock in UTC.string
(values: second, minute, hour, day, month, #s, #m, #h, #d): The length of time for a block of metrics. The default is 10m (10 minutes).object
string
: The unique alphanumeric string that identifies the stream target.string
: The length of time for a block of metrics. The default is 10m (10 minutes).array
This operation regenerates the connection code of a stream target.
wowza.regenerateConnectionCodeStreamTarget({
"id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the stream target.object
object
string
: A six-character, alphanumeric string that allows Wowza Streaming Engine to send a transcoded stream to a WowzaStreamTarget or for the Wowza GoCoder app to send an encoded stream to a UltraLowLatencyStreamTarget. The code can be used once and expires 24 hours after it's created.This operation shows the details of geo-blocking applied to a specific stream target. Only stream targets whose type is WowzaStreamTarget can be geo-blocked.
wowza.showStreamTargetGeoblock({
"stream_target_id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the stream target.object
This operation updates the geo-blocking applied to a stream target. Only stream targets whose type is WowzaStreamTarget can be geo-blocked.
wowza.updateStreamTargetGeoblock({
"stream_target_id": "",
"geoblock": null
}, context)
object
string
: The unique alphanumeric string that identifies the stream target.object
This operation allows you to block or whitelist viewing of a stream target by geographic location. Only stream targets whose type is WowzaStreamTarget can be geo-blocked. For more information see the technical article How to geo-block stream targets by using the Wowza Streaming Cloud REST API.
wowza.createStreamTargetGeoblock({
"stream_target_id": "",
"geoblock": null
}, context)
object
string
: The unique alphanumeric string that identifies the stream target.object
This operation shows the details of all of the properties assigned to a specific stream target. Properties can be applied to a CustomStreamTarget or WowzaStreamTarget whose provider is akamai_cupertino.
wowza.listStreamTargetProperties({
"stream_target_id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the stream target.This operation creates a property for a stream target. Properties can be applied to a CustomStreamTarget or WowzaStreamTarget whose provider is akamai_cupertino. For more information see the technical article How to set advanced properties by using the Wowza Streaming Cloud REST API.
wowza.createStreamTargetProperty({
"stream_target_id": "",
"property": {
"property": {
"section": "",
"key": "",
"value": ""
}
}
}, context)
object
string
: The unique alphanumeric string that identifies the stream target.object
This operation removes a property from a stream target.
wowza.deleteStreamTargetProperty({
"stream_target_id": "",
"id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the stream target.string
: The unique string that identifies the stream target property. The string contains the section and the key, connected by a dash. For example, hls-chunkSize.Output schema unknown
This operation shows the details of a specific property assigned to a specific stream target. Properties can be applied to a CustomStreamTarget or WowzaStreamTarget whose provider is akamai_cupertino.
wowza.showStreamTargetProperty({
"stream_target_id": "",
"id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the stream target.string
: The unique string that identifies the stream target property. The string contains the section and the key, connected by a dash. For example, hls-chunkSize.object
This operation shows the details of the token authorization applied to a stream target. Only stream targets whose type is WowzaStreamTarget can use token authorization.
wowza.showStreamTargetTokenAuth({
"stream_target_id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the stream target.object
This operation updates the token authorization applied to a stream target. Only stream targets whose type is WowzaStreamTarget can use token authorization.
wowza.updateStreamTargetTokenAuth({
"stream_target_id": "",
"token_auth": {
"token_auth": {}
}
}, context)
object
string
: The unique alphanumeric string that identifies the stream target.object
This operation creates token authorization for a stream target. Only stream targets whose type is WowzaStreamTarget can use token authorization. For more information see the technical article How to protect stream targets with token authorization by using the Wowza Streaming Cloud REST API.
wowza.createStreamTargetTokenAuth({
"stream_target_id": "",
"token_auth": {
"token_auth": {
"enabled": true,
"trusted_shared_secret": ""
}
}
}, context)
object
string
: The unique alphanumeric string that identifies the stream target.object
This operation shows the details of all of your transcoders.
wowza.listTranscoders({}, context)
object
integer
: Returns a paginated view of results from the HTTP request. Specify a positive integer to indicate which page of the results should be displayed first. Next and Previous links allow you to navigate multiple pages of results. Omit the page parameter or specify an integer that's less than or equal to 0 to view all (unpaginated) results.integer
: For use with the page parameter. Indicates how many records should be included on each page of results. A valid value is any positive integer. The default is 10.This operation creates a transcoder.
wowza.createTranscoder({
"transcoder": {
"transcoder": {
"name": "",
"transcoder_type": "",
"billing_mode": "",
"broadcast_location": "",
"protocol": "",
"delivery_method": ""
}
}
}, context)
object
object
This operation deletes a transcoder, including all of its assigned output renditions and stream targets.
wowza.deleteTranscoder({
"id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the transcoder.Output schema unknown
This operation shows the details of a specific transcoder.
wowza.showTranscoder({
"id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the transcoder.object
This operation updates a transcoder.
wowza.updateTranscoder({
"id": "",
"transcoder": {
"transcoder": {
"name": "",
"protocol": "",
"delivery_method": ""
}
}
}, context)
object
string
: The unique alphanumeric string that identifies the transcoder.object
This operation disables all of the stream targets assigned to a specific transcoder.
wowza.disableAllStreamTargetsTranscoder({
"id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the transcoder.object
object
object
string
(values: enabled, disabled): The state of the transcoder's stream targets.This operation enables all of the stream targets assigned to a specific transcoder.
wowza.enableAllStreamTargetsTranscoder({
"id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the transcoder.object
object
object
string
(values: enabled, disabled): The state of the transcoder's stream targets.This operation shows the details of all of the recordings for a specific transcoder.
wowza.listTranscoderRecordings({
"id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the transcoder.object
object
array
: Array of recordings of this transcoder. See /recordings for more details.This operation resets a transcoder.
wowza.resetTranscoder({
"id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the transcoder.object
object
string
(values: starting, stopping, started, stopped, resetting): The state of the transcoder.This operation shows the details of all of the schedules for a specific transcoder.
wowza.listTranscoderSchedules({
"id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the transcoder.object
object
array
: Array of schedules of this transcoder. See /schedules for more details.This operation starts a transcoder.
wowza.startTranscoder({
"id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the transcoder.object
object
string
(values: starting, stopping, started, stopped, resetting): The state of the transcoder.string
: The transcoding_uptime_id parameter is deprecated and is replaced by uptime_id. The unique identifier associated with a specific uptime period of a transcoder.This operation shows the current state and uptime ID of a transcoder.
wowza.showTranscoderState({
"id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the transcoder.object
object
string
(values: starting, stopping, started, stopped, resetting): The state of the transcoder.string
: The transcoding_uptime_id parameter is deprecated and is replaced by uptime_id. The unique identifier associated with a specific uptime period of a transcoder.string
: The unique identifier associated with a specific uptime period of a transcoder.This operation responds with a hash of metrics (keys) for a currently running transcoder. Each key has a status, text (description), units, and value.
wowza.showTranscoderStats({
"id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the transcoder.object
This operation stops a transcoder.
wowza.stopTranscoder({
"id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the transcoder.object
object
string
(values: starting, stopping, started, stopped, resetting): The state of the transcoder.string
: The transcoding_uptime_id parameter is deprecated and is replaced by uptime_id. The unique identifier associated with a specific uptime period of a transcoder.This operation shows the thumbnail URL of a started transcoder.
wowza.showTranscoderThumbnailUrl({
"id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the transcoder.object
object
string
: The URL to receive the preview thumbnail.This operation shows the details of all of the output renditions of a specific transcoder.
wowza.listTranscoderOutputs({
"transcoder_id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the transcoder.This operation creates an output rendition for a specific transcoder.
wowza.createTranscoderOutput({
"transcoder_id": "",
"output": null
}, context)
object
string
: The unique alphanumeric string that identifies the transcoder.object
This operation deletes an output, including all of its assigned targets.
wowza.deleteTranscoderOutput({
"transcoder_id": "",
"id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the transcoder.string
: The unique alphanumeric string that identifies the output rendition.Output schema unknown
This operation shows the details of a specific output rendition for a specific transcoder.
wowza.showTranscoderOutput({
"transcoder_id": "",
"id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the transcoder.string
: The unique alphanumeric string that identifies the output rendition.object
This operation updates an output rendition.
wowza.updateTranscoderOutput({
"transcoder_id": "",
"id": "",
"output": null
}, context)
object
string
: The unique alphanumeric string that identifies the transcoder.string
: The unique alphanumeric string that identifies the output rendition.object
The operation POST /transcoders/{transcoder_id}/outputs/{id}/add_stream_target is deprecated. Use POST /transcoders/{transcoder_id}/outputs/{output_id}/output_stream_targets to add an existing stream target to an output.
wowza.addStreamTargetToTranscoderOutput({
"transcoder_id": "",
"id": "",
"output_stream_target": {
"output_stream_target": {
"stream_target_id": ""
}
}
}, context)
object
string
: The unique alphanumeric string that identifies the transcoder.string
: The unique alphanumeric string that identifies the output rendition.object
The operation DELETE /transcoders/{transcoder_id}/outputs/{id}/remove_stream_target is deprecated. Use DELETE /transcoders/{transcoder_id}/outputs/{output_id}/output_stream_targets/{id} to remove a stream target from an output.
wowza.removeStreamTargetToTranscoderOutput({
"transcoder_id": "",
"id": "",
"output_stream_target": {
"output_stream_target": {
"stream_target_id": ""
}
}
}, context)
object
string
: The unique alphanumeric string that identifies the transcoder.string
: The unique alphanumeric string that identifies the output rendition.Output schema unknown
This operation shows the details of all of the output stream targets of an output of a transcoder.
wowza.listTranscoderOutputOutputStreamTargets({
"transcoder_id": "",
"output_id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the transcoder.string
: The unique alphanumeric string that identifies the output rendition.This operation creates an output stream target. Targets whose type is UltraLowLatencyStreamTarget can't be added to output renditions.
wowza.createTranscoderOutputOutputStreamTarget({
"transcoder_id": "",
"output_id": "",
"output_stream_target": null
}, context)
object
string
: The unique alphanumeric string that identifies the transcoder.string
: The unique alphanumeric string that identifies the output rendition.object
This operation deletes an output stream target, including all of its assigned targets.
wowza.deleteTranscoderOutputOutputStreamTarget({
"transcoder_id": "",
"output_id": "",
"stream_target_id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the transcoder.string
: The unique alphanumeric string that identifies the output rendition.string
: The unique alphanumeric string that identifies the stream target.Output schema unknown
This operation shows the details of an output stream target.
wowza.showTranscoderOutputOutputStreamTarget({
"transcoder_id": "",
"output_id": "",
"stream_target_id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the transcoder.string
: The unique alphanumeric string that identifies the output rendition.string
: The unique alphanumeric string that identifies the stream target.object
This operation updates an output stream target.
wowza.updateTranscoderOutputOutputStreamTarget({
"transcoder_id": "",
"output_id": "",
"stream_target_id": "",
"output_stream_target": null
}, context)
object
string
: The unique alphanumeric string that identifies the transcoder.string
: The unique alphanumeric string that identifies the output rendition.string
: The unique alphanumeric string that identifies the stream target.object
This operation disables an output stream target.
wowza.disableTranscoderOutputOutputStreamTarget({
"transcoder_id": "",
"output_id": "",
"stream_target_id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the transcoder.string
: The unique alphanumeric string that identifies the output rendition.string
: The unique alphanumeric string that identifies the stream target.object
object
string
(values: enabled, disabled, restarted): The state of the output stream target.This operation enables an output stream target.
wowza.enableTranscoderOutputOutputStreamTarget({
"transcoder_id": "",
"output_id": "",
"stream_target_id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the transcoder.string
: The unique alphanumeric string that identifies the output rendition.string
: The unique alphanumeric string that identifies the stream target.object
object
string
(values: enabled, disabled, restarted): The state of the output stream target.This operation restarts an output stream target.
wowza.restartTranscoderOutputOutputStreamTarget({
"transcoder_id": "",
"output_id": "",
"stream_target_id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the transcoder.string
: The unique alphanumeric string that identifies the output rendition.string
: The unique alphanumeric string that identifies the stream target.object
object
string
(values: enabled, disabled, restarted): The state of the output stream target.This operation shows all of the properties of a specific transcoder.
wowza.listTranscoderProperties({
"transcoder_id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the transcoder.This operation creates a property for a transcoder. For more information see the technical article How to set advanced properties by using the Wowza Streaming Cloud REST API.
wowza.createTranscoderProperty({
"transcoder_id": "",
"property": {
"property": {
"section": "",
"key": "",
"value": ""
}
}
}, context)
object
string
: The unique alphanumeric string that identifies the transcoder.object
This operation deletes a specific property from a specific transcoder.
wowza.deleteTranscoderProperty({
"transcoder_id": "",
"id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the transcoder.string
: The unique string that identifies the transcoder property. The string contains the section and the key, connected by a dash. For example, cupertino-cupertinoProgramDateTimeOffset.Output schema unknown
This operation shows the details of a specific property for a specific transcoder.
wowza.showTranscoderProperty({
"transcoder_id": "",
"id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the transcoder.string
: The unique string that identifies the transcoder property. The string contains the section and the key, connected by a dash. For example, cupertino-cupertinoProgramDateTimeOffset.object
This operation shows all of the uptime records for a specific transcoder. An uptime record identifies a specific transcoding session.
wowza.indexUptimes({
"transcoder_id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the transcoder.integer
: Returns a paginated view of results from the HTTP request. Specify a positive integer to indicate which page of the results should be displayed first. Next and Previous links allow you to navigate multiple pages of results. Omit the page parameter or specify an integer that's less than or equal to 0 to view all (unpaginated) results.integer
: For use with the page parameter. Indicates how many records should be included on each page of results. A valid value is any positive integer. The default is 10.This operation shows the details of a specific uptime record for a specific transcoder. An uptime record identifies a transcoding session.
wowza.showUptime({
"transcoder_id": "",
"id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the transcoder.string
: The unique alphanumeric string that identifies the uptime record.This operation returns a snapshot of the current source connection and processing details of an active (running) transcoder.
wowza.showUptimeMetricsCurrent({
"transcoder_id": "",
"id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the transcoder.string
: The unique alphanumeric string that identifies the uptime record.string
: A comma-separated list of fields to return.object
object
string
: A comma-separated list of fields that were returned in the request.This operation shows the historic source connection and processing details for a transcoding session (uptime record). The transcoder can be running or stopped. Metrics are recorded every 20 seconds.
wowza.showUptimeMetricsHistoric({
"transcoder_id": "",
"id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the transcoder.string
: The unique alphanumeric string that identifies the uptime record.string
: A comma-separated list of fields to return.string
: The start of the range of time used to aggregate the metrics. Express the value by using the ISO 8601 standard of YYYY-MM-DDTHH:MM:SSZ where HH is a 24-hour clock in UTC.string
: The end of the range of time used to aggregate the metrics. Express the value by using the ISO 8601 standard of YYYY-MM-DDTHH:MM:SSZ where HH is a 24-hour clock in UTC.object
array
object
string
: A comma-separated list of fields that were returned in the request.string
: The start of range of time when the metrics were aggregated for the query.string
: The end of the range of time when the metrics were aggregated for the query.This operation shows the amount of network usage for all stream sources in the account. The default time frame is from the last billing date to the end of the current day.
wowza.usageNetworkStreamSourcesIndex({}, context)
object
string
: 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. The from default is the last billing date.string
: 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. The to default is the end of the current day.This operation shows the amount of network usage for all stream targets in the account cumulatively and individually. The default time frame is from the last billing date to the end of the current day.
wowza.usageNetworkStreamTargetsIndex({}, context)
object
string
: 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. The from default is the last billing date.string
: 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. The to default is the end of the current day.This operation shows the amount of network usage (egress) for all transcoders in the account. The default time frame is from the last billing date to the end of the current day.
wowza.usageNetworkTranscodersIndex({}, context)
object
string
: 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. The from default is the last billing date.string
: 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. The to default is the end of the current day.string
(values: transcoded, passthrough): The type of transcoder. The default is transcoded.string
(values: pay_as_you_go, twentyfour_seven): The billing mode for the transcoder. The default is pay_as_you_go.This operation shows the amount of peak recording storage used for the account. The default time frame is from the last billing date to the end of the current day.
wowza.usageStoragePeakRecordingIndex({}, context)
object
string
: 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. The from default is the last billing date.string
: 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. The to default is the end of the current day.This operation shows the amount of stream processing time used by all transcoders in the account. The default time frame is from the last billing date to the end of the current day.
wowza.usageTimeTranscodersIndex({}, context)
object
string
: 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. The from default is the last billing date.string
: 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. The to default is the end of the current day.string
(values: transcoded, passthrough): The type of transcoder. The default is transcoded.string
(values: pay_as_you_go, twentyfour_seven): The billing mode for the transcoder. The default is pay_as_you_go.This operation shows viewer data for a specific stream target. The default time frame is from the last billing date to the end of the current day.
wowza.showViewerDataStreamTarget({
"id": ""
}, context)
object
string
: The unique alphanumeric string that identifies the stream target.string
: 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. The from default is the last billing date.string
: The end of the range ofVersion | Tag | Published |
---|---|---|
5.0.0 | latest | 2yrs ago |