{ "components": { "schemas": { "application": { "properties": { "name": { "type": "string", "description": "Name of this application." }, "deploymentGroups": { "items": { "$ref": "#/components/schemas/deployment_group" }, "type": "array", "description": "List of deployment groups for this application." } }, "required": [ "name", "deploymentGroups" ], "type": "object" }, "deployment": { "properties": { "id": { "type": "string", "description": "The deployment id" }, "created": { "type": "string", "format": "date-time", "description": "Date deployment created" }, "started": { "type": "string", "format": "date-time", "description": "Date deployment started" }, "completed": { "type": "string", "format": "date-time", "description": "Date deployment created" }, "creator": { "type": "string" }, "deployment_group_name": { "type": "string", "description": "The deployment group name" }, "failed": { "type": "integer", "description": "The number of instances failed deployment" }, "skipped": { "type": "integer", "description": "The number of instances skipped deployment" }, "in_progress": { "type": "integer", "description": "The number of instances currently deploying" }, "pending": { "type": "integer", "description": "The number of instances pending deployment" }, "succeeded": { "type": "integer", "description": "The number of instances succeeded at deployment" }, "status": { "type": "string", "description": "The status of the deployment" }, "error_message": { "type": "string", "description": "A error message if the deployment failed" }, "revision_location": { "type": "string", "description": "The location of the revision" }, "instances": { "items": { "$ref": "#/components/schemas/deployment_instance" }, "type": "array", "description": "The instances involved in this deployment" } }, "required": [ "id", "created", "started", "completed", "creator", "deployment_group_name", "failed", "skipped", "in_progress", "pending", "succeeded", "status", "revision_location", "instances" ], "type": "object" }, "deployment_group": { "properties": { "name": { "type": "string", "description": "Name of this deployment group." }, "autoScalingGroupNames": { "items": { "type": "string" }, "type": "array", "description": "List of auto scaling groups for this deployment group." } }, "required": [ "name", "autoScalingGroupNames" ], "type": "object" }, "deployment_instance": { "properties": { "id": { "type": "string", "description": "The instance id" }, "status": { "type": "string", "description": "The status of this instances deployment" }, "last_updated_at": { "type": "string", "format": "date-time", "description": "Last updated at time" }, "lifecycle_events": { "items": { "$ref": "#/components/schemas/deployment_lifecycle_event" }, "type": "array", "description": "Deployment lifecycle events" } }, "required": [ "id", "status", "last_updated_at", "lifecycle_events" ], "type": "object" }, "deployment_lifecycle_event": { "properties": { "name": { "type": "string", "description": "The deployment lifecycle event name" }, "start_time": { "type": "string", "format": "date-time", "description": "Time the deployment lifecycle event started" }, "end_time": { "type": "string", "format": "date-time", "description": "Time the deployment lifecycle event ended" }, "status": { "type": "string", "description": "The status of the deployment lifecycle event" }, "error_log_tail": { "type": "string", "description": "The deployment lifecycle event log tail if it failed" }, "error_message": { "type": "string", "description": "The deployment lifecycle event error message if it failed" }, "script_name": { "type": "string", "description": "The deployment lifecycle event script filename if it failed" } }, "required": [ "name", "start_time", "end_time", "status" ], "type": "object" }, "info": { "properties": { "name": { "type": "string", "description": "Name of this service." }, "version": { "type": "string", "description": "Version of this service." }, "scala_version": { "type": "string", "description": "Version of Scala this service is using." }, "sbt_version": { "type": "string", "description": "Version of SBT used to build this service." }, "build_time": { "type": "string", "format": "date-time", "description": "Time the service was built at." } }, "required": [ "name", "version", "scala_version", "sbt_version", "build_time" ], "type": "object" } } }, "info": { "contact": { "name": "Graham Rhodes", "email": "graham.a.r@gmail.com" }, "description": "Code Deploy Dashboard.", "license": {}, "termsOfService": "", "title": "code-deploy-dashboard", "version": "0.0.1-dev" }, "openapi": "3.0.2", "paths": { "/application": { "get": { "operationId": "get--application", "parameters": [], "responses": { "200": { "description": "[io.grhodes.code.deploy.dashboard.v0.models.application]", "content": { "application/json": { "schema": { "items": { "$ref": "#/components/schemas/application" }, "type": "array" } } }, "headers": {} } }, "tags": [ "application" ] } }, "/info": { "get": { "operationId": "get--info", "parameters": [], "responses": { "200": { "description": "io.grhodes.code.deploy.dashboard.v0.models.info", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/info" } } }, "headers": {} } }, "tags": [ "info" ] } } }, "servers": [ { "url": "http://code-deploy-dashboard.tools.gilt.com" } ] }