Open source media management and distribution platform
With this call you can customize asset information.
/asset/{asset_id} [POST]
|
Parameter |
Type |
Description |
Method |
Obligatory/Optional |
|
asset_id |
alphanumeric |
the asset which the information should be updated |
URL |
obligatory |
|
user_id |
string |
this user id is for the authorisation |
POST |
obligatory |
|
play_restriction_start |
ISO 8601 datum/time |
JJJJ-MM-DD HH:MM:SS |
POST |
optional |
|
play_restriction_end |
ISO 8601 datum/time |
JJJJ-MM-DD HH:MM:SS |
POST |
optional |
|
isprivate |
boolean |
If isprivate = true, then the asset is not displayed in public lists, such as top 10, last uploaded, etc. |
POST |
optional, default = false |
|
owner_id |
string |
the possible new owner of the asset; Only the app manager can change this flag (is_app_admin=true). |
POST |
optional |
|
group_id |
string |
the possible new group of the asset; Only the app manager can change this flag(is_app_admin=true). |
POST |
optional |
|
is_app_admin |
boolean |
Indicates whether the rest call is called by admin. This flag ensures that the admin the only one, who can change 'is_unappropiate' and / or "owner_id" and / or 'group_id' fields. |
POST |
optional; default = false |
|
is_unappropiate |
boolean |
If is_unappropiate = 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). |
POST |
optional, default = false |
/asset/VlN2ZDKv9rpsfmBAWpvfiw1zQ6z
play_restriction_start=”2007-12-05 08:30:00”
play_restriction_end=”2007-12-31 10:00:00”
|
Field |
Description |
|
n/a |
This call doesn't return others, just the standard header with the request information |