Basic API Structure

Resources


Input/output files to be used in Jobs and Pipelines can be internally or externally stored/hosted. The AutoGraph feature is currently only available when storing the output videos "internally", so on our MediaHub storage (that's because we actually generate the autographed video files on demand every time they are streamed or downloaded - so transmitting/storing them to external storages would be wasteful with regard to both bandwidth and storage space).

Every Pipeline has a corresponding root "folder" entry in the Files resource by default and calls to "/files/uploads" (as well as "/files/downloads") endpoints together with specifying a pipeline id as query parameter will upload (or download) files relative to the Pipeline root folder.

Upon every upload of a new input file to the internal storage, also automatically an entry in the Files resource is created for the newly uploaded object with some default meta-data (like the filename, setting the parent folder of the file, file ending, etc.). Detailed meta-information (like video/audio codec, playlength, resolution) will be populated just once the uploaded object was actually used in a conversion job.

API Responses

All APIs respond with a HTTP response status code and a JSON as response body. In case of success, the HTTP status code is 200 and contains the effective payload in JSON format. In case of an error, the HTTP status code is set to 4xx and the response body consists of an error json containing a error code, error message and (long) error description.