Functional Description
Convert XML file format to JSON
Request
plain
POST /project/xml2json
Content-Type: multipart/form-dataParam
| Field | Type | Description | Required |
|---|---|---|---|
| projectFile | File | Exported XML file | Yes |
Response
response body
json
{
"code": 0,
"msg": "success",
"data": {
"output": "16:9",
"timelines": []
}
}| Field | Type | Description | Required |
|---|---|---|---|
| code | int | Status code, 0 is success, all others are failure | Yes |
| msg | string | Status information | Yes |
| data | object | Returned data body, see the project json data structure description | Yes |