Create a asset metadata definition.

22Aug2011

Create a asset metadata definition.

Request URL

/metadata_tag/create [POST]

Request Authorization

This call needs EGA authentication.

Request Parameters

Parameter (Type)DescriptionRequiredDefault valueMax. length
name (ALPHA_NUM_UNDERSCORE_TAG)The name of the property to create.Required-
type (STRING)The type of data to be stored, can either be 'datetime' (iso-8601 standard date), 'int' (numbers), char (text).
Value must be either "datetime" or "int" or "char".
Required-
is_hidden (STRING)True if the property is hidden.
Value (when supplied) must be either "FALSE" or "TRUE".
OptionalFALSE-
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-

Example Request

metadata_tag/create
name=Example&type=char

Example Response

  <items>
  <item id="1">
    <prop_id>125</prop_id>
    <app_id>14</app_id>
    <propgroup_id>5</propgroup_id>
    <prop_name>Example</prop_name>
    <type>CHAR</type>
    <min_occurences>0</min_occurences>
    <max_occurences>0</max_occurences>
    <created>2010-04-08 16:08:01</created>
    <changed>2010-04-08 16:08:01</changed>
  </item>
</items>