Create metadata for the asset.

22Aug2011

Request URL

/asset/$asset_id/metadata [POST]

Request Authorization

This call needs EGA authentication.

Request Parameters

Parameter (Type)DescriptionRequiredDefault valueMax. length
asset_id (ALPHA_NUM)The asset ID to create the metadata for.Required-
user_id (ALPHA_NUM)The user ID, must be owner of asset.Required-
action (ALPHA)Action to choose for given metadata values, choose either 'replace', 'append' or 'update'. Do not specify both action and replace parameters.
Value (when supplied) must be either "replace" or "append" or "update".
Optionalreplace-
aggregatieniveau[] (STRING)A metadata property.Optional-
auteursrechten[] (STRING)A metadata property.Optional-
beoogde_eindgebruiker[] (STRING)A metadata property.Optional-
beoogde_leeftijdsgroep[] (STRING)A metadata property.Optional-
beschrijving[] (STRING)A metadata property.Optional-
classificatie[] (STRING)A metadata property.Optional-
context[] (STRING)A metadata property.Optional-
contributor[] (STRING)A metadata property.Optional-
coverage_spatial[] (STRING)A metadata property.Optional-
coverage_temporal[] (STRING)A metadata property.Optional-
created[] (DATETIME)A metadata property.Optional-
creator[] (STRING)A metadata property.Optional-
date[] (DATETIME)A metadata property.Optional-
description[] (STRING)A metadata property.Optional-
description_abstract[] (STRING)A metadata property.Optional-
format[] (STRING)A metadata property.Optional-
format_extent[] (STRING)A metadata property.Optional-
format_medium[] (STRING)A metadata property.Optional-
hasformat[] (STRING)A metadata property.Optional-
identificatiecode[] (STRING)A metadata property.Optional-
identifier[] (STRING)A metadata property.Optional-
isformatof[] (STRING)A metadata property.Optional-
isreferencedby[] (STRING)A metadata property.Optional-
issued[] (DATETIME)A metadata property.Optional-
kosten[] (STRING)A metadata property.Optional-
language[] (LANGUAGE_CODE)A metadata property.Optional-
license[] (STRING)A metadata property.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-
omschrijving_rechten[] (STRING)A metadata property.Optional-
publisher[] (STRING)A metadata property.Optional-
relation[] (STRING)A metadata property.Optional-
replace (BOOL)Replace all metadata or append given metadata values. Do not specify both action and replace parameters.OptionalTRUE-
rights[] (STRING)A metadata property.Optional-
rightsholder[] (STRING)A metadata property.Optional-
schemanaam[] (STRING)A metadata property.Optional-
sleutelwoord[] (STRING)A metadata property.Optional-
soort_leermateriaal[] (STRING)A metadata property.Optional-
source[] (STRING)A metadata property.Optional-
status[] (STRING)A metadata property.Optional-
subject[] (STRING)A metadata property.Optional-
taal[] (STRING)A metadata property.Optional-
titel[] (STRING)A metadata property.Optional-
title[] (STRING)A metadata property.Optional-
title_alternative[] (STRING)A metadata property.Optional-
type[] (STRING)A metadata property.Optional-
versie[] (STRING)A metadata property.Optional-

Example Request

asset/2RcNiH26TY50e23MY3xw78cq/metadata

description = "test description"

Example Response

<items>
  <item id="1">
    <description>test description</description>
  </item>
</items>