Metadata Manager
General Purpose
This service is used for metadata commands and provides the different commands available via MetadataManager.
Interface type: Web Service
Input Parameters
MetadataManager.createMetaDataEntry API
This API is used for the creation of metadata that can be used later on by a digital entity.
Parameters | Description |
---|---|
general | A general document |
description | The metadata description |
name | The name of the metadata (for example, technical) |
type | The type of the metadata (for example, image_niso) |
value | The metadata xml block (for example, mix / Dublin Core records) |
returns | A DigitalEntityResult document with the new generated MID (Metadata ID) |
MetadataManager.deleteMetaDataEntry API
This API is used for deleting a single metadata record
Parameters | Description |
---|---|
mid | The ID of the metadata to be deleted |
returns | A DigitalEntityResult document |
MetadataManager. retrieveMetaDataEntry API
This API is used for retrieving a single metadata record
Parameters | Description |
---|---|
mid | The ID of the metadata to be deleted |
returns | A DigitalEntityResult document |
MetadataManager.searchMetaData API
Used for metadata searching
Parameters | Description |
---|---|
general | A general document |
name | The name of the metadata (for example, technical), not mandatory |
type | The type of the metadata (for example, image_niso), not mandatory |
searchBy | Index field to search on (for example, “title”), not mandatory |
searchTerm | Search term (for example, picasso), not mandatory |
orderBy | Not implemented |
queryFrom | First answer position to be returned |
queryTo | Last answer position to be returned |
return | DigitalEntityResultDocument with a list of mds. On Error – The error node is set to true, the error_description node holds the error description |
Note – the owner in the general document will be used as criteria for the MD owner.