Update the fields of a asset.

22Aug2011

Request URL

/asset/$asset_id [POST]

Request Authorization

This call needs EGA authentication.

Request Parameters

Parameter (Type)DescriptionRequiredDefault valueMax. length
asset_id (ALPHA_NUM)The ID of the asset to update.Required-
user_id (ALPHA_NUM)The user ID used for authotication.Required-
group_id (ALPHA_NUM)The possible new group of the asset; Only the app manager can change this flag(is_app_admin=true).Optional-
is_inappropriate (BOOL)If is_inappropiate = true then only the owner or the app admin (and underlying media files) can see this asset. Only the app manager can change this flag(is_app_admin=true).Optional-
is_unappropriate (BOOL)Alias, same as is_inappropriate.Optional-
isprivate (BOOL)If isprivate = true, then the asset is not displayed in public lists, such as top 10, last uploaded, etc.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-
owner_id (ALPHA_NUM)The possible new owner of the asset; Only the app manager can change this flag (is_app_admin=true).Optional-
play_restriction_end (DATETIME_UTC)The play restriction range end position.Optional-
play_restriction_start (DATETIME_UTC)The play restriction range start position.Optional-
reference_id (STRING)The reference ID.Optional-

Example Request

/asset/VlN2ZDKv9rpsfmBAWpvfiw1zQ6z
play_restriction_start="2007-12-05 08:30:00"
play_restriction_end="2007-12-31 10:00:00"

Example Response