Common request parameters

Common request parameters must be included in all ApsaraVideo Media Processing API requests.
ParameterTypeRequiredDescription
FormatStringNoThe format in which to return the response. Valid values: JSON and XML. Default value: XML.
VersionStringYesThe version number of the API. It is in the YYYY-MM-DD format. Set the value to 2014-06-18.
AccessKeyIdStringYesThe AccessKey ID provided to you by Alibaba Cloud.
SignatureStringYesThe signature string of the current request. For more information about how signatures are calculated, see Signature method.
SignatureMethodStringYesThe encryption method of the signature string. Set the value to HMAC-SHA1.
TimestampStringYesThe timestamp of the request. Specify the time in the ISO 8601 standard and use UTC time. The time is in the YYYY-MM-DDThh:mm:ssZ format, for example, 2014-7-29T12:00:00Z (20:00:00, July 29, 2014, China Standard Time).
SignatureVersionStringYesThe version of the signature encryption algorithm. Set the value to 1.0.
SignatureNonceStringYesA unique, random number used to prevent replay attacks. You must use different numbers for different requests.
Examples

http://mts.cn-hangzhou.aliyuncs.com/
? Format=json 
&Version=2014-06-18
&Signature=vpEEL0zFHfxXYzSFV0n7%2FZiFL9o%3D 
 &SignatureMethod=Hmac-SHA1
 &SignatureNonce=9166ab59-f445-4005-911d-664c1570df0f
&SignatureVersion=1.0
&Action=SubmitJobs
&AccessKeyId=test 
&Timestamp=2014-07-29T09%3A22%3A32Z

Common response parameters

Every response returns a unique request ID regardless of whether the call is successful.

XML format
<? xml version="1.0" encoding="UTF-8"? >
    <!-Result root node--> 
    <API operation name+Response> <!-Request ID-->
        <RequestId>4C467B38-3910-447D-87BC-AC049166F216</RequestId>
        <!-Return result data--> 
    </API operation name+Response>
 
                
JSON format

{
"RequestId": "4C467B38-3910-447D-87BC-AC049166F216", /* Return result data */
}