Update the fields of a asset.

17May2010

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-
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)The play restriction range end position.Optional-
play_restriction_start (DATETIME)The play restriction range start position.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


    

Comments

is_app_admin=true is needed

is_app_admin=true is needed for an owner_id update, I don't know why 'NOT USED' is listed in the table above.

Fixed.

It is fixed. I have implemented the Mediamosa 2 REST call browser standards.