Hi everybobdy :-)
i am trying to use the external API to update metadata from specific videos.
https://opencast-server.de/docs.html?path=/api/eventsForm action:
/api/events/{eventId}/metadata
Required fields:
eventID :
type :
metadata:
Example scenario: i want to change the series or title through the external api out of our LMS.
Now i want to use the external API to update the metadata to the given eventID, but dont know
how to fill the "type" and "metadata" fields correctly even what is expected.
For type, i tried "events" , "dublincore/episodes" or "EVENTS.EVENTS.DETAILS.METADATA.TITLE"
For metadata the full catalog or the specific field of the metadata catalog.
In most cases the API responses with a Status 200 OK
But in the opencast logs the same ERROR occurs every time:2017-03-13 15:10:40,912 | ERROR | (AbstractFaultChainInitiatorObserver:101) - Error occurred during error handling, give up!
org.apache.cxf.interceptor.Fault: org.json.simple.JSONObject cannot be cast to org.json.simple.JSONArrayCan anybody provide a working example or tell me what the API is expecting?
Regards