Get the mediafiles.

20Oct2010

Get most popular mediafiles.

Request URL

/statistics/popularmediafiles [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-
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/popularmediafiles?limit=150&order_direction=desc

Example Response

<items>
  <item id="1">
    <mediafile_id>VxsIJXDjuYUJKq81n9Ulimmu</mediafile_id>
    <asset_id>7pAkDsceysAZPo0q3PhjtBE1</asset_id>
    <app_id>14</app_id>
    <owner_id>admin</owner_id>
    <group_id></group_id>
    <container_type>flv</container_type>
    <filesize>1282548</filesize>
    <count>100</count>
    <filename>Best.flv</filename>
    <created>2010-01-22 16:23:41</created>
  </item>
</items>