Get the used diskspace.

22Aug2011

Get the used diskspace.

Request URL

/statistics/datausagevideo [GET]

Request Authorization

This call needs EGA authentication.

Request Parameters

Parameter (Type)DescriptionRequiredDefault valueMax. length
month (INT)The month of the query.Required-
type (STRING)The type.
Value must be either "container" or "group" or "user".
Required-
year (INT)The year of the query.Required-
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.Optionalasc-

Example Request

statistics/datausagevideo?month=1&year=2010&type=user&limit=150&order_direction=asc

Example Response

<items>
  <item id="1">
    <container_type>asf</container_type>
    <user_id>admin</user_id>
    <type>user</type>
    <app_id>14</app_id>
    <diskspace_mb>105</diskspace_mb>
  </item>
</items>