Skip to main content

Set Callback Url

Service Address

http://api-az-cn.danghongyun.com/rest

Request Method

POST

Request Parameters

ParameterDescriptionTypeRequired
accessKeyThe user access keyStringRequired
actionAPI name, this api is "setCallbackUrl"StringRequired
versionAPI version, currently must be 2.0StringRequired
timestampInvoke time in milliseconds since january 1 1970, eg: 1466488681033StringRequired
signatureSignature generated by signature rule.StringRequired
callbackUrlcallback urlStringRequired

Response Example

{
"code":0,
"message":"success",
"result":"",
"success":true
}

Error Codes

CodeMessage
0success
10000exception
10003account_not_exists
10201api_not_exists

Callback

After uploading the file, when transcoding starts or ends, Arvideo Cloud server will POST the following parameters to customer through the callback api:

ParameterDescriptionType
videoIdThe video IDString
statusTranscoding status, 1: transcoding is in progress, 2: transcoding successful, 3: transcoding errorInteger
playCodePlay codeString