/asset/$asset_id [POST]
This call needs EGA authentication.
| Parameter (Type) | Description | Required | Default value | Max. 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 | - |
/asset/VlN2ZDKv9rpsfmBAWpvfiw1zQ6z
play_restriction_start="2007-12-05 08:30:00"
play_restriction_end="2007-12-31 10:00:00"
Comments
is_app_admin=true is needed
Posted by Michiel.Schok on May 26th, 2010 - 13:40is_app_admin=true is needed for an owner_id update, I don't know why 'NOT USED' is listed in the table above.
Fixed.
Posted by forgacs on May 26th, 2010 - 14:54It is fixed. I have implemented the Mediamosa 2 REST call browser standards.