Create a asset.

17May2010

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