{ "openapi" : "3.0.3", "info" : { "title" : "code-deploy-dashboard", "version" : "0.0.1-dev", "description" : "Code Deploy Dashboard." }, "servers" : [ { "url" : "http://code-deploy-dashboard.tools.gilt.com" } ], "paths" : { "/application" : { "get" : { "responses" : { "200" : { "description" : "Successful response", "content" : { "application/json" : { "schema" : { "type" : "array", "items" : { "$ref" : "#/components/schemas/IoGrhodesCodeDeployDashboardV0ModelsApplication" } } } } } } } }, "/info" : { "get" : { "responses" : { "200" : { "description" : "Successful response", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/IoGrhodesCodeDeployDashboardV0ModelsInfo" } } } } } } } }, "components" : { "schemas" : { "IoGrhodesCodeDeployDashboardV0ModelsApplication" : { "type" : "object", "required" : [ "name", "deploymentGroups" ], "properties" : { "name" : { "description" : "Name of this application.", "type" : "string" }, "deploymentGroups" : { "description" : "List of deployment groups for this application.", "type" : "array", "items" : { "$ref" : "#/components/schemas/IoGrhodesCodeDeployDashboardV0ModelsDeploymentGroup" } } } }, "IoGrhodesCodeDeployDashboardV0ModelsInfo" : { "type" : "object", "required" : [ "name", "version", "scala_version", "sbt_version", "build_time" ], "properties" : { "name" : { "description" : "Name of this service.", "type" : "string" }, "version" : { "description" : "Version of this service.", "type" : "string" }, "scala_version" : { "description" : "Version of Scala this service is using.", "type" : "string" }, "sbt_version" : { "description" : "Version of SBT used to build this service.", "type" : "string" }, "build_time" : { "description" : "Time the service was built at.", "type" : "string", "format" : "date-time" } } }, "IoGrhodesCodeDeployDashboardV0ModelsDeploymentLifecycleEvent" : { "type" : "object", "required" : [ "name", "start_time", "end_time", "status" ], "properties" : { "name" : { "description" : "The deployment lifecycle event name", "type" : "string" }, "start_time" : { "description" : "Time the deployment lifecycle event started", "type" : "string", "format" : "date-time" }, "end_time" : { "description" : "Time the deployment lifecycle event ended", "type" : "string", "format" : "date-time" }, "status" : { "description" : "The status of the deployment lifecycle event", "type" : "string" }, "error_log_tail" : { "description" : "The deployment lifecycle event log tail if it failed", "type" : "string" }, "error_message" : { "description" : "The deployment lifecycle event error message if it failed", "type" : "string" }, "script_name" : { "description" : "The deployment lifecycle event script filename if it failed", "type" : "string" } } }, "IoGrhodesCodeDeployDashboardV0ModelsDeploymentGroup" : { "type" : "object", "required" : [ "name", "autoScalingGroupNames" ], "properties" : { "name" : { "description" : "Name of this deployment group.", "type" : "string" }, "autoScalingGroupNames" : { "description" : "List of auto scaling groups for this deployment group.", "type" : "array", "items" : { "type" : "string" } } } }, "IoGrhodesCodeDeployDashboardV0ModelsDeploymentInstance" : { "type" : "object", "required" : [ "id", "status", "last_updated_at", "lifecycle_events" ], "properties" : { "id" : { "description" : "The instance id", "type" : "string" }, "status" : { "description" : "The status of this instances deployment", "type" : "string" }, "last_updated_at" : { "description" : "Last updated at time", "type" : "string", "format" : "date-time" }, "lifecycle_events" : { "description" : "Deployment lifecycle events", "type" : "array", "items" : { "$ref" : "#/components/schemas/IoGrhodesCodeDeployDashboardV0ModelsDeploymentLifecycleEvent" } } } }, "IoGrhodesCodeDeployDashboardV0ModelsDeployment" : { "type" : "object", "required" : [ "id", "created", "started", "completed", "creator", "deployment_group_name", "failed", "skipped", "in_progress", "pending", "succeeded", "status", "revision_location", "instances" ], "properties" : { "id" : { "description" : "The deployment id", "type" : "string" }, "created" : { "description" : "Date deployment created", "type" : "string", "format" : "date-time" }, "started" : { "description" : "Date deployment started", "type" : "string", "format" : "date-time" }, "completed" : { "description" : "Date deployment created", "type" : "string", "format" : "date-time" }, "creator" : { "type" : "string" }, "deployment_group_name" : { "description" : "The deployment group name", "type" : "string" }, "failed" : { "description" : "The number of instances failed deployment", "type" : "integer", "format" : "int32" }, "skipped" : { "description" : "The number of instances skipped deployment", "type" : "integer", "format" : "int32" }, "in_progress" : { "description" : "The number of instances currently deploying", "type" : "integer", "format" : "int32" }, "pending" : { "description" : "The number of instances pending deployment", "type" : "integer", "format" : "int32" }, "succeeded" : { "description" : "The number of instances succeeded at deployment", "type" : "integer", "format" : "int32" }, "status" : { "description" : "The status of the deployment", "type" : "string" }, "error_message" : { "description" : "A error message if the deployment failed", "type" : "string" }, "revision_location" : { "description" : "The location of the revision", "type" : "string" }, "instances" : { "description" : "The instances involved in this deployment", "type" : "array", "items" : { "$ref" : "#/components/schemas/IoGrhodesCodeDeployDashboardV0ModelsDeploymentInstance" } } } } } } }