02 December 2021

Send XML or JSON as Request Body

Added the ability to send API requests as a HTTP Request Body.

Content-Type should be application/xml for XML and application/json for JSON
Request Body is an XML or JSON string

POST https://manage.encoding.com/ HTTP/2
Host: manage.encoding.com
Content-Type: application/xml

<?xml version="1.0"?><query><action>[Action]</action><userid><<id>></userid><userkey><<key>></userkey></query>
POST https://manage.encoding.com/ HTTP/2
Host: manage.encoding.com
Content-Type: application/json

{"query":{"action":"[Action]","userid":"<<id>>","userkey":"<<key>>"}}

Add Closed Captions To Specified Manifests

Added an option to add closed captions data only to the specified manifests of advanced_hls, fmp4_hls, advanced_dash, and advanced_fmp4 output formats.

<?xml version="1.0"?>
<query>
    <userid><<id>></userid> <!-- required-->
    <userkey><<key>></userkey> <!-- required-->
    <action>[Action]</action> <!-- required-->
    <source>[SourceFile]</source> <!-- required-->
    <format>
        <output>[advanced_hls|fmp4_hls|advanced_dash|advanced_fmp4]</output> <!-- required-->
        <manifest>
            <basename>[BaseName]</basename> <!-- required-->
            <!-- manifest params -->
        </manifest>
        <manifest>
            <!-- manifest params -->
        </manifest>
        <closed_captions>
            <add_to_manifest>[ManifestsList]</add_to_manifest>
        </closed_captions>
        <!-- Multiple closed captions params may be included in output format -->
        <closed_captions>
            <!-- closed captions params -->
        </closed_captions>
        <!-- format params -->
    </format></query>
{
    "query": {
        "userid": "<<id>>", // required
        "userkey": "<<key>>", // required
        "action": "[Action]", // required
        "source": "[SourceFile]", // required
        "format": {
            "output": "[advanced_hls|fmp4_hls|advanced_dash|advanced_fmp4]", // required
            "manifest": [
                {
                    "basename": "[BaseName]", // required
                    // manifest params
                },
                {
                    // manifest params
                }
                // Multiple manifests may be included
            ],
            "closed_captions": [
                {
                    "add_to_manifest": "[ManifestsList]"
                },
                {
                    // closed captions params
                }
            ]
          	// format params
        }
    }
}
ParameterDescriptinAllowed ValuesDefault Value
add_to_manifestAdd closed captions data to specified manifests. By default closed caption will be added to all manifests.Comma separated list of manifest namesnone

🚧

For add_to_manifest parameter

The <add_to_manifest  /> parameter available only for advanced_hls, fmp4_hls, advanced_dash, and advanced_fmp4 output formats.