{ "openapi": "3.0.1", "info": { "title": "localstack", "version": "1.0.0" }, "paths": { "/activities": { "options": { "responses": { "200": { "description": "200 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } }, "Access-Control-Allow-Methods": { "schema": { "type": "string" } }, "Access-Control-Allow-Headers": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } } }, "x-amazon-apigateway-integration": { "responses": { "default": { "statusCode": "200", "responseParameters": { "method.response.header.Access-Control-Allow-Methods": "'DELETE,GET,HEAD,OPTIONS,PATCH,POST,PUT'", "method.response.header.Access-Control-Allow-Headers": "'Content-Type,X-Amz-Date,Authorization,X-Api-Key,X-Amz-Security-Token'", "method.response.header.Access-Control-Allow-Origin": "'*'" } } }, "requestTemplates": { "application/json": "{\"statusCode\":200}" }, "passthroughBehavior": "when_no_match", "timeoutInMillis": 29000, "type": "mock" } }, "post": { "parameters": [ { "name": "Authorisation", "in": "header", "required": true, "schema": { "type": "string" } }, { "name": "body", "in": "body", "description": "body object", "required": true } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Activities" } } }, "required": true }, "responses": { "200": { "description": "200 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } } }, "security": [ { "lambda-auth": [] } ], "x-amazon-apigateway-integration": { "uri": "arn:aws:apigateway:eu-west-1:lambda:path/2015-03-31/functions/arn:aws:lambda:eu-west-1:000000000000:function:cvs-localstack-activities/invocations", "passthroughBehavior": "when_no_match", "httpMethod": "POST", "timeoutInMillis": 29000, "type": "aws_proxy" } } }, "/activities/{proxy+}": { "options": { "responses": { "200": { "description": "200 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } }, "Access-Control-Allow-Methods": { "schema": { "type": "string" } }, "Access-Control-Allow-Headers": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } } }, "x-amazon-apigateway-integration": { "responses": { "default": { "statusCode": "200", "responseParameters": { "method.response.header.Access-Control-Allow-Methods": "'DELETE,GET,HEAD,OPTIONS,PATCH,POST,PUT'", "method.response.header.Access-Control-Allow-Headers": "'Content-Type,X-Amz-Date,Authorization,X-Api-Key,X-Amz-Security-Token'", "method.response.header.Access-Control-Allow-Origin": "'*'" } } }, "requestTemplates": { "application/json": "{\"statusCode\":200}" }, "passthroughBehavior": "when_no_match", "timeoutInMillis": 29000, "type": "mock" } }, "get": { "responses": { "200": { "description": "200 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } } }, "security": [ { "lambda-auth": [] } ], "x-amazon-apigateway-integration": { "uri": "arn:aws:apigateway:eu-west-1:lambda:path/2015-03-31/functions/arn:aws:lambda:eu-west-1:000000000000:function:cvs-localstack-activities/invocations", "passthroughBehavior": "when_no_match", "httpMethod": "POST", "timeoutInMillis": 29000, "type": "aws_proxy" } }, "put": { "responses": { "200": { "description": "200 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } } }, "security": [ { "lambda-auth": [] } ], "x-amazon-apigateway-integration": { "uri": "arn:aws:apigateway:eu-west-1:lambda:path/2015-03-31/functions/arn:aws:lambda:eu-west-1:000000000000:function:cvs-localstack-activities/invocations", "passthroughBehavior": "when_no_match", "httpMethod": "POST", "timeoutInMillis": 29000, "type": "aws_proxy" } } }, "/defects": { "options": { "responses": { "200": { "description": "200 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } }, "Access-Control-Allow-Methods": { "schema": { "type": "string" } }, "Access-Control-Allow-Headers": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } } }, "x-amazon-apigateway-integration": { "responses": { "default": { "statusCode": "200", "responseParameters": { "method.response.header.Access-Control-Allow-Methods": "'DELETE,GET,HEAD,OPTIONS,PATCH,POST,PUT'", "method.response.header.Access-Control-Allow-Headers": "'Content-Type,X-Amz-Date,Authorization,X-Api-Key,X-Amz-Security-Token'", "method.response.header.Access-Control-Allow-Origin": "'*'" } } }, "requestTemplates": { "application/json": "{\"statusCode\":200}" }, "passthroughBehavior": "when_no_match", "timeoutInMillis": 29000, "type": "mock" } }, "get": { "responses": { "200": { "description": "200 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } } }, "security": [ { "lambda-auth": [] } ], "x-amazon-apigateway-integration": { "uri": "arn:aws:apigateway:eu-west-1:lambda:path/2015-03-31/functions/arn:aws:lambda:eu-west-1:000000000000:function:cvs-localstack-defects/invocations", "passthroughBehavior": "when_no_match", "httpMethod": "POST", "timeoutInMillis": 29000, "type": "aws_proxy" } } }, "/defects/{proxy+}": { "options": { "responses": { "200": { "description": "200 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } }, "Access-Control-Allow-Methods": { "schema": { "type": "string" } }, "Access-Control-Allow-Headers": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } } }, "x-amazon-apigateway-integration": { "responses": { "default": { "statusCode": "200", "responseParameters": { "method.response.header.Access-Control-Allow-Methods": "'DELETE,GET,HEAD,OPTIONS,PATCH,POST,PUT'", "method.response.header.Access-Control-Allow-Headers": "'Content-Type,X-Amz-Date,Authorization,X-Api-Key,X-Amz-Security-Token'", "method.response.header.Access-Control-Allow-Origin": "'*'" } } }, "requestTemplates": { "application/json": "{\"statusCode\":200}" }, "passthroughBehavior": "when_no_match", "timeoutInMillis": 29000, "type": "mock" } }, "get": { "responses": { "200": { "description": "200 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } } }, "security": [ { "lambda-auth": [] } ], "x-amazon-apigateway-integration": { "uri": "arn:aws:apigateway:eu-west-1:lambda:path/2015-03-31/functions/arn:aws:lambda:eu-west-1:000000000000:function:cvs-localstack-defects/invocations", "passthroughBehavior": "when_no_match", "httpMethod": "POST", "timeoutInMillis": 29000, "type": "aws_proxy" } } }, "/preparers": { "options": { "responses": { "200": { "description": "200 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } }, "Access-Control-Allow-Methods": { "schema": { "type": "string" } }, "Access-Control-Allow-Headers": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } } }, "x-amazon-apigateway-integration": { "responses": { "default": { "statusCode": "200", "responseParameters": { "method.response.header.Access-Control-Allow-Methods": "'DELETE,GET,HEAD,OPTIONS,PATCH,POST,PUT'", "method.response.header.Access-Control-Allow-Headers": "'Content-Type,X-Amz-Date,Authorization,X-Api-Key,X-Amz-Security-Token'", "method.response.header.Access-Control-Allow-Origin": "'*'" } } }, "requestTemplates": { "application/json": "{\"statusCode\":200}" }, "passthroughBehavior": "when_no_match", "timeoutInMillis": 29000, "type": "mock" } }, "get": { "responses": { "200": { "description": "200 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } } }, "security": [ { "lambda-auth": [] } ], "x-amazon-apigateway-integration": { "uri": "arn:aws:apigateway:eu-west-1:lambda:path/2015-03-31/functions/arn:aws:lambda:eu-west-1:000000000000:function:cvs-localstack-preparers/invocations", "passthroughBehavior": "when_no_match", "httpMethod": "POST", "timeoutInMillis": 29000, "type": "aws_proxy" } } }, "/preparers/{proxy+}": { "options": { "responses": { "200": { "description": "200 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } }, "Access-Control-Allow-Methods": { "schema": { "type": "string" } }, "Access-Control-Allow-Headers": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } } }, "x-amazon-apigateway-integration": { "responses": { "default": { "statusCode": "200", "responseParameters": { "method.response.header.Access-Control-Allow-Methods": "'DELETE,GET,HEAD,OPTIONS,PATCH,POST,PUT'", "method.response.header.Access-Control-Allow-Headers": "'Content-Type,X-Amz-Date,Authorization,X-Api-Key,X-Amz-Security-Token'", "method.response.header.Access-Control-Allow-Origin": "'*'" } } }, "requestTemplates": { "application/json": "{\"statusCode\":200}" }, "passthroughBehavior": "when_no_match", "timeoutInMillis": 29000, "type": "mock" } }, "get": { "responses": { "200": { "description": "200 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } } }, "security": [ { "lambda-auth": [] } ], "x-amazon-apigateway-integration": { "uri": "arn:aws:apigateway:eu-west-1:lambda:path/2015-03-31/functions/arn:aws:lambda:eu-west-1:000000000000:function:cvs-localstack-preparers/invocations", "passthroughBehavior": "when_no_match", "httpMethod": "POST", "timeoutInMillis": 29000, "type": "aws_proxy" } } }, "/logs": { "options": { "responses": { "200": { "description": "200 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } }, "Access-Control-Allow-Methods": { "schema": { "type": "string" } }, "Access-Control-Allow-Headers": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } } }, "x-amazon-apigateway-integration": { "responses": { "default": { "statusCode": "200", "responseParameters": { "method.response.header.Access-Control-Allow-Methods": "'DELETE,GET,HEAD,OPTIONS,PATCH,POST,PUT'", "method.response.header.Access-Control-Allow-Headers": "'Content-Type,X-Amz-Date,Authorization,X-Api-Key,X-Amz-Security-Token'", "method.response.header.Access-Control-Allow-Origin": "'*'" } } }, "requestTemplates": { "application/json": "{\"statusCode\":200}" }, "passthroughBehavior": "when_no_match", "timeoutInMillis": 29000, "type": "mock" } }, "get": { "responses": { "200": { "description": "200 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } } }, "security": [ { "lambda-auth": [] } ], "x-amazon-apigateway-integration": { "uri": "arn:aws:apigateway:eu-west-1:lambda:path/2015-03-31/functions/arn:aws:lambda:eu-west-1:000000000000:function:cvs-localstack-logs/invocations", "passthroughBehavior": "when_no_match", "httpMethod": "POST", "timeoutInMillis": 29000, "type": "aws_proxy" } } }, "/test-stations": { "options": { "responses": { "200": { "description": "200 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } }, "Access-Control-Allow-Methods": { "schema": { "type": "string" } }, "Access-Control-Allow-Headers": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } } }, "x-amazon-apigateway-integration": { "responses": { "default": { "statusCode": "200", "responseParameters": { "method.response.header.Access-Control-Allow-Methods": "'DELETE,GET,HEAD,OPTIONS,PATCH,POST,PUT'", "method.response.header.Access-Control-Allow-Headers": "'Content-Type,X-Amz-Date,Authorization,X-Api-Key,X-Amz-Security-Token'", "method.response.header.Access-Control-Allow-Origin": "'*'" } } }, "requestTemplates": { "application/json": "{\"statusCode\":200}" }, "passthroughBehavior": "when_no_match", "timeoutInMillis": 29000, "type": "mock" } }, "get": { "responses": { "200": { "description": "200 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } } }, "security": [ { "lambda-auth": [] } ], "x-amazon-apigateway-integration": { "uri": "arn:aws:apigateway:eu-west-1:lambda:path/2015-03-31/functions/arn:aws:lambda:eu-west-1:000000000000:function:cvs-localstack-test-stations/invocations", "passthroughBehavior": "when_no_match", "httpMethod": "POST", "timeoutInMillis": 29000, "type": "aws_proxy" } } }, "/test-stations/{proxy+}": { "options": { "responses": { "200": { "description": "200 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } }, "Access-Control-Allow-Methods": { "schema": { "type": "string" } }, "Access-Control-Allow-Headers": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } } }, "x-amazon-apigateway-integration": { "responses": { "default": { "statusCode": "200", "responseParameters": { "method.response.header.Access-Control-Allow-Methods": "'DELETE,GET,HEAD,OPTIONS,PATCH,POST,PUT'", "method.response.header.Access-Control-Allow-Headers": "'Content-Type,X-Amz-Date,Authorization,X-Api-Key,X-Amz-Security-Token'", "method.response.header.Access-Control-Allow-Origin": "'*'" } } }, "requestTemplates": { "application/json": "{\"statusCode\":200}" }, "passthroughBehavior": "when_no_match", "timeoutInMillis": 29000, "type": "mock" } }, "get": { "responses": { "200": { "description": "200 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } } }, "security": [ { "lambda-auth": [] } ], "x-amazon-apigateway-integration": { "uri": "arn:aws:apigateway:eu-west-1:lambda:path/2015-03-31/functions/arn:aws:lambda:eu-west-1:000000000000:function:cvs-localstack-test-stations/invocations", "passthroughBehavior": "when_no_match", "httpMethod": "POST", "timeoutInMillis": 29000, "type": "aws_proxy" } } }, "/test-types": { "options": { "responses": { "200": { "description": "200 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } }, "Access-Control-Allow-Methods": { "schema": { "type": "string" } }, "Access-Control-Allow-Headers": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } } }, "x-amazon-apigateway-integration": { "responses": { "default": { "statusCode": "200", "responseParameters": { "method.response.header.Access-Control-Allow-Methods": "'DELETE,GET,HEAD,OPTIONS,PATCH,POST,PUT'", "method.response.header.Access-Control-Allow-Headers": "'Content-Type,X-Amz-Date,Authorization,X-Api-Key,X-Amz-Security-Token'", "method.response.header.Access-Control-Allow-Origin": "'*'" } } }, "requestTemplates": { "application/json": "{\"statusCode\":200}" }, "passthroughBehavior": "when_no_match", "timeoutInMillis": 29000, "type": "mock" } }, "get": { "responses": { "200": { "description": "200 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } } }, "security": [ { "lambda-auth": [] } ], "x-amazon-apigateway-integration": { "uri": "arn:aws:apigateway:eu-west-1:lambda:path/2015-03-31/functions/arn:aws:lambda:eu-west-1:000000000000:function:cvs-localstack-test-types/invocations", "passthroughBehavior": "when_no_match", "httpMethod": "POST", "timeoutInMillis": 29000, "type": "aws_proxy" } } }, "/test-types/{proxy+}": { "options": { "responses": { "200": { "description": "200 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } }, "Access-Control-Allow-Methods": { "schema": { "type": "string" } }, "Access-Control-Allow-Headers": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } } }, "x-amazon-apigateway-integration": { "responses": { "default": { "statusCode": "200", "responseParameters": { "method.response.header.Access-Control-Allow-Methods": "'DELETE,GET,HEAD,OPTIONS,PATCH,POST,PUT'", "method.response.header.Access-Control-Allow-Headers": "'Content-Type,X-Amz-Date,Authorization,X-Api-Key,X-Amz-Security-Token'", "method.response.header.Access-Control-Allow-Origin": "'*'" } } }, "requestTemplates": { "application/json": "{\"statusCode\":200}" }, "passthroughBehavior": "when_no_match", "timeoutInMillis": 29000, "type": "mock" } }, "get": { "responses": { "200": { "description": "200 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } } }, "security": [ { "lambda-auth": [] } ], "x-amazon-apigateway-integration": { "uri": "arn:aws:apigateway:eu-west-1:lambda:path/2015-03-31/functions/arn:aws:lambda:eu-west-1:000000000000:function:cvs-localstack-test-types/invocations", "passthroughBehavior": "when_no_match", "httpMethod": "POST", "timeoutInMillis": 29000, "type": "aws_proxy" } } }, "/test-results": { "options": { "responses": { "200": { "description": "200 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } }, "Access-Control-Allow-Methods": { "schema": { "type": "string" } }, "Access-Control-Allow-Headers": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } } }, "x-amazon-apigateway-integration": { "responses": { "default": { "statusCode": "200", "responseParameters": { "method.response.header.Access-Control-Allow-Methods": "'DELETE,GET,HEAD,OPTIONS,PATCH,POST,PUT'", "method.response.header.Access-Control-Allow-Headers": "'Content-Type,X-Amz-Date,Authorization,X-Api-Key,X-Amz-Security-Token'", "method.response.header.Access-Control-Allow-Origin": "'*'" } } }, "requestTemplates": { "application/json": "{\"statusCode\":200}" }, "passthroughBehavior": "when_no_match", "type": "mock" } }, "get": { "responses": { "200": { "description": "200 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } } }, "security": [ { "lambda-auth": [] } ], "x-amazon-apigateway-integration": { "uri": "arn:aws:apigateway:eu-west-1:lambda:path/2015-03-31/functions/arn:aws:lambda:eu-west-1:000000000000:function:cvs-localstack-test-results/invocations", "passthroughBehavior": "when_no_match", "httpMethod": "POST", "timeoutInMillis": 29000, "type": "aws_proxy" } }, "post": { "parameters": [ { "name": "Authorisation", "in": "header", "required": true, "schema": { "type": "string" } }, { "name": "body", "in": "body", "description": "body object", "required": true } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object" } } }, "required": true }, "responses": { "200": { "description": "200 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } } }, "security": [ { "lambda-auth": [] } ], "x-amazon-apigateway-integration": { "uri": "arn:aws:apigateway:eu-west-1:lambda:path/2015-03-31/functions/arn:aws:lambda:eu-west-1:000000000000:function:cvs-localstack-test-results/invocations", "passthroughBehavior": "when_no_match", "httpMethod": "POST", "timeoutInMillis": 29000, "type": "aws_proxy" } } }, "/test-results/{proxy+}": { "options": { "responses": { "200": { "description": "200 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } }, "Access-Control-Allow-Methods": { "schema": { "type": "string" } }, "Access-Control-Allow-Headers": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } } }, "x-amazon-apigateway-integration": { "responses": { "default": { "statusCode": "200", "responseParameters": { "method.response.header.Access-Control-Allow-Methods": "'DELETE,GET,HEAD,OPTIONS,PATCH,POST,PUT'", "method.response.header.Access-Control-Allow-Headers": "'Content-Type,X-Amz-Date,Authorization,X-Api-Key,X-Amz-Security-Token'", "method.response.header.Access-Control-Allow-Origin": "'*'" } } }, "requestTemplates": { "application/json": "{\"statusCode\":200}" }, "passthroughBehavior": "when_no_match", "type": "mock" } }, "get": { "responses": { "200": { "description": "200 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } } }, "security": [ { "lambda-auth": [] } ], "x-amazon-apigateway-integration": { "uri": "arn:aws:apigateway:eu-west-1:lambda:path/2015-03-31/functions/arn:aws:lambda:eu-west-1:000000000000:function:cvs-localstack-test-results/invocations", "passthroughBehavior": "when_no_match", "httpMethod": "POST", "timeoutInMillis": 29000, "type": "aws_proxy" } }, "post": { "responses": { "200": { "description": "200 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": {} } } }, "security": [ { "lambda-auth": [] } ], "x-amazon-apigateway-integration": { "uri": "arn:aws:apigateway:eu-west-1:lambda:path/2015-03-31/functions/arn:aws:lambda:eu-west-1:000000000000:function:cvs-localstack-test-results/invocations", "passthroughBehavior": "when_no_match", "httpMethod": "POST", "timeoutInMillis": 29000, "type": "aws_proxy" } } }, "/vehicles": { "options": { "responses": { "200": { "description": "200 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } }, "Access-Control-Allow-Methods": { "schema": { "type": "string" } }, "Access-Control-Allow-Headers": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } } }, "x-amazon-apigateway-integration": { "responses": { "default": { "statusCode": "200", "responseParameters": { "method.response.header.Access-Control-Allow-Methods": "'DELETE,GET,HEAD,OPTIONS,PATCH,POST,PUT'", "method.response.header.Access-Control-Allow-Headers": "'Content-Type,X-Amz-Date,Authorization,X-Api-Key,X-Amz-Security-Token'", "method.response.header.Access-Control-Allow-Origin": "'*'" } } }, "requestTemplates": { "application/json": "{\"statusCode\":200}" }, "passthroughBehavior": "when_no_match", "type": "mock" } }, "get": { "responses": { "200": { "description": "200 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } } }, "security": [ { "Lambda-Auth": [] } ], "x-amazon-apigateway-integration": { "uri": "arn:aws:apigateway:eu-west-1:lambda:path/2015-03-31/functions/arn:aws:lambda:eu-west-1:000000000000:function:cvs-localstack-technical-records/invocations", "passthroughBehavior": "when_no_match", "httpMethod": "POST", "timeoutInMillis": 29000, "type": "aws_proxy" } } }, "/vehicles/{proxy+}": { "options": { "responses": { "200": { "description": "200 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } }, "Access-Control-Allow-Methods": { "schema": { "type": "string" } }, "Access-Control-Allow-Headers": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } } }, "x-amazon-apigateway-integration": { "responses": { "default": { "statusCode": "200", "responseParameters": { "method.response.header.Access-Control-Allow-Methods": "'DELETE,GET,HEAD,OPTIONS,PATCH,POST,PUT'", "method.response.header.Access-Control-Allow-Headers": "'Content-Type,X-Amz-Date,Authorization,X-Api-Key,X-Amz-Security-Token'", "method.response.header.Access-Control-Allow-Origin": "'*'" } } }, "requestTemplates": { "application/json": "{\"statusCode\":200}" }, "passthroughBehavior": "when_no_match", "type": "mock" } }, "get": { "responses": { "200": { "description": "200 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } } }, "security": [ { "Lambda-Auth": [] } ], "x-amazon-apigateway-integration": { "uri": "arn:aws:apigateway:eu-west-1:lambda:path/2015-03-31/functions/arn:aws:lambda:eu-west-1:000000000000:function:cvs-localstack-technical-records/invocations", "passthroughBehavior": "when_no_match", "httpMethod": "POST", "timeoutInMillis": 29000, "type": "aws_proxy" } } }, "/unauth-logs": { "options": { "responses": { "200": { "description": "200 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } }, "Access-Control-Allow-Methods": { "schema": { "type": "string" } }, "Access-Control-Allow-Headers": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } } }, "x-amazon-apigateway-integration": { "responses": { "default": { "statusCode": "200", "responseParameters": { "method.response.header.Access-Control-Allow-Methods": "'DELETE,GET,HEAD,OPTIONS,PATCH,POST,PUT'", "method.response.header.Access-Control-Allow-Headers": "'Content-Type,X-Amz-Date,Authorization,X-Api-Key,X-Amz-Security-Token'", "method.response.header.Access-Control-Allow-Origin": "'*'" } } }, "requestTemplates": { "application/json": "{\"statusCode\":200}" }, "passthroughBehavior": "when_no_match", "timeoutInMillis": 29000, "type": "mock" } }, "get": { "responses": { "200": { "description": "200 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } } }, "security": [ { "api_key": [] } ], "x-amazon-apigateway-integration": { "uri": "arn:aws:apigateway:eu-west-1:lambda:path/2015-03-31/functions/arn:aws:lambda:eu-west-1:000000000000:function:cvs-localstack-logs/invocations", "passthroughBehavior": "when_no_match", "httpMethod": "POST", "timeoutInMillis": 29000, "type": "aws_proxy" } } }, "/signature": { "get": { "parameters": [ { "name": "Accept", "in": "header", "required": true, "schema": { "type": "string" } }, { "name": "item", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "201": { "description": "201 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } }, "400": { "description": "400 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } }, "301": { "description": "301 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } }, "411": { "description": "411 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } }, "412": { "description": "412 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } }, "500": { "description": "500 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } }, "501": { "description": "501 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } }, "403": { "description": "403 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } }, "404": { "description": "404 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } }, "503": { "description": "503 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } }, "416": { "description": "416 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } }, "405": { "description": "405 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } }, "307": { "description": "307 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } }, "409": { "description": "409 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } } }, "security": [ { "lambda-auth": [] } ], "x-amazon-apigateway-integration": { "credentials": "arn:aws:iam::000000000000:role/APIGW_pushtos3_role", "uri": "arn:aws:apigateway:eu-west-1:s3:path/cvs-signature/", "responses": { "default": { "statusCode": "201", "responseParameters": { "method.response.header.Access-Control-Allow-Origin": "'*'" } }, "400": { "statusCode": "400", "responseParameters": { "method.response.header.Access-Control-Allow-Origin": "'*'" } }, "301": { "statusCode": "301", "responseParameters": { "method.response.header.Access-Control-Allow-Origin": "'*'" } }, "411": { "statusCode": "411", "responseParameters": { "method.response.header.Access-Control-Allow-Origin": "'*'" } }, "412": { "statusCode": "412", "responseParameters": { "method.response.header.Access-Control-Allow-Origin": "'*'" } }, "500": { "statusCode": "500", "responseParameters": { "method.response.header.Access-Control-Allow-Origin": "'*'" } }, "501": { "statusCode": "501", "responseParameters": { "method.response.header.Access-Control-Allow-Origin": "'*'" } }, "403": { "statusCode": "403", "responseParameters": { "method.response.header.Access-Control-Allow-Origin": "'*'" } }, "503": { "statusCode": "503", "responseParameters": { "method.response.header.Access-Control-Allow-Origin": "'*'" } }, "404": { "statusCode": "404", "responseParameters": { "method.response.header.Access-Control-Allow-Origin": "'*'" } }, "405": { "statusCode": "405", "responseParameters": { "method.response.header.Access-Control-Allow-Origin": "'*'" } }, "416": { "statusCode": "416", "responseParameters": { "method.response.header.Access-Control-Allow-Origin": "'*'" } }, "307": { "statusCode": "307", "responseParameters": { "method.response.header.Access-Control-Allow-Origin": "'*'" } }, "409": { "statusCode": "409", "responseParameters": { "method.response.header.Access-Control-Allow-Origin": "'*'" } } }, "requestParameters": { "integration.request.path.object": "method.request.path.item", "integration.request.header.Accept": "method.request.header.Accept" }, "passthroughBehavior": "when_no_match", "httpMethod": "GET", "timeoutInMillis": 29000, "type": "aws" } }, "put": { "parameters": [ { "name": "Content-Type", "in": "header", "required": true, "schema": { "type": "string" } }, { "name": "body", "in": "body", "description": "body object", "required": true }, { "name": "item", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "201": { "description": "201 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } }, "400": { "description": "400 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } }, "411": { "description": "411 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } }, "301": { "description": "301 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } }, "500": { "description": "500 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } }, "412": { "description": "412 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } }, "501": { "description": "501 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } }, "403": { "description": "403 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } }, "404": { "description": "404 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } }, "503": { "description": "503 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } }, "416": { "description": "416 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } }, "405": { "description": "405 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } }, "307": { "description": "307 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } }, "409": { "description": "409 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } } }, "security": [ { "lambda-auth": [] } ], "x-amazon-apigateway-integration": { "credentials": "arn:aws:iam::000000000000:role/APIGW_pushtos3_role", "uri": "arn:aws:apigateway:eu-west-1:s3:path/cvs-signature", "responses": { "default": { "statusCode": "201", "responseParameters": { "method.response.header.Access-Control-Allow-Origin": "'*'" }, "responseTemplates": { "application/json": "{\"message\": \"Signature Stored\"}" } }, "411": { "statusCode": "411", "responseParameters": { "method.response.header.Access-Control-Allow-Origin": "'*'" } }, "301": { "statusCode": "301", "responseParameters": { "method.response.header.Access-Control-Allow-Origin": "'*'" } }, "400": { "statusCode": "400", "responseParameters": { "method.response.header.Access-Control-Allow-Origin": "'*'" } }, "500": { "statusCode": "500", "responseParameters": { "method.response.header.Access-Control-Allow-Origin": "'*'" } }, "412": { "statusCode": "412", "responseParameters": { "method.response.header.Access-Control-Allow-Origin": "'*'" } }, "501": { "statusCode": "501", "responseParameters": { "method.response.header.Access-Control-Allow-Origin": "'*'" } }, "403": { "statusCode": "403", "responseParameters": { "method.response.header.Access-Control-Allow-Origin": "'*'" } }, "404": { "statusCode": "404", "responseParameters": { "method.response.header.Access-Control-Allow-Origin": "'*'" } }, "503": { "statusCode": "503", "responseParameters": { "method.response.header.Access-Control-Allow-Origin": "'*'" } }, "416": { "statusCode": "416", "responseParameters": { "method.response.header.Access-Control-Allow-Origin": "'*'" } }, "405": { "statusCode": "405", "responseParameters": { "method.response.header.Access-Control-Allow-Origin": "'*'" } }, "307": { "statusCode": "307", "responseParameters": { "method.response.header.Access-Control-Allow-Origin": "'*'" } }, "409": { "statusCode": "409", "responseParameters": { "method.response.header.Access-Control-Allow-Origin": "'*'" } } }, "requestParameters": { "integration.request.path.object": "method.request.path.item", "integration.request.header.Content-Type": "method.request.header.Content-Type" }, "passthroughBehavior": "when_no_match", "httpMethod": "PUT", "timeoutInMillis": 29000, "type": "aws" } }, "options": { "responses": { "200": { "description": "200 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } }, "Access-Control-Allow-Methods": { "schema": { "type": "string" } }, "Access-Control-Allow-Headers": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } } }, "x-amazon-apigateway-integration": { "responses": { "default": { "statusCode": "200", "responseParameters": { "method.response.header.Access-Control-Allow-Methods": "'GET,PUT,OPTIONS'", "method.response.header.Access-Control-Allow-Headers": "'Content-Type,X-Amz-Date,Authorization,X-Api-Key,X-Amz-Security-Token'", "method.response.header.Access-Control-Allow-Origin": "'*'" } } }, "requestTemplates": { "application/json": "{\"statusCode\":200}" }, "passthroughBehavior": "when_no_match", "timeoutInMillis": 29000, "type": "mock" } } } }, "components": { "parameters": { "apiKey": { "in": "header", "name": "x-api-key", "required": true, "schema": { "type": "string" }, "description": "Simple server-server API Authentication" } }, "schemas": { "Empty": { "title": "Empty Schema", "type": "object" }, "Activities": { "type": "object", "required": [ "activityType", "testStationName", "testStationPNumber", "testStationEmail", "testerEmail", "testStationType", "testerName", "testerStaffId", "startTime", "endTime", "waitReason" ], "properties": { "activityType": { "type": "string" }, "testStationName": { "type": "string" }, "testStationPNumber": { "type": "string" }, "testStationEmail": { "type": "string" }, "testerEmail": { "type": "string" }, "testStationType": { "type": "string" }, "testerName": { "type": "string" }, "testerStaffId": { "type": "string" }, "startTime": { "type": "string" }, "endTime": { "type": "string" }, "waitReason": { "type": "string" } } } }, "securitySchemes": { "lambda-auth": { "type": "apiKey", "name": "Authorization", "in": "header", "x-amazon-apigateway-authtype": "custom", "x-amazon-apigateway-authorizer": { "authorizerUri": "arn:aws:apigateway:eu-west-1:lambda:path/2015-03-31/functions/arn:aws:lambda:eu-west-1:000000000000:function:cvs-localstack-authoriser/invocations", "authorizerCredentials": "arn:aws:iam::000000000000:role/localstack_api_gateway_auth_invocation", "authorizerResultTtlInSeconds": 0, "type": "token" } }, "api_key": { "type": "apiKey", "name": "x-api-key", "in": "header" } } }, "x-amazon-apigateway-gateway-responses": { "DEFAULT_5XX": { "responseParameters": { "gatewayresponse.header.Access-Control-Allow-Methods": "'DELETE,GET,HEAD,OPTIONS,PATCH,POST,PUT'", "gatewayresponse.header.Access-Control-Allow-Origin": "'*'", "gatewayresponse.header.Access-Control-Allow-Headers": "'Content-Type,X-Amz-Date,Authorization,X-Api-Key,X-Amz-Security-Token'" }, "responseTemplates": { "application/json": "{\"message\":$context.error.messageString}" } }, "DEFAULT_4XX": { "responseParameters": { "gatewayresponse.header.Access-Control-Allow-Methods": "'DELETE,GET,HEAD,OPTIONS,PATCH,POST,PUT'", "gatewayresponse.header.Access-Control-Allow-Origin": "'*'", "gatewayresponse.header.Access-Control-Allow-Headers": "'Content-Type,X-Amz-Date,Authorization,X-Api-Key,X-Amz-Security-Token'" }, "responseTemplates": { "application/json": "{\"message\":$context.error.messageString}" } } } }