Update a mediafile.

22Aug2011

Update a mediafile.

Request URL

/mediafile/$mediafile_id [POST]

Request Authorization

This call needs EGA authentication.

Request Parameters

Parameter (Type)DescriptionRequiredDefault valueMax. length
mediafile_id (ALPHA_NUM)The mediafile ID.Required-
user_id (ALPHA_NUM)The owner ID to match.Required-
filename (FILENAME)Change the filename of the file.Optional-
is_downloadable (BOOL)Mediafile can be downloaded.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-
sannas_mount_point (STRING)The location path of the file.Optional-
tag (STRING)User specified tag.Optional-
transcode_inherits_acl (BOOL)Any transcodes will inherit ACL settings.Optional-
uri (URI)The stream URI.Optional-

Example Request

mediafile/OW35AQyoPNUSi4iINunmS2nr
tag=Best

Example Response