Update the supplement of the asset.

22Aug2011

Store the supplement data in the supplement db object. The maximum size is 64k.

Request URL

/asset/$asset_id/supplement/$supplement_id/update [POST]

Request Authorization

This call needs EGA authentication.

Request Parameters

Parameter (Type)DescriptionRequiredDefault valueMax. length
asset_id (ALPHA_NUM)The asset ID.Required-
supplement (STRING)The supplement.Required-
supplement_id (ALPHA_NUM)The supplement ID.Required-
user_id (ALPHA_NUM)The user ID.Required-
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-
oai_namespaceuri (STRING)The OAI namespace URI.Optional-
oai_prefix (STRING)The OAI prefix.Optional-
oai_schemalocation (STRING)The OAI schema location.Optional-

Example Request

asset/S2Eg3Fzh2Rdw5dLbArmgqRKr/supplement/w27fFVLXbXIQqUuiTAqDe7Hx/update

user_id = "testuser"
supplement = "my binary test, this can be anything as long is not bigger than 64k."

Example Response