Update the supplement of the asset.

17May2010

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-
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