Edits the metadata for the session.
Caution
Partial updates are not supported. The full metadata set submitted in the request will replace the full previous metadata set.
Authorizations: Sessions - EDIT
PUT /apis/sessions/:sessionId/metadata
[ { "name": "calypso:creator", "field": [ { "fieldType": "STRING", "valueString": "haiadmin7" } ] }, { "name": "calypso:category:Locations", "field": [ { "fieldType": "STRING", "valueString": "Montreal" } ] }, { "name": "calypso:recording", "field": [ { "fieldType": "STRING", "valueString": "6d736ffb-50a2-4068-ad2e- cc147258b3f5" } ] }, { "name": "calypso:creatorDisplayName", "field": [ { "fieldType": "STRING", "valueString": "haiadmin" } ] } ]
[
{
"name": "calypso:creator",
"field": [
"fieldType": "STRING",
"valueString": "haiadmin7"
}
]
},
"name": "calypso:category:Locations",
"valueString": "Montreal"
"name": "calypso:recording",
"valueString": "6d736ffb-50a2-4068-ad2e- cc147258b3f5"
"name": "calypso:creatorDisplayName",
"valueString": "haiadmin"
Success
{ "data": [ { "name": "calypso:creator", "field": [ { "fieldType": "STRING", "valueString": "haiadmin7" } ] }, { "name": "calypso:category:Locations", "field": [ { "fieldType": "STRING", "valueString": "Montreal" } ] }, { "name": "calypso:recording", "field": [ { "fieldType": "STRING", "valueString": "6d736ffb-50a2-4068-ad2e- cc147258b3f5" } ] } ]}
"data": [
Error
Code
Payload
Description
400
{"code":"010001", "name":"InputValidation", "message":<Error message>, "httpStatusCode":400}
{"code":"010001", "name":"InputValidation",
"message":<Error message>, "httpStatusCode":400}
Supplied data was insufficient or incorrect.
404
{"code":"040006", "name":"SessionNotFound", "message":"Session not found","httpStatusCode":404}
{"code":"040006", "name":"SessionNotFound",
"message":"Session not found","httpStatusCode":404}
Session with UUID sessionId not found.
sessionId
Please note, these errors can depend on your browser setup.
If this problem persists, please contact our support.