Add or Update Metadata

Adds custom metadata in form of a key/value pair to an asset. If submitted key already exists then the value for that key will be updated.

// Example payload for multiple pairs
[
  {	
		"key"		: "Timecode",
  	"value" : "06:48:22:29"
	},
	{	
		"key"		: "ResolutionUnit",
  	"value" : "inches"
	}
]

Using POST, MediaSilo will add any new keys to the metadata table and will update any existing keys it finds. Consider this example:

// An asset has the follwing metadata:
{"key": "Producer","value": "Alex Nauda"}


// A POST request is made to update the producer and add a location:
[
  {"key": "Producer","value": "Mike Delano"},
  {"key": "Location","value": "Boston"}
]

At the end of the request, the asset will contain an updated Producer value and a new Location key.

Language
Credentials
:
Click Try It! to start a request and see the response here!