Request
<?xml version="1.0"?>
<query>
<userid><<id>></userid>
<userkey><<key>></userkey>
<action>GetMediaList</action>
<version>2</version>
</query>
{
"query": {
"userid": "<<id>>",
"userkey": "<<key>>",
"action": "GetMediaList",
"version": "2"
}
}
Response
Date format: YYYY-MM-DD HH:MM:SS
<?xml version="1.0"?>
<response>
<media>
<mediafile>[SourceFile]</mediafile>
<mediaid>[MediaID]</mediaid>
<mediastatus>Closed</mediastatus>
<createdate>[Date]</createdate>
<startdate>[Date]</startdate>
<finishdate>[Date]</finishdate>
<closeddate>[Date]</closeddate>
</media>
<media>
<!-- ... -->
</media>
</response>
{
"response": {
"media": [
{
"mediafile": "[SourceFile]",
"mediaid": "[MediaID]",
"mediastatus": "Closed",
"createdate": "[Date]",
"startdate": "[Date]",
"finishdate": "[Date]",
"closeddate": "[Date]"
},
{
// media params
}
]
}
}
For closeddate parameter
Often <closeddate /> parameter represents the last upload file modified time. It may differ with the actual value of about 1 second.
Parameter | Description |
---|---|
mediafile | Source file location |
mediaid | Media ID |
mediastatus | Media Status |
createdate | Media creation date and time |
startdate | Media start date and time |
finishdate | Media encoding finish date and time |
closeddate | Last media task close date and time |