Global metadata¶
Global metadata is metadata that is not associated with any item or collection. It can primarily be used as a reference, for example holding a field that is referenced from many items.
Retrieving the global metadata¶
- GET /metadata¶
Retrieves the global metadata. This resource shares the same query and matrix parameters as the item metadata resource.
Produces: - application/xml, application/json – MetadataDocument
Role: _metadata_global_read
Modifying the global metadata¶
- PUT /metadata¶
Modifies the global metadata. This resource shares the same query and matrix parameters as the item metadata resource.
Accepts: - application/xml , application/json – MetadataDocument
Produces: - application/xml, application/json – MetadataDocument
Retrieving metadata by UUID¶
- GET /metadata/(uuid)¶
Retrieves the metadata entry that matches the UUID.
Produces: - application/xml, application/json – MetadataEntryDocument
Role: _metadata_global_read
Example¶
GET /metadata/c3dc7918-9316-4fef-b4fc-ff2b0149e854
<MetadataEntryDocument xmlns="http://xml.vidispine.com/schema/vidispine">
<field uuid="c3dc7918-9316-4fef-b4fc-ff2b0149e854" user="system" timestamp="2011-01-10T10:00:54.845+01:00" change="VX-7">
<name>originalVideoCodec</name>
<value uuid="199255d8-59ec-421e-9c7b-757c46c92b14" user="system" timestamp="2011-01-10T10:00:54.845+01:00" change="VX-7">h264</value>
</field>
</MetadataEntryDocument>
GET /metadata/199255d8-59ec-421e-9c7b-757c46c92b14
<MetadataEntryDocument xmlns="http://xml.vidispine.com/schema/vidispine">
<value uuid="199255d8-59ec-421e-9c7b-757c46c92b14" user="system" timestamp="2011-01-10T10:00:54.845+01:00" change="VX-7">h264</value>
</MetadataEntryDocument>