This contract is currently in the Proof-of-concept stage and is still subject to change
Introduction
Our product can integrate with a variety of tools that offer additional insights into your object. By configuring new Module Plugins with the category “Insights”, MediaHaven will produce a list of reports by combining all reports across all plugins of this category.
Methods
A connector of the category “Insights” must implement the following 3 methods
Common
For all methods the following HTTP header is provided:
x-api-key: <API key for the downstream service>
POST /analyze
Analyzes the object such that insights can be requested for this object when the analysis is completed. The method is asynchronous, meaning it does not need to wait until the analysis is completed.
Input
The input is a JSON body with the following properties
Property | Description |
---|---|
| The standard JSON representation of the metadata as used in the MediaHaven REST API. |
| The custom properties configured on the plugin → https://mediahaven.atlassian.net/wiki/spaces/CS/pages/4438884395/Module+Plugins#Custom-properties |
Response / Output
The HTTP response
204 No Content
when the analysis was successfully started
Input Example
GET insights/
Returns the list of available insights on the object without returning the detail of each insight.
Input
The input is a JSON object with the following properties
Property | Description |
---|---|
| The record ID of the object in question |
| The custom properties configured on the plugin → https://mediahaven.atlassian.net/wiki/spaces/CS/pages/4438884395/Module+Plugins#Custom-properties |
Response / Output
The output is a JSON array of JSON objects with the following properties
Property | Description |
---|---|
| The name of the insight |
| The ID of the insight such that it can be requested indivudually. |