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

Retrieving metadata by UUID

GET /metadata/(uuid)

Retrieves the metadata entry that matches the UUID.

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

Removing metadata by UUID

DELETE /metadata/(uuid)

Removes the metadata with the specified UUID.

Role:_metadata_global_write

Example

DELETE /metadata/6fba17bb-ed52-43ab-86b7-07f5494edeed
200 OK