# Function Description

The frontend will generate XML file according to project which need to be integrate.and upload the XML file to Cloud storage,and sent the url to server,the server process the images path of XML file and transform Internet path to local path,then callback the integration server to composing video.

# Request

# request example

POST /project/compile HTTPS
Host: <host>
Content-Type: application/json

# Request Headers

none

# Request Body

request body is JSON character string,for example:

{
  "compileXmlContent": "<?xml version=\"1.0\" encoding=\"UTF-8\"?><timeline resWidth=\"1280\" resHeight=\"720\" duration=\"7000000\" videoSize=\"16:9\"><videoTracks><videoTrack index=\"0\"><videos><video index=\"0\" type=\"1\" path=\"https://alieasset.meishesdk.com/editor/2021/05/26/m3u8Transform/c8e65632-22ee-4363-a2ca-18766fcb344c/c8e65632-22ee-4363-a2ca-18766fcb344c.m3u8\" inPoint=\"0\" outPoint=\"7000000\" trimIn=\"25920000\" trimOut=\"32920000\"/></videos></videoTrack></videoTracks></timeline>\n",
  "liveUuid": "c8e65632-22ee-4363-a2ca-18766fcb344c",
  "title": "片段1",
  "userId": "7866"
}

# Response

# Response Header

No special response header

# Response Body

Successful Response Body :

{
  "code": 0,
  "data": {
    "jobUuid": "a4236c05-3c06-4050-9da5-5cdc9fb9c4e4"
  },
  "msg": "操作成功"
}

Failed Response Body

{
  "code": <errorCode>,
  "data": "",
  "msg": <errorMessage>
}