This request updates the metadata for the specified video.
Caution
Partial updates are not supported. The full metadata set submitted in the request replaces the full previous metadata set.
Authorizations: Recordings - EDIT
Requests
PUT /apis/assets/:assetId/metadata
[{
"name": "calypso:creator",
"field": [
{
"fieldType": "STRING",
"valueString": "haiadmin"
}]
},
{
"name": "calypso:recorded_from_session",
"field": [
{
"fieldType": "STRING",
"valueString": "e4e7c695-5d07-4646-b849-ee79a11d92aa"
}]
},
{
"name": "calypso:category:Locations",
"field": [
{
"fieldType": "STRING",
"valueString": "Chicago"
},
{
"fieldType": "STRING",
"valueString": "Montreal"
}]
}]
Response
Success
{
"data": [
{
"name": "calypso:creator",
"field": [
{
"fieldType": "STRING",
"valueString": "haiadmin"
}
]
},
{
"name": "calypso:recorded_from_session",
"field": [
{
"fieldType": "STRING",
"valueString": "e4e7c695-5d07-4646-b849- ee79a11d92aa"
}
]
},
{
"name": "calypso:category:Locations",
"field": [
{
"fieldType": "STRING",
"valueString": "Chicago"
},
{
"fieldType": "STRING",
"valueString": "Montreal"
}
]
},
{
"name": "calypso:creatorDisplayName",
"field": [
{
"fieldType": "STRING",
"valueString": "haiadmin"
}
]
}
]}
Error
|
Code |
Payload |
Description |
|---|---|---|
|
|
|
Supplied data was insufficient or incorrect. |
|
|
|
Video with UUID |