Retrieve metadata definitions.

28Mar2011

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-
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>