Version 2

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.

ParameterDescription
mediafileSource file location
mediaidMedia ID
mediastatusMedia Status
createdateMedia creation date and time
startdateMedia start date and time
finishdateMedia encoding finish date and time
closeddateLast media task close date and time