{ "info": { "description": "This is the API Specification of the Amazon Hybrid Jobs Handler", "title": "Amazon Hybrid Jobs Handler API", "version": "1.0.0" }, "license": { "name": "Apache v2 License" }, "paths": { "/aws-runtime-handler/api/v1.0/generate-hybrid-program": { "post": { "responses": { "default": { "$ref": "#/components/responses/DEFAULT_ERROR" } }, "summary": "Put hybrid program generation job in queue. Return location of the later result.", "tags": [ "aws-runtime" ] } }, "/aws-runtime-handler/api/v1.0/results/{result_id}": { "get": { "responses": { "default": { "$ref": "#/components/responses/DEFAULT_ERROR" } }, "summary": "Return result when it is available.", "tags": [ "aws-runtime" ] }, "parameters": [ { "in": "path", "name": "result_id", "required": true, "schema": { "type": "string", "minLength": 1 } } ] }, "/aws-runtime-handler/api/v1.0/uploads/{name}": { "get": { "responses": { "default": { "$ref": "#/components/responses/DEFAULT_ERROR" } }, "tags": [ "aws-runtime" ] }, "parameters": [ { "in": "path", "name": "name", "required": true, "schema": { "type": "string", "minLength": 1 } } ] }, "/aws-runtime-handler/api/v1.0/hybrid-programs/{name}": { "get": { "responses": { "default": { "$ref": "#/components/responses/DEFAULT_ERROR" } }, "tags": [ "aws-runtime" ] }, "parameters": [ { "in": "path", "name": "name", "required": true, "schema": { "type": "string", "minLength": 1 } } ] }, "/aws-runtime-handler/api/v1.0/version": { "get": { "responses": { "default": { "$ref": "#/components/responses/DEFAULT_ERROR" } }, "tags": [ "aws-runtime" ] } } }, "tags": [ { "name": "aws-runtime", "description": "Generate Amazon Hybrid Jobs programs" } ], "openapi": "3.0.2", "components": { "schemas": { "Error": { "type": "object", "properties": { "errors": { "type": "object", "description": "Errors" }, "code": { "type": "integer", "description": "Error code" }, "status": { "type": "string", "description": "Error name" }, "message": { "type": "string", "description": "Error message" } } }, "PaginationMetadata": { "type": "object", "properties": { "total": { "type": "integer" }, "total_pages": { "type": "integer" }, "first_page": { "type": "integer" }, "last_page": { "type": "integer" }, "page": { "type": "integer" }, "previous_page": { "type": "integer" }, "next_page": { "type": "integer" } } } }, "responses": { "DEFAULT_ERROR": { "description": "Default error response", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Error" } } } } } } }