# 1.request Json example of creating task

{
  "type": 1,
  "uuid": "aslkfjalfksjalskfjalsfkjalksf",
  "data": {
    "callbackHost": "https://....:8443",
    "url": "https://.......xml"
  }
}
Field Explain Type Mandatory
type task type,1-task type of compliling int true
uuid Universally Unique Identifier,task id String true
data detail information of task object true
callbackHost host of callbacking String true
url url of xml String true

# 2.request Json example of callbacking task

# callbacking of composing

{
  "type": 1,
  "uuid": "9faec759-a790-4008-8760-f9f01223ec75",
  "data": {
    "code": 0,
    "message": "success",
    "duration": "8040000",
    "width": "864",
    "height": "480",
    "url": "https://alieasset.meishesdk.com/editor60-f9f01223ec75.mp4"
  }
}
Field Explain Type
type type of task,0-type of transcoding int
uuid Universally Unique Identifier,task id String
data detail information after task transcoding Object
code result code of task 0-success,others-failed int
message result information of task String
duration duration time of video,in millisecond long
width width of video long
height height of video long
url url of video String

#