Get the latest mediafiles.

22Aug2011

Get the 50 latest uploaded mediafiles.

Request URL

/statistics/newestmediafiles [GET]

Request Authorization

This call needs EGA authentication.

Request Parameters

Parameter (Type)DescriptionRequiredDefault valueMax. length
limit (INT)Limit of the items of the result set.Optional50-
mediamosa_version (MEDIAMOSA_VERSION)Provide the version to get the REST call returned in the format of the specified MediaMosa version. Keep empty or skip to retrieve in current (latest) version. Provide '2' to retrieve the REST call in 2.x format. Or be more specific by providing up to 3 digits; '2.3.0'. This setting will override any setting used by client application or the default setting in MediaMosa.Optional-
offset (UINT)The starting items position in the result set.Optional0-
order_by (ALPHA_NUM_UNDERSCORE)On what column the result set should be ordered.Optional-
order_direction (ALPHA)The direction of the result set.Optionaldesc-

Example Request

statistics/newestmediafiles?limit=150&order_direction=desc

Example Response

<items>
  <item id="1">
    <asset_id>IwHgMjfuMdbSdxdOPWEQJHdk</asset_id>
    <app_id>14</app_id>
    <owner_id>admin</owner_id>
    <group_id></group_id>
    <mediafile_id>e2NbmiUoaRJAXVZPPJW4T9BW</mediafile_id>
    <filename>Best.wmv</filename>
    <created>2010-04-07 15:21:12</created>
    <container_type>asf</container_type>
    <filesize>993480</filesize>
  </item>
</items>