{ "swagger": "2.0", "info": { "description": "This is a documentation for Eaas api-experiments", "version": "0.1.0", "title": "Eaas Frame Sampling Jobs", "license": { "name": "Apache 2.0", "url": "http://www.apache.org/licenses/LICENSE-2.0.html" } }, "basePath": "/", "tags": [ { "name": "frame sampling jobs", "externalDocs": { "description": "Find out more", "url": "http://swagger.io" } } ], "schemes": [ "https", "http" ], "paths": { "/frame_sampling_jobs": { "post": { "tags": [ "frame sampling jobs" ], "summary": "Create a sampling job for video frames / video segments", "consumes": [ "application/json" ], "produces": [ "application/json" ], "parameters": [ { "in": "body", "name": "frame_sampling_job", "required": true, "schema": { "type": "object", "properties": { "frame_sampling_job": { "type": "object", "required": [ "entry_id", "sampling_configuration_attributes" ], "properties": { "entry_id": { "type": "integer" }, "sampling_configuration_attributes": { "type": "object", "required": ["name","output_type"], "properties": { "name": { "type": "string", "example": "whole_film" }, "output_type": { "type": "string", "example": "segments" }, "start_delay": { "type": "string", "example": 0 }, "end_delay": { "type": "string", "example": 0 }, "extra_config": { "type": "string", "example":"epav_run: preannotatedvideos_9b747ce5_20220525T112435Z_474_release" } } } } } } } } ], "responses": { "201": { "description": "Created Successfully" }, "422": { "description": "Unprocessable Entity" }, "500": { "description": "Internal Server Error" } }, "security": [ { "basicAuth": [] } ] } } }, "securityDefinitions": { "basicAuth": { "type": "basic" } }, "externalDocs": { "description": "Find out more about Swagger", "url": "http://swagger.io" } }