Retrieve metadata definitions.

22Aug2011

Retrieve the listing of the asset metadata definitions.

Request URL

/metadata_tag [GET]

Request Authorization

This call needs EGA authentication.

Request Parameters

Parameter (Type)DescriptionRequiredDefault valueMax. length
include_default_definitions (BOOL)Switch if we need to get all the default definitions that are 'global' over all apps.OptionalTRUE-
limit (INT)Limit of the items of the result set.Optional10-
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-
name (ALPHA_NUM_UNDERSCORE)Optional property name to search on.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.
Value (when supplied) must be either "prop_id" or "prop_name" or "type" or "created" or "changed".
Optional-
order_direction (ALPHA)The direction of the result set.Optionalasc-

Example Request

metadata_tag?include_default_definitions=true&limit=10&order_direction=asc

Example Response

  <items>
  <item id="1">
    <prop_id>125</prop_id>
    <name>Example</name>
    <prop_group>app_14</prop_group>
    <type>CHAR</type>
    <created>2010-04-08 16:08:01</created>
    <changed>2010-04-08 16:08:01</changed>
  </item>
</items>