Create a asset.

22Aug2011

The asset create REST call will create a empty asset without metadata and/or mediafiles.

Request URL

/asset/create [POST]

Request Authorization

This call needs EGA authentication.

Request Parameters

Parameter (Type)DescriptionRequiredDefault valueMax. length
user_id (ALPHA_NUM)The user ID.Required-
group_id (ALPHA_NUM)The user group ID.Optional-
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-
parent_id (ALPHA_NUM)The parent ID. Is deprecated, do not supply, value will be ignored.Optional-
provider_id (ALPHA_NUM)The provider ID.Optional-
reference_id (STRING)The reference ID.Optional-

Example Request

/asset/create user_id = "username"

Example Response

<items>
  <item id="1">
    <asset_id>q1WmtebDr9F8eberUIjKrhTa</asset_id>
  </item>
</items>