{"swagger":"2.0","schemes":["https"],"produces":["application/json"],"paths":{"/clusters":{"post":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"400":{"description":"Request contains bad values"},"201":{"description":"Resource created"}},"produces":["application/json"],"parameters":[{"required":true,"name":"type","in":"body","description":"The new EtcdCluster","schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.EtcdCluster"}}],"operationId":"register","description":"Register an EtcdCluster with OpenAperture"},"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"title":"EtcdClusters","type":"array","items":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.EtcdCluster"}},"description":"Resource Content"}},"produces":["application/json"],"parameters":[{"type":"boolean","required":false,"name":"allow_docker_builds","in":"query","description":"Only return clusters that are defined as docker build clusters"}],"operationId":"index","description":"Retrieve all EtcdClusters"}},"/router/authorities/{parent_id}/routes/{id}":{"put":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"400":{"description":"Request contains bad values"},"204":{"description":"No Content"}},"produces":["application/json"],"parameters":[{"type":"integer","required":true,"name":"parent_id","in":"path","description":"Authority identifier"},{"type":"integer","required":false,"name":"id","in":"path","description":"Route identifier"},{"required":true,"name":"type","in":"body","description":"The updated Route","schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.Router.Route"}}],"operationId":"update","description":"Update a Route"},"patch":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"}},"produces":["application/json"],"parameters":[{"type":"integer","required":true,"name":"parent_id","in":"path","description":"Authority identifier"},{"type":"integer","required":false,"name":"id","in":"path","description":"Route identifier"},{"required":true,"name":"type","in":"body","description":"The updated Route","schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.Router.Route"}}],"operationId":"update","description":"Update a Route"},"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"description":"Resource Content"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"parent_id","in":"path","description":""},{"type":"integer","required":true,"name":"id","in":"path","description":""}],"operationId":"show","description":""},"delete":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"204":{"description":"No Content"}},"produces":["application/json"],"parameters":[{"type":"integer","required":true,"name":"parent_id","in":"path","description":"Authority identifier"},{"type":"integer","required":false,"name":"id","in":"path","description":"Route identifier"}],"operationId":"delete","description":"Delete a Route"}},"/products/{product_name}/environments":{"post":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"400":{"description":"Request contains bad values"},"201":{"description":"Resource created"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"product_name","in":"path","description":"Name of the Product"},{"required":true,"name":"type","in":"body","description":"The new ProductEnvironment","schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.ProductEnvironment"}}],"operationId":"create","description":"Create a ProductEnvironment"},"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"title":"ProductEnvironments","type":"array","items":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.ProductEnvironment"}},"description":"Resource Content"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"product_name","in":"path","description":"Name of the Product"}],"operationId":"index","description":"Retrieve all ProductEnvironments"}},"/products/{product_name}/environments/{environment_name}":{"put":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"400":{"description":"Request contains bad values"},"204":{"description":"No Content"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"product_name","in":"path","description":"Name of the Product"},{"type":"string","required":true,"name":"environment_name","in":"path","description":"Name of the Environment"},{"required":true,"name":"type","in":"body","description":"The updated ProductEnvironment","schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.ProductEnvironment"}}],"operationId":"update","description":"Update a ProductEnvironment"},"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.ProductEnvironment"},"description":"Resource Content"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"product_name","in":"path","description":"Name of the Product"},{"type":"string","required":true,"name":"component_name","in":"path","description":"Name of the ProductEnvironment"}],"operationId":"show","description":"Retrieve a specific ProductEnvironment"},"delete":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"204":{"description":"No Content"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"product_name","in":"path","description":"Name of the Product"},{"type":"string","required":true,"name":"environment_name","in":"path","description":"Name of the Environment"}],"operationId":"destroy","description":"Delete a ProductEnvironment for a Product"}},"/system_components/{id}":{"put":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"400":{"description":"Request contains bad values"},"204":{"description":"No Content"}},"produces":["application/json"],"parameters":[{"type":"integer","required":true,"name":"id","in":"path","description":"SystemComponent identifier"},{"required":true,"name":"type","in":"body","description":"The updated SystemComponent","schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.SystemComponent"}}],"operationId":"update","description":"Update a SystemComponent"},"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.SystemComponent"},"description":"Resource Content"}},"produces":["application/json"],"parameters":[{"type":"integer","required":true,"name":"id","in":"path","description":"SystemComponent identifier"}],"operationId":"show","description":"Retrieve a specific SystemComponent"},"delete":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"204":{"description":"No Content"}},"produces":["application/json"],"parameters":[{"type":"integer","required":true,"name":"id","in":"path","description":"SystemComponent identifier"}],"operationId":"destroy","description":"Delete a SystemComponent"}},"/router/authorities/new":{"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"description":"Resource Content"}},"produces":["application/json"],"parameters":[],"operationId":"new","description":""}},"/system_component_refs":{"post":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"400":{"description":"Request contains bad values"},"201":{"description":"Resource created"}},"produces":["application/json"],"parameters":[{"required":true,"name":"type","in":"body","description":"The new SystemComponentRef","schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.SystemComponentRef"}}],"operationId":"create","description":"Create a SystemComponentRef"},"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"title":"SystemComponentRefs","type":"array","items":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.SystemComponentRef"}},"description":"Resource Content"}},"produces":["application/json"],"parameters":[],"operationId":"index","description":"Retrieve all SystemComponentRefs"}},"/workflows/{id}/execute":{"post":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"400":{"description":"Request contains bad values"},"201":{"description":"Resource created"}},"produces":["application/json"],"parameters":[{"type":"integer","required":true,"name":"id","in":"path","description":"Workflow identifier"},{"required":false,"name":"force_build","in":"body","description":"Require that a docker build execute","schema":{"type":"string","title":"force_build","description":"Require that a docker build execute"}},{"required":false,"name":"build_messaging_exchange_id","in":"body","description":"Force the build milestone to occur in a Builder in a specific exchange","schema":{"type":"string","title":"build_messaging_exchange_id","description":"Force the build milestone to occur in a Builder in a specific exchange"}},{"required":false,"name":"deploy_messaging_exchange_id","in":"body","description":"Force the deploy milestone to occur in a Deployer in a specific exchange","schema":{"type":"string","title":"deploy_messaging_exchange_id","description":"Force the deploy milestone to occur in a Deployer in a specific exchange"}}],"operationId":"execute","description":"Execute a Workflow"}},"/products/{product_name}/deployments/{deployment_id}/steps/{step_id}":{"put":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"400":{"description":"Request contains bad values"},"204":{"description":"No Content"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"product_name","in":"path","description":"Name of the Product"},{"type":"integer","required":true,"name":"deployment_id","in":"path","description":"ProductDeployment identifier"},{"type":"integer","required":true,"name":"step_id","in":"path","description":"ProductDeploymentStep identifier"},{"required":true,"name":"type","in":"body","description":"The updated ProductDeploymentStep","schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.ProductDeploymentStep"}}],"operationId":"update","description":"Update a ProductDeploymentStep"},"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"title":"ProductDeploymentSteps","type":"array","items":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.ProductDeploymentStep"}},"description":"Resource Content"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"product_name","in":"path","description":"Name of the Product"},{"type":"integer","required":true,"name":"deployment_id","in":"path","description":"ProductDeployment identifier"},{"type":"integer","required":true,"name":"step_id","in":"path","description":"ProductDeploymentStep identifier"}],"operationId":"show","description":"Retrieve a ProductDeploymentStep for a ProductDeployment"},"delete":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"204":{"description":"No Content"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"product_name","in":"path","description":"Name of the Product"},{"type":"integer","required":true,"name":"deployment_id","in":"path","description":"ProductDeployment identifier"},{"type":"integer","required":true,"name":"step_id","in":"path","description":"ProductDeploymentStep identifier"}],"operationId":"destroy","description":"Delete a ProductDeploymentStep"}},"/products/{product_name}/deployment_plans":{"post":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"400":{"description":"Request contains bad values"},"201":{"description":"Resource created"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"product_name","in":"path","description":"Name of the Product"},{"required":true,"name":"type","in":"body","description":"The new ProductDeploymentPlan","schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.ProductDeploymentPlan"}}],"operationId":"create","description":"Create a ProductDeploymentPlan"},"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"title":"ProductDeploymentPlans","type":"array","items":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.ProductDeploymentPlan"}},"description":"Resource Content"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"product_name","in":"path","description":"Name of the Product"}],"operationId":"index","description":"Retrieve all ProductDeploymentPlans for a Product"},"delete":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"204":{"description":"No Content"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"product_name","in":"path","description":"Name of the Product"}],"operationId":"destroy_all_plans","description":"Delete all ProductDeploymentPlans for a Product"}},"/messaging/brokers/{id}":{"put":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"400":{"description":"Request contains bad values"},"204":{"description":"No Content"}},"produces":["application/json"],"parameters":[{"type":"integer","required":true,"name":"id","in":"path","description":"MessagingBroker identifier"},{"required":true,"name":"type","in":"body","description":"The updated MessagingBroker","schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.MessagingBroker"}}],"operationId":"update","description":"Update a MessagingBroker"},"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.MessagingBroker"},"description":"Resource Content"}},"produces":["application/json"],"parameters":[{"type":"integer","required":true,"name":"id","in":"path","description":"MessagingBroker identifier"}],"operationId":"show","description":"Retrieve a specific MessagingBroker"},"delete":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"204":{"description":"No Content"}},"produces":["application/json"],"parameters":[{"type":"integer","required":true,"name":"id","in":"path","description":"MessagingBroker identifier"}],"operationId":"destroy","description":"Delete a MessagingBroker"}},"/system_events/{id}/assign":{"post":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"400":{"description":"Request contains bad values"},"201":{"description":"Resource created"}},"produces":["application/json"],"parameters":[{"type":"integer","required":true,"name":"id","in":"path","description":"SystemEvent identifier"},{"type":"integer","required":false,"name":"assignee_id","in":"formData","description":"User id to which the event will be associated"},{"type":"integer","required":false,"name":"assigned_by_id","in":"formData","description":"User id who assigned the event"}],"operationId":"assign","description":"Assign a SystemEvent to a User"}},"/messaging/exchanges/{id}/clusters":{"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"title":"EtcdClusters","type":"array","items":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.EtcdCluster"}},"description":"Resource Content"}},"produces":["application/json"],"parameters":[{"type":"integer","required":true,"name":"id","in":"path","description":"MessagingExchange identifier"},{"type":"boolean","required":false,"name":"allow_docker_builds","in":"query","description":"Only return clusters that are defined as docker build clusters"}],"operationId":"show_clusters","description":"Retrieve all EtcdClusters for an Exchange"}},"/messaging/rpc_requests/{id}":{"put":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"400":{"description":"Request contains bad values"},"204":{"description":"No Content"}},"produces":["application/json"],"parameters":[{"type":"integer","required":true,"name":"id","in":"path","description":"MessagingRpcRequest identifier"},{"required":true,"name":"type","in":"body","description":"The updated MessagingRpcRequest","schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.MessagingRpcRequest"}}],"operationId":"update","description":"Update a MessagingRpcRequest"},"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.MessagingRpcRequest"},"description":"Resource Content"}},"produces":["application/json"],"parameters":[{"type":"integer","required":true,"name":"id","in":"path","description":"MessagingRpcRequest identifier"}],"operationId":"show","description":"Retrieve a specific MessagingRpcRequest"},"delete":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"204":{"description":"No Content"}},"produces":["application/json"],"parameters":[{"type":"integer","required":true,"name":"id","in":"path","description":"MessagingRpcRequest identifier"}],"operationId":"destroy","description":"Delete a MessagingRpcRequest"}},"/messaging/exchanges/{id}/modules/{hostname}":{"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.MessagingExchangeModule"},"description":"Resource Content"}},"produces":["application/json"],"parameters":[{"type":"integer","required":true,"name":"id","in":"path","description":"MessagingExchange identifier"},{"type":"string","required":true,"name":"hostname","in":"path","description":"MessagingExchangeModule hostname"}],"operationId":"show","description":"Retrieve a specific MessagingExchangeModule"},"delete":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"204":{"description":"No Content"}},"produces":["application/json"],"parameters":[{"type":"integer","required":true,"name":"id","in":"path","description":"MessagingExchange identifier"},{"type":"string","required":true,"name":"hostname","in":"path","description":"MessagingExchangeModule hostname"}],"operationId":"destroy","description":"Delete a MessagingExchangeModule"}},"/router/authorities/{id}/edit":{"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"description":"Resource Content"}},"produces":["application/json"],"parameters":[{"type":"integer","required":true,"name":"id","in":"path","description":""}],"operationId":"edit","description":""}},"/router/routes":{"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"title":"Authorities","type":"array","items":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.Router.Authority"}},"description":"Resource Content"}},"produces":["application/json"],"parameters":[{"type":"integer","required":false,"name":"updated_since","in":"query","description":"Unix timestamp, retrieve all Routes (for a time-range)"}],"operationId":"index","description":"Retrieve all Routes"}},"/products/{product_name}/deployment_plans/{plan_name}":{"put":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"400":{"description":"Request contains bad values"},"204":{"description":"No Content"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"product_name","in":"path","description":"Name of the Product"},{"type":"string","required":true,"name":"plan_name","in":"path","description":"Name of the ProductDeploymentPlan"},{"required":true,"name":"type","in":"body","description":"The updated ProductDeploymentPlan","schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.ProductDeploymentPlan"}}],"operationId":"update","description":"Update a ProductDeploymentPlan"},"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.ProductDeploymentPlan"},"description":"Resource Content"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"product_name","in":"path","description":"Name of the Product"},{"type":"string","required":true,"name":"plan_name","in":"path","description":"Name of the ProductDeploymentPlan"}],"operationId":"show","description":"Retrieve a specific ProductDeploymentPlan"},"delete":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"204":{"description":"No Content"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"product_name","in":"path","description":"Name of the Product"},{"type":"string","required":true,"name":"plan_name","in":"path","description":"Name of the ProductDeploymentPlan"}],"operationId":"destroy_plan","description":"Delete a ProductDeploymentPlan"}},"/cloud_providers/{id}":{"put":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"400":{"description":"Request contains bad values"},"204":{"description":"No Content"}},"produces":["application/json"],"parameters":[{"type":"integer","required":true,"name":"id","in":"path","description":"CloudProvider identifier"},{"required":true,"name":"type","in":"body","description":"The updated CloudProvider","schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.CloudProvider"}}],"operationId":"update","description":"Update a CloudProvider"},"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.CloudProvider"},"description":"Resource Content"}},"produces":["application/json"],"parameters":[{"type":"integer","required":true,"name":"id","in":"path","description":"CloudProvider identifier"}],"operationId":"show","description":"Retrieve a specific CloudProvider"},"delete":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"204":{"description":"No Content"}},"produces":["application/json"],"parameters":[{"type":"integer","required":true,"name":"id","in":"path","description":"CloudProvider identifier"}],"operationId":"destroy","description":"Delete a CloudProvider"}},"/products/{product_name}/environmental_variables":{"post":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"400":{"description":"Request contains bad values"},"201":{"description":"Resource created"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"product_name","in":"path","description":"Name of the Product"},{"required":true,"name":"type","in":"body","description":"The new ProductEnvironmentalVariable","schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.ProductEnvironmentalVariable"}}],"operationId":"create_default","description":"Create a Product environment variable"},"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"title":"ProductEnvironmentalVariables","type":"array","items":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.ProductEnvironmentalVariable"}},"description":"Resource Content"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"product_name","in":"path","description":"Name of the Product"},{"type":"string","required":false,"name":"coalesced","in":"query","description":"Set to true if you want to coalesce environment and product variables"}],"operationId":"index_default","description":"Retrieve all product variables for a product"}},"/router/authorities/{parent_id}/routes/clear":{"delete":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"204":{"description":"No Content"}},"produces":["application/json"],"parameters":[{"type":"integer","required":true,"name":"parent_id","in":"path","description":"Authority identifier"}],"operationId":"clear","description":"Delete all Routes for an authority"}},"/users":{"post":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"400":{"description":"Request contains bad values"},"201":{"description":"Resource created"}},"produces":["application/json"],"parameters":[{"required":true,"name":"type","in":"body","description":"The new User","schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.User"}}],"operationId":"create","description":"Create a User"},"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"title":"Users","type":"array","items":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.User"}},"description":"Resource Content"}},"produces":["application/json"],"parameters":[],"operationId":"index","description":"Retrieve all Users"}},"/products/{product_name}/clusters":{"post":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"400":{"description":"Request contains bad values"},"201":{"description":"Resource created"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"product_name","in":"path","description":"Name of the Product"},{"required":true,"name":"type","in":"body","description":"The new ProductCluster","schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.ProductCluster"}}],"operationId":"create","description":"Create a ProductCluster"},"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"title":"ProductClusters","type":"array","items":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.ProductCluster"}},"description":"Resource Content"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"product_name","in":"path","description":"Name of the Product"}],"operationId":"index","description":"Retrieve all ProductClusters"},"delete":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"204":{"description":"No Content"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"product_name","in":"path","description":"Name of the Product"}],"operationId":"destroy","description":"Delete all ProductClusters for a Product"}},"/products/{product_name}/deployment_plans/{plan_name}/steps":{"post":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"400":{"description":"Request contains bad values"},"201":{"description":"Resource created"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"product_name","in":"path","description":"Name of the Product"},{"type":"string","required":true,"name":"plan_name","in":"path","description":"Name of the ProductDeploymentPlan"},{"required":true,"name":"type","in":"body","description":"The new ProductDeploymentPlanStep","schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.ProductDeploymentPlanStep"}}],"operationId":"create","description":"Create a ProductDeploymentPlanStep"},"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"title":"ProductDeploymentPlanSteps","type":"array","items":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.ProductDeploymentPlanStep"}},"description":"Resource Content"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"product_name","in":"path","description":"Name of the Product"},{"type":"string","required":true,"name":"plan_name","in":"path","description":"Name of the ProductDeploymentPlan"}],"operationId":"index","description":"Retrieve all ProductDeploymentPlanSteps"},"delete":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"204":{"description":"No Content"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"product_name","in":"path","description":"Name of the Product"},{"type":"string","required":true,"name":"plan_name","in":"path","description":"Name of the ProductDeploymentPlan"},{"type":"integer","required":false,"name":"step_id","in":"path","description":"ProductDeploymentPlanStep identifier"}],"operationId":"destroy","description":"Delete a ProductDeploymentPlanStep and all child steps, or delete all steps"}},"/products/{product_name}/deployments/{deployment_id}/steps":{"post":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"400":{"description":"Request contains bad values"},"201":{"description":"Resource created"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"product_name","in":"path","description":"Name of the Product"},{"type":"integer","required":true,"name":"deployment_id","in":"path","description":"ProductDeployment identifier"},{"required":true,"name":"type","in":"body","description":"The new ProductDeploymentStep","schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.ProductDeploymentStep"}}],"operationId":"create","description":"Create a ProductDeploymentStep"},"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"title":"ProductDeploymentSteps","type":"array","items":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.ProductDeploymentStep"}},"description":"Resource Content"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"product_name","in":"path","description":"Name of the Product"},{"type":"integer","required":true,"name":"deployment_id","in":"path","description":"ProductDeployment identifier"}],"operationId":"index","description":"Retrieve all ProductDeploymentSteps for a ProductDeployment"}},"/system_components/{id}/upgrade":{"post":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"400":{"description":"Request contains bad values"},"201":{"description":"Resource created"}},"produces":["application/json"],"parameters":[{"type":"integer","required":true,"name":"id","in":"path","description":"SystemComponent identifier"}],"operationId":"upgrade","description":"Request an upgrade to a SystemComponent"}},"/products/{product_name}/components":{"post":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"400":{"description":"Request contains bad values"},"201":{"description":"Resource created"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"product_name","in":"path","description":"Name of the Product"},{"required":true,"name":"type","in":"body","description":"The new ProductComponent","schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.ProductComponent"}}],"operationId":"create","description":"Create a ProductComponent"},"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"title":"ProductComponent","type":"array","items":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.ProductComponent"}},"description":"Resource Content"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"product_name","in":"path","description":"Name of the Product"}],"operationId":"index","description":"Retrieve all ProductComponents"},"delete":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"204":{"description":"No Content"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"product_name","in":"path","description":"Name of the Product"}],"operationId":"destroy","description":"Delete all ProductComponents for a Product"}},"/router/authorities":{"post":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"400":{"description":"Request contains bad values"},"201":{"description":"Resource created"}},"produces":["application/json"],"parameters":[{"required":true,"name":"type","in":"body","description":"The new Authority","schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.Router.Authority"}}],"operationId":"create","description":"Create an Authority"},"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"title":"Authorities","type":"array","items":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.Router.Authority"}},"description":"Resource Content"}},"produces":["application/json"],"parameters":[],"operationId":"index","description":"Retrieve all Authorities"}},"/system_component_refs/{type}":{"put":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"400":{"description":"Request contains bad values"},"204":{"description":"No Content"}},"produces":["application/json"],"parameters":[{"type":"integer","required":true,"name":"id","in":"path","description":"SystemComponentRef identifier"},{"required":true,"name":"type","in":"body","description":"The updated SystemComponentRef","schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.SystemComponentRef"}}],"operationId":"update","description":"Update a SystemComponentRef"},"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.SystemComponentRef"},"description":"Resource Content"}},"produces":["application/json"],"parameters":[{"type":"integer","required":true,"name":"id","in":"path","description":"SystemComponentRef identifier"}],"operationId":"show","description":"Retrieve a specific SystemComponentRef"},"delete":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"204":{"description":"No Content"}},"produces":["application/json"],"parameters":[{"type":"integer","required":true,"name":"id","in":"path","description":"SystemComponentRef identifier"}],"operationId":"destroy","description":"Delete a SystemComponentRef"}},"/system_events":{"post":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"400":{"description":"Request contains bad values"},"201":{"description":"Resource created"}},"produces":["application/json"],"parameters":[{"required":true,"name":"type","in":"body","description":"The new SystemEvent","schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.SystemEvent"}}],"operationId":"create","description":"Create a SystemEvent"},"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"title":"SystemEvents","type":"array","items":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.SystemEvent"}},"description":"Resource Content"}},"produces":["application/json"],"parameters":[{"type":"integer","required":false,"name":"lookback","in":"query","description":"The number of hours (back) to retrieve SystemEvents, defaults to 24"},{"type":"integer","required":false,"name":"assignee_id","in":"query","description":"Retrieves all events (no time-range) for the User identifier"}],"operationId":"index","description":"Retrieve a set of SystemEvents"}},"/router/authorities/{parent_id}/routes":{"post":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"400":{"description":"Request contains bad values"},"201":{"description":"Resource created"}},"produces":["application/json"],"parameters":[{"type":"integer","required":true,"name":"parent_id","in":"path","description":"Authority identifier"},{"required":true,"name":"type","in":"body","description":"The new Route","schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.Router.Route"}}],"operationId":"create","description":"Create a Route"},"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"title":"Authorities","type":"array","items":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.Router.Route"}},"description":"Resource Content"}},"produces":["application/json"],"parameters":[{"type":"integer","required":true,"name":"parent_id","in":"path","description":"Authority identifier"}],"operationId":"index","description":"Retrieve all Routes for an Authority"}},"/router/authorities/{parent_id}/routes/new":{"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"description":"Resource Content"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"parent_id","in":"path","description":""}],"operationId":"new","description":""}},"/router/authorities/{parent_id}/routes/{id}/edit":{"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"description":"Resource Content"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"parent_id","in":"path","description":""},{"type":"integer","required":true,"name":"id","in":"path","description":""}],"operationId":"edit","description":""}},"/products/{product_name}":{"put":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"400":{"description":"Request contains bad values"},"204":{"description":"No Content"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"product_name","in":"path","description":"Product name"},{"type":"string","required":true,"name":"product_name","in":"path","description":"Product name"},{"required":true,"name":"type","in":"body","description":"The updated Product","schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.Product"}}],"operationId":"update","description":"Update a Product"},"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.Product"},"description":"Resource Content"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"product_name","in":"path","description":"Product name"}],"operationId":"show","description":"Retrieve a specific Product"},"delete":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"204":{"description":"No Content"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"product_name","in":"path","description":"Product name"}],"operationId":"destroy","description":"Delete a Product"}},"/messaging/brokers/{id}/connections":{"post":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"400":{"description":"Request contains bad values"},"201":{"description":"Resource created"}},"produces":["application/json"],"parameters":[{"type":"integer","required":true,"name":"id","in":"path","description":"MessagingBroker identifier"},{"required":true,"name":"type","in":"body","description":"The new MessagingBrokerConnection","schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.MessagingBrokerConnection"}}],"operationId":"create_connection","description":"Create a MessagingBrokerConnection"},"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"title":"MessagingBrokerConnections","type":"array","items":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.MessagingBrokerConnection"}},"description":"Resource Content"}},"produces":["application/json"],"parameters":[{"type":"integer","required":true,"name":"id","in":"path","description":"MessagingBroker identifier"}],"operationId":"get_connections","description":"Retrieve all MessagingBrokerConnections for a broker"},"delete":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"204":{"description":"No Content"}},"produces":["application/json"],"parameters":[{"type":"integer","required":true,"name":"id","in":"path","description":"MessagingBroker identifier"}],"operationId":"destroy_connections","description":"Delete all MessagingBrokerConnection"}},"/clusters/{etcd_token}/state":{"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"title":"FleetApi.UnitStates","type":"array","items":{"type":"object","title":"FleetApi.UnitState","required":["name","hash","machineID","systemdLoadState","systemdActiveState","systemdSubState"],"properties":{"systemdSubState":{"type":"string","description":"Systemd sub state"},"systemdLoadState":{"type":"string","description":"Systemd load state"},"systemdActiveState":{"type":"string","description":"Systemd active state"},"name":{"type":"string","description":"Name of the Fleet Unit"},"machineID":{"type":"string","description":"The Fleet machine identifier hosting the unit"},"hash":{"type":"string","description":"SHA1 hash of underlying unit file"}},"description":"A Fleet Machine"}},"description":"Resource Content"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"etcd_token","in":"path","description":"EtcdCluster token"}],"operationId":"units_state","description":"Retrieve all states of all Fleet Units"}},"/products":{"post":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"400":{"description":"Request contains bad values"},"201":{"description":"Resource created"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"product_name","in":"path","description":"Product name"},{"required":true,"name":"type","in":"body","description":"The new Product","schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.Product"}}],"operationId":"create","description":"Create a Product"},"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"title":"Products","type":"array","items":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.Product"}},"description":"Resource Content"}},"produces":["application/json"],"parameters":[],"operationId":"index","description":"Retrieve all Products"}},"/products/{product_name}/environmental_variables/{variable_name}":{"put":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"400":{"description":"Request contains bad values"},"204":{"description":"No Content"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"product_name","in":"path","description":"Name of the Product"},{"type":"string","required":true,"name":"variable_name","in":"path","description":"Name of the ProductEnvironmentalVariable"},{"required":true,"name":"type","in":"body","description":"The updated ProductEnvironmentalVariable","schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.ProductEnvironmentalVariable"}}],"operationId":"update_default","description":"Update a Product environment variable"},"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"title":"ProductEnvironmentalVariables","type":"array","items":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.ProductEnvironmentalVariable"}},"description":"Resource Content"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"product_name","in":"path","description":"Name of the Product"},{"type":"string","required":true,"name":"variable_name","in":"path","description":"Name of the variable"},{"type":"string","required":false,"name":"coalesced","in":"query","description":"Set to true if you want to coalesce environment and product variables"}],"operationId":"show_default","description":"Retrieve a (list) product variables for a product"},"delete":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"204":{"description":"No Content"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"product_name","in":"path","description":"Name of the Product"},{"type":"string","required":true,"name":"variable_name","in":"path","description":"Name of the variable"}],"operationId":"destroy_default","description":"Delete a product environmental variable"}},"/cloud_providers/{id}/clusters":{"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"title":"EtcdClusters","type":"array","items":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.EtcdCluster"}},"description":"Resource Content"}},"produces":["application/json"],"parameters":[{"type":"integer","required":true,"name":"id","in":"path","description":"CloudProvider identifier"}],"operationId":"clusters","description":"Retrieve any associated EtcdClusters"}},"/messaging/exchanges/{id}/system_components":{"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"title":"SystemComponents","type":"array","items":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.SystemComponent"}},"description":"Resource Content"}},"produces":["application/json"],"parameters":[{"type":"integer","required":true,"name":"id","in":"path","description":"MessagingExchange identifier"}],"operationId":"show_components","description":"Retrieve all SystemComponents for an Exchange"}},"/clusters/{etcd_token}/units":{"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"title":"FleetApi.Units","type":"array","items":{"type":"object","title":"FleetApi.Unit","required":["name","options","desiredState","currentState","machineID"],"properties":{"options":{"type":"array","items":{"type":"string"},"description":"Fleet UnitOptions"},"name":{"type":"string","description":"Name of the Unit"},"machineID":{"type":"string","description":"The Fleet machine identifier hosting the unit"},"desiredState":{"type":"string","description":"The systemd desired state"},"currentState":{"type":"string","description":"The systemd current state"}},"description":"A Fleet Unit"}},"description":"Resource Content"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"etcd_token","in":"path","description":"EtcdCluster token"}],"operationId":"units","description":"Retrieve all Fleet units associated with the EtcdCluster"}},"/clusters/{etcd_token}/machines":{"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"title":"FleetApi.Machines","type":"array","items":{"type":"object","title":"FleetApi.Machine","required":["id","primaryIP","metadata"],"properties":{"primaryIP":{"type":"string","description":"The IP address of the Machine"},"metadata":{"type":"array","items":{"type":"string"},"description":"Metadata associated with the Machine"},"id":{"type":"string","description":"Fleet Machine identifier"}},"description":"A Fleet Machine"}},"description":"Resource Content"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"etcd_token","in":"path","description":"EtcdCluster token"}],"operationId":"machines","description":"Retrieve all machines associated with the EtcdCluster"}},"/products/{product_name}/environments/{environment_name}/variables/{variable_name}":{"put":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"400":{"description":"Request contains bad values"},"204":{"description":"No Content"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"product_name","in":"path","description":"Name of the Product"},{"type":"string","required":true,"name":"environment_name","in":"path","description":"Name of the ProductEnvironment"},{"type":"string","required":true,"name":"variable_name","in":"path","description":"Name of the ProductEnvironmentalVariable"},{"required":true,"name":"type","in":"body","description":"The updated ProductEnvironmentalVariable","schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.ProductEnvironmentalVariable"}}],"operationId":"update_environment","description":"Update a Product environment variable"},"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"title":"ProductEnvironmentVariables","type":"array","items":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.ProductEnvironmentVariable"}},"description":"Resource Content"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"product_name","in":"path","description":"Name of the Product"},{"type":"string","required":true,"name":"environment_name","in":"path","description":"Name of the ProductEnvironment"},{"type":"string","required":true,"name":"variable_name","in":"path","description":"Name of the variable"}],"operationId":"show_environment","description":"Retrieve a (list) product environment variable for a name"},"delete":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"204":{"description":"No Content"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"product_name","in":"path","description":"Name of the Product"},{"type":"string","required":true,"name":"environment_name","in":"path","description":"Name of the ProductEnvironment"},{"type":"string","required":true,"name":"variable_name","in":"path","description":"Name of the variable"}],"operationId":"destroy_environment","description":"Delete a product environment variable"}},"/clusters/{etcd_token}":{"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.EtcdCluster"},"description":"Resource Content"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"etcd_token","in":"path","description":"EtcdCluster token"}],"operationId":"show","description":"Retrieve a specific EtcdCluster"},"delete":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"204":{"description":"No Content"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"id","in":"path","description":"EtcdCluster token"}],"operationId":"destroy","description":"Delete an EtcdCluster"}},"/system_events/{id}":{"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.SystemEvent"},"description":"Resource Content"}},"produces":["application/json"],"parameters":[{"type":"integer","required":true,"name":"id","in":"path","description":"SystemEvent identifier"}],"operationId":"show","description":"Retrieve a specific SystemEvent"}},"/workflows":{"post":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"400":{"description":"Request contains bad values"},"201":{"description":"Resource created"}},"produces":["application/json"],"parameters":[{"required":true,"name":"type","in":"body","description":"The new Workflow","schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.Workflow"}}],"operationId":"create","description":"Create a Workflow"},"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"title":"Workflows","type":"array","items":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.Workflow"}},"description":"Resource Content"}},"produces":["application/json"],"parameters":[{"type":"integer","required":false,"name":"lookback","in":"query","description":"The number of hours (back) to retrieve Workflows, defaults to 24"},{"type":"string","required":false,"name":"deployment_repo","in":"query","description":"Only return Workflows that meet the lookback param as well as have the specified deployment repository"},{"type":"string","required":false,"name":"source_repo","in":"query","description":"Only return Workflows that meet the lookback param as well as have the specified source repository"}],"operationId":"index","description":"Retrieve all Workflows"}},"/messaging/exchanges/{id}/brokers":{"post":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"400":{"description":"Request contains bad values"},"201":{"description":"Resource created"}},"produces":["application/json"],"parameters":[{"type":"integer","required":true,"name":"id","in":"path","description":"MessagingExchange identifier"},{"required":true,"name":"type","in":"body","description":"The new MessagingExchangeBroker","schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.MessagingExchangeBroker"}}],"operationId":"create_broker_restriction","description":"Create a MessagingExchangeBroker"},"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"title":"MessagingExchangeBrokers","type":"array","items":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.MessagingExchangeBroker"}},"description":"Resource Content"}},"produces":["application/json"],"parameters":[{"type":"integer","required":true,"name":"id","in":"path","description":"MessagingExchange identifier"}],"operationId":"get_broker_restrictions","description":"Retrieve all MessagingExchangeBrokers for an Exchange"},"delete":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"204":{"description":"No Content"}},"produces":["application/json"],"parameters":[{"type":"integer","required":true,"name":"id","in":"path","description":"MessagingBroker identifier"}],"operationId":"destroy_broker_restrictions","description":"Delete all MessagingExchangeBrokers associated with an Exchange"}},"/products/{product_name}/environments/{environment_name}/variables":{"post":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"400":{"description":"Request contains bad values"},"201":{"description":"Resource created"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"product_name","in":"path","description":"Name of the Product"},{"type":"string","required":true,"name":"environment_name","in":"path","description":"Name of the ProductEnvironment"},{"required":true,"name":"type","in":"body","description":"The new ProductEnvironmentalVariable","schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.ProductEnvironmentalVariable"}}],"operationId":"create_environment","description":"Create a Product environment variable"},"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"title":"ProductEnvironmentVariables","type":"array","items":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.ProductEnvironmentVariables"}},"description":"Resource Content"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"product_name","in":"path","description":"Name of the Product"},{"type":"string","required":true,"name":"environment_name","in":"path","description":"Name of the ProductEnvironment"},{"type":"string","required":false,"name":"coalesced","in":"query","description":"Set to true if you want to coalesce environment and product variables"}],"operationId":"index_environment","description":"Retrieve all environment variables for a product"}},"/router/routes/deleted":{"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"title":"Authorities","type":"array","items":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.Router.Authority"}},"description":"Resource Content"}},"produces":["application/json"],"parameters":[{"type":"integer","required":false,"name":"updated_since","in":"query","description":"Unix timestamp, delete all Routes (for a time-range)"}],"operationId":"index_deleted","description":"Delete all Routes"}},"/router/authorities/{id}":{"put":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"400":{"description":"Request contains bad values"},"204":{"description":"No Content"}},"produces":["application/json"],"parameters":[{"type":"integer","required":true,"name":"id","in":"path","description":"Authority identifier"},{"required":true,"name":"type","in":"body","description":"The updated Authority","schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.Router.Authority"}}],"operationId":"update","description":"Update an Authority"},"patch":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"}},"produces":["application/json"],"parameters":[{"type":"integer","required":true,"name":"id","in":"path","description":"Authority identifier"},{"required":true,"name":"type","in":"body","description":"The updated Authority","schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.Router.Authority"}}],"operationId":"update","description":"Update an Authority"},"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.Router.Authority"},"description":"Resource Content"}},"produces":["application/json"],"parameters":[{"type":"integer","required":true,"name":"id","in":"path","description":"Authority identifier"}],"operationId":"show","description":"Retrieve a specific Authority"},"delete":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"204":{"description":"No Content"}},"produces":["application/json"],"parameters":[{"type":"integer","required":true,"name":"id","in":"path","description":"Authority identifier"}],"operationId":"delete","description":"Delete an Authority"}},"/users/{id}":{"put":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"400":{"description":"Request contains bad values"},"204":{"description":"No Content"}},"produces":["application/json"],"parameters":[{"type":"integer","required":true,"name":"id","in":"path","description":"User identifier"},{"required":true,"name":"type","in":"body","description":"The updated User","schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.User"}}],"operationId":"update","description":"Update a User"},"patch":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"}},"produces":["application/json"],"parameters":[{"type":"integer","required":true,"name":"id","in":"path","description":"User identifier"},{"required":true,"name":"type","in":"body","description":"The updated User","schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.User"}}],"operationId":"update","description":"Update a User"},"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.User"},"description":"Resource Content"}},"produces":["application/json"],"parameters":[{"type":"integer","required":true,"name":"id","in":"path","description":"User identifier"}],"operationId":"show","description":"Retrieve a specific User"},"delete":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"204":{"description":"No Content"}},"produces":["application/json"],"parameters":[{"type":"integer","required":true,"name":"id","in":"path","description":"User identifier"}],"operationId":"delete","description":"Delete a User"}},"/cloud_providers":{"post":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"400":{"description":"Request contains bad values"},"201":{"description":"Resource created"}},"produces":["application/json"],"parameters":[{"required":true,"name":"type","in":"body","description":"The new CloudProvider","schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.CloudProvider"}}],"operationId":"create","description":"Create a CloudProvider"},"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"title":"CloudProviders","type":"array","items":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.CloudProvider"}},"description":"Resource Content"}},"produces":["application/json"],"parameters":[],"operationId":"index","description":"Retrieve all CloudProviders"}},"/messaging/rpc_requests":{"post":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"400":{"description":"Request contains bad values"},"201":{"description":"Resource created"}},"produces":["application/json"],"parameters":[{"required":true,"name":"type","in":"body","description":"The new MessagingRpcRequest","schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.MessagingRpcRequest"}}],"operationId":"create","description":"Create a MessagingRpcRequest"},"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"title":"MessagingRpcRequests","type":"array","items":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.MessagingRpcRequest"}},"description":"Resource Content"}},"produces":["application/json"],"parameters":[],"operationId":"index","description":"Retrieve all MessagingRpcRequests"}},"/system_events/{id}/dismiss":{"post":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"400":{"description":"Request contains bad values"},"201":{"description":"Resource created"}},"produces":["application/json"],"parameters":[{"type":"integer","required":true,"name":"id","in":"path","description":"SystemEvent identifier"},{"type":"integer","required":false,"name":"dismissed_by_id","in":"formData","description":"User id who dismissed the event, defaults to the request user"}],"operationId":"dismiss","description":"Dismiss a SystemEvent to a User"}},"/system_components":{"post":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"400":{"description":"Request contains bad values"},"201":{"description":"Resource created"}},"produces":["application/json"],"parameters":[{"required":true,"name":"type","in":"body","description":"The new SystemComponent","schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.SystemComponent"}}],"operationId":"create","description":"Create a SystemComponent"},"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"title":"SystemComponents","type":"array","items":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.SystemComponent"}},"description":"Resource Content"}},"produces":["application/json"],"parameters":[{"type":"string","required":false,"name":"type","in":"query","description":"Only return components that match the specified type"}],"operationId":"index","description":"Retrieve all SystemComponents"}},"/products/{product_name}/deployments":{"post":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"400":{"description":"Request contains bad values"},"201":{"description":"Resource created"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"product_name","in":"path","description":"Name of the Product"},{"required":true,"name":"type","in":"body","description":"The new ProductDeployment","schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.ProductDeployment"}}],"operationId":"create","description":"Create a ProductDeployment"},"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"title":"ProductDeployments","type":"array","items":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.ProductDeployment"}},"description":"Resource Content"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"product_name","in":"path","description":"Name of the Product"}],"operationId":"index","description":"Retrieve all ProductDeployments for a Product"}},"/clusters/{etcd_token}/machines/{machine_id}/units/{unit_name}/restart":{"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"type":"string","title":"Restart Output","name":"Restart Output","description":"Restart output"},"description":"Resource Content"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"etcd_token","in":"path","description":"EtcdCluster token"},{"type":"string","required":true,"name":"machine_id","in":"path","description":"Fleet Machine identifier"},{"type":"string","required":true,"name":"unit_name","in":"path","description":"URL-encoded Fleet Unit name"}],"operationId":"restart_unit","description":"Restart a Fleet Unit"}},"/workflows/{id}":{"put":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"400":{"description":"Request contains bad values"},"204":{"description":"No Content"}},"produces":["application/json"],"parameters":[{"type":"integer","required":true,"name":"id","in":"path","description":"Workflow identifier"},{"required":true,"name":"type","in":"body","description":"The updated Workflow","schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.Workflow"}}],"operationId":"update","description":"Update a Workflow"},"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.Workflow"},"description":"Resource Content"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"id","in":"path","description":"Workflow identifier"}],"operationId":"show","description":"Retrieve a specific Workflow"},"delete":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"204":{"description":"No Content"}},"produces":["application/json"],"parameters":[{"type":"integer","required":true,"name":"id","in":"path","description":"Workflow identifier"}],"operationId":"destroy","description":"Delete a Workflow"}},"/messaging/brokers":{"post":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"400":{"description":"Request contains bad values"},"201":{"description":"Resource created"}},"produces":["application/json"],"parameters":[{"required":true,"name":"type","in":"body","description":"The new MessagingBroker","schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.MessagingBroker"}}],"operationId":"create","description":"Create a MessagingBroker"},"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"title":"MessagingBrokers","type":"array","items":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.MessagingBroker"}},"description":"Resource Content"}},"produces":["application/json"],"parameters":[],"operationId":"index","description":"Retrieve all MessagingBrokers"}},"/messaging/exchanges":{"post":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"400":{"description":"Request contains bad values"},"201":{"description":"Resource created"}},"produces":["application/json"],"parameters":[{"required":true,"name":"type","in":"body","description":"The new MessagingExchange","schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.MessagingExchange"}}],"operationId":"create","description":"Create a MessagingExchange"},"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"title":"MessagingExchanges","type":"array","items":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.MessagingExchange"}},"description":"Resource Content"}},"produces":["application/json"],"parameters":[],"operationId":"index","description":"Retrieve all MessagingExchanges"}},"/products/{product_name}/components/{component_name}":{"put":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"400":{"description":"Request contains bad values"},"204":{"description":"No Content"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"product_name","in":"path","description":"Name of the Product"},{"required":true,"name":"type","in":"body","description":"The updated ProductComponent","schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.ProductComponent"}}],"operationId":"update","description":"Update a ProductComponent"},"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.ProductComponent"},"description":"Resource Content"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"product_name","in":"path","description":"Name of the Product"},{"type":"string","required":true,"name":"component_name","in":"path","description":"Name of the ProductComponent"}],"operationId":"show","description":"Retrieve a specific ProductComponent"},"delete":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"204":{"description":"No Content"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"product_name","in":"path","description":"Name of the Product"},{"type":"string","required":true,"name":"component_name","in":"path","description":"Name of the ProductComponent"}],"operationId":"destroy_component","description":"Delete a specific ProductComponent"}},"/clusters/{etcd_token}/products":{"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"title":"Products","type":"array","items":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.Product"}},"description":"Resource Content"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"etcd_token","in":"path","description":"EtcdCluster token"}],"operationId":"products","description":"Retrieve all products associated with the EtcdCluster"}},"/messaging/exchanges/{id}":{"put":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"400":{"description":"Request contains bad values"},"204":{"description":"No Content"}},"produces":["application/json"],"parameters":[{"type":"integer","required":true,"name":"id","in":"path","description":"MessagingExchange identifier"},{"required":true,"name":"type","in":"body","description":"The updated MessagingExchange","schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.MessagingExchange"}}],"operationId":"update","description":"Update a MessagingExchange"},"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.MessagingExchange"},"description":"Resource Content"}},"produces":["application/json"],"parameters":[{"type":"integer","required":true,"name":"id","in":"path","description":"MessagingExchange identifier"}],"operationId":"show","description":"Retrieve a specific MessagingExchange"},"delete":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"204":{"description":"No Content"}},"produces":["application/json"],"parameters":[{"type":"integer","required":true,"name":"id","in":"path","description":"MessagingExchange identifier"}],"operationId":"destroy","description":"Delete a MessagingExchange"}},"/messaging/exchanges/{id}/modules":{"post":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"400":{"description":"Request contains bad values"},"201":{"description":"Resource created"}},"produces":["application/json"],"parameters":[{"type":"integer","required":true,"name":"id","in":"path","description":"MessagingExchange identifier"},{"required":true,"name":"type","in":"body","description":"The new MessagingExchangeModule","schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.MessagingExchangeModule"}}],"operationId":"create","description":"Create a MessagingExchangeModule"},"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"title":"MessagingExchangeModules","type":"array","items":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.MessagingExchangeModule"}},"description":"Resource Content"}},"produces":["application/json"],"parameters":[{"type":"integer","required":true,"name":"id","in":"path","description":"MessagingExchange identifier"}],"operationId":"index","description":"Retrieve all MessagingExchangeModules"}},"/router/authorities/detailed":{"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"title":"Authorities","type":"array","items":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.Router.Authority"}},"description":"Resource Content"}},"produces":["application/json"],"parameters":[],"operationId":"index_detailed","description":"Retrieve all Authorities and route info"}},"/status":{"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"description":"Resource Content"}},"produces":["application/json"],"parameters":[],"operationId":"index","description":"Return the status of the manager"}},"/products/{product_name}/deployment_plans/{plan_name}/steps/{step_id}":{"put":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"400":{"description":"Request contains bad values"},"204":{"description":"No Content"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"product_name","in":"path","description":"Name of the Product"},{"type":"string","required":true,"name":"plan_name","in":"path","description":"Name of the ProductDeploymentPlan"},{"type":"integer","required":true,"name":"step_id","in":"path","description":"ProductDeploymentPlanStep identifier"},{"required":true,"name":"type","in":"body","description":"The updated ProductDeploymentPlanStep","schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.ProductDeploymentPlanStep"}}],"operationId":"update","description":"Update a ProductDeploymentPlanStep"},"delete":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"204":{"description":"No Content"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"product_name","in":"path","description":"Name of the Product"},{"type":"string","required":true,"name":"plan_name","in":"path","description":"Name of the ProductDeploymentPlan"},{"type":"integer","required":false,"name":"step_id","in":"path","description":"ProductDeploymentPlanStep identifier"}],"operationId":"destroy","description":"Delete a ProductDeploymentPlanStep and all child steps, or delete all steps"}},"/clusters/{etcd_token}/nodes":{"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"title":"NodeInfo","type":"array","items":{"type":"object","title":"Node","required":["docker_disk_space_percent","coreos_version","docker_version"],"properties":{"docker_version":{"type":"string","description":"A dump of the docker version information"},"docker_disk_space_percent":{"type":"integer","description":"The percentage of free disk space for the /var/lib/docker directory"},"coreos_version":{"type":"string","description":"A dump of the CoreOS version information"}},"description":"Information about a Node"}},"description":"Resource Content"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"etcd_token","in":"path","description":"EtcdCluster token"}],"operationId":"node_info","description":"Retrieve information about the Fleet Machines (nodes)"}},"/clusters/{etcd_token}/machines/{machine_id}/units/{unit_name}/logs":{"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"type":"string","title":"Logs","description":"Log file output"},"description":"Resource Content"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"etcd_token","in":"path","description":"EtcdCluster token"},{"type":"string","required":true,"name":"machine_id","in":"path","description":"Fleet Machine identifier"},{"type":"string","required":true,"name":"unit_name","in":"path","description":"URL-encoded Fleet Unit name"}],"operationId":"unit_logs","description":"Retrieve the log files for a specific Fleet Unit"}},"/products/{product_name}/deployments/{deployment_id}":{"put":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"400":{"description":"Request contains bad values"},"204":{"description":"No Content"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"product_name","in":"path","description":"Name of the Product"},{"type":"integer","required":true,"name":"deployment_id","in":"path","description":"Identifier of the ProductDeployment"},{"required":true,"name":"type","in":"body","description":"The updated ProductDeployment","schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.ProductDeployment"}}],"operationId":"update","description":"Update a ProductDeployment"},"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.ProductDeployment"},"description":"Resource Content"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"product_name","in":"path","description":"Name of the Product"},{"type":"integer","required":true,"name":"deployment_id","in":"path","description":"Identifier of the ProductDeployment"}],"operationId":"show","description":"Retrieve a specific ProductDeployment"},"delete":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"204":{"description":"No Content"}},"produces":["application/json"],"parameters":[{"type":"string","required":true,"name":"product_name","in":"path","description":"Name of the Product"},{"type":"integer","required":true,"name":"deployment_id","in":"path","description":"Identifier of the ProductDeployment"}],"operationId":"destroy","description":"Delete a ProductDeployment"}},"/router/authorities/{id}/detailed":{"get":{"responses":{"500":{"description":"Internal Server Error"},"404":{"description":"Resource not found"},"401":{"description":"Request is not authorized"},"200":{"schema":{"$ref":"#/definitions/OpenAperture.Manager.DB.Models.Router.Authority"},"description":"Resource Content"}},"produces":["application/json"],"parameters":[{"type":"integer","required":true,"name":"id","in":"path","description":"Authority identifier"}],"operationId":"show_detailed","description":"Retrieve a specific Authority with details"}}},"info":{"version":"1.0.0","title":"OpenAperture Manager","termsOfService":"https://github.com/OpenAperture/manager/blob/master/LICENSE","license":{"url":"https://github.com/OpenAperture/manager/blob/master/LICENSE","name":"Mozilla Public License, v. 2.0"},"description":"The REST API for the OpenAperture Manager","contact":{"url":"http://openaperture.io","name":"OpenAperture","email":"openaperture@lexmark.com"}},"host":"openaperture.io","definitions":{"OpenAperture.Manager.DB.Models.Workflow":{"properties":{"workflow_step_durations":{"type":"string"},"workflow_error":{"type":"boolean"},"workflow_duration":{"type":"string"},"workflow_completed":{"type":"boolean"},"updated_at":{"type":"string","format":"date-time"},"source_repo_git_ref":{"type":"string"},"source_repo":{"type":"string"},"source_commit_hash":{"type":"string"},"scheduled_start_time":{"type":"string","format":"date-time"},"milestones":{"type":"string"},"inserted_at":{"type":"string","format":"date-time"},"id":{"type":"string"},"execute_options":{"type":"string"},"event_log":{"type":"string"},"elapsed_workflow_time":{"type":"string"},"elapsed_step_time":{"type":"string"},"deployment_repo_git_ref":{"type":"string"},"deployment_repo":{"type":"string"},"current_step":{"type":"string"}}},"OpenAperture.Manager.DB.Models.User":{"properties":{"updated_at":{"type":"string","format":"date-time"},"last_name":{"type":"string"},"inserted_at":{"type":"string","format":"date-time"},"id":{"type":"integer","format":"int64"},"first_name":{"type":"string"},"email":{"type":"string"}}},"OpenAperture.Manager.DB.Models.SystemEvent":{"properties":{"updated_at":{"type":"string","format":"date-time"},"type":{"type":"string"},"severity":{"type":"string"},"message":{"type":"string"},"inserted_at":{"type":"string","format":"date-time"},"id":{"type":"integer","format":"int64"},"dismissed_reason":{"type":"string"},"dismissed_by_id":{"type":"integer","format":"int64"},"dismissed_at":{"type":"string","format":"date-time"},"data":{"type":"string"},"assignee_id":{"type":"integer","format":"int64"},"assigned_by_id":{"type":"integer","format":"int64"},"assigned_at":{"type":"string","format":"date-time"}}},"OpenAperture.Manager.DB.Models.SystemComponentRef":{"properties":{"updated_at":{"type":"string","format":"date-time"},"type":{"type":"string"},"source_repo_git_ref":{"type":"string"},"source_repo":{"type":"string"},"inserted_at":{"type":"string","format":"date-time"},"id":{"type":"integer","format":"int64"},"auto_upgrade_enabled":{"type":"boolean"}}},"OpenAperture.Manager.DB.Models.SystemComponent":{"properties":{"upgrade_strategy":{"type":"string"},"upgrade_status":{"type":"string"},"updated_at":{"type":"string","format":"date-time"},"type":{"type":"string"},"status":{"type":"string"},"source_repo_git_ref":{"type":"string"},"source_repo":{"type":"string"},"messaging_exchange_id":{"type":"integer","format":"int64"},"inserted_at":{"type":"string","format":"date-time"},"id":{"type":"integer","format":"int64"},"deployment_repo_git_ref":{"type":"string"},"deployment_repo":{"type":"string"}}},"OpenAperture.Manager.DB.Models.Router.Route":{"properties":{"updated_at":{"type":"string","format":"date-time"},"secure_connection":{"type":"boolean"},"port":{"type":"integer","format":"int64"},"inserted_at":{"type":"string","format":"date-time"},"id":{"type":"integer","format":"int64"},"hostname":{"type":"string"},"authority_id":{"type":"integer","format":"int64"}}},"OpenAperture.Manager.DB.Models.Router.DeletedAuthority":{"properties":{"updated_at":{"type":"string","format":"date-time"},"port":{"type":"integer","format":"int64"},"inserted_at":{"type":"string","format":"date-time"},"id":{"type":"integer","format":"int64"},"hostname":{"type":"string"}}},"OpenAperture.Manager.DB.Models.Router.Authority":{"properties":{"updated_at":{"type":"string","format":"date-time"},"port":{"type":"integer","format":"int64"},"inserted_at":{"type":"string","format":"date-time"},"id":{"type":"integer","format":"int64"},"hostname":{"type":"string"}}},"OpenAperture.Manager.DB.Models.ProductEnvironmentalVariable":{"properties":{"value_keyname":{"type":"string"},"value":{"type":"string"},"updated_at":{"type":"string","format":"date-time"},"product_id":{"type":"integer","format":"int64"},"product_environment_id":{"type":"integer","format":"int64"},"private":{"type":"boolean"},"name":{"type":"string"},"inserted_at":{"type":"string","format":"date-time"},"id":{"type":"integer","format":"int64"}}},"OpenAperture.Manager.DB.Models.ProductEnvironment":{"properties":{"updated_at":{"type":"string","format":"date-time"},"product_id":{"type":"integer","format":"int64"},"name":{"type":"string"},"inserted_at":{"type":"string","format":"date-time"},"id":{"type":"integer","format":"int64"}}},"OpenAperture.Manager.DB.Models.ProductDeploymentStep":{"properties":{"updated_at":{"type":"string","format":"date-time"},"successful":{"type":"boolean"},"sequence":{"type":"integer","format":"int64"},"product_deployment_plan_step_type":{"type":"string"},"product_deployment_plan_step_id":{"type":"integer","format":"int64"},"product_deployment_id":{"type":"integer","format":"int64"},"output":{"type":"string"},"inserted_at":{"type":"string","format":"date-time"},"id":{"type":"integer","format":"int64"},"execution_options":{"type":"string"},"duration":{"type":"string"}}},"OpenAperture.Manager.DB.Models.ProductDeploymentPlanStepOption":{"properties":{"value":{"type":"string"},"updated_at":{"type":"string","format":"date-time"},"product_deployment_plan_step_id":{"type":"integer","format":"int64"},"name":{"type":"string"},"inserted_at":{"type":"string","format":"date-time"},"id":{"type":"integer","format":"int64"}}},"OpenAperture.Manager.DB.Models.ProductDeploymentPlanStep":{"properties":{"updated_at":{"type":"string","format":"date-time"},"type":{"type":"string"},"product_deployment_plan_id":{"type":"integer","format":"int64"},"on_success_step_id":{"type":"integer","format":"int64"},"on_failure_step_id":{"type":"integer","format":"int64"},"inserted_at":{"type":"string","format":"date-time"},"id":{"type":"integer","format":"int64"}}},"OpenAperture.Manager.DB.Models.ProductDeploymentPlan":{"properties":{"updated_at":{"type":"string","format":"date-time"},"product_id":{"type":"integer","format":"int64"},"name":{"type":"string"},"inserted_at":{"type":"string","format":"date-time"},"id":{"type":"integer","format":"int64"}}},"OpenAperture.Manager.DB.Models.ProductDeployment":{"properties":{"updated_at":{"type":"string","format":"date-time"},"product_id":{"type":"integer","format":"int64"},"product_environment_id":{"type":"integer","format":"int64"},"product_deployment_plan_id":{"type":"integer","format":"int64"},"output":{"type":"string"},"inserted_at":{"type":"string","format":"date-time"},"id":{"type":"integer","format":"int64"},"execution_options":{"type":"string"},"duration":{"type":"string"},"completed":{"type":"boolean"}}},"OpenAperture.Manager.DB.Models.ProductComponentOption":{"properties":{"value":{"type":"string"},"updated_at":{"type":"string","format":"date-time"},"product_component_id":{"type":"integer","format":"int64"},"name":{"type":"string"},"inserted_at":{"type":"string","format":"date-time"},"id":{"type":"integer","format":"int64"}}},"OpenAperture.Manager.DB.Models.ProductComponent":{"properties":{"updated_at":{"type":"string","format":"date-time"},"type":{"type":"string"},"product_id":{"type":"integer","format":"int64"},"name":{"type":"string"},"inserted_at":{"type":"string","format":"date-time"},"id":{"type":"integer","format":"int64"}}},"OpenAperture.Manager.DB.Models.ProductCluster":{"properties":{"updated_at":{"type":"string","format":"date-time"},"product_id":{"type":"integer","format":"int64"},"primary_ind":{"type":"boolean"},"inserted_at":{"type":"string","format":"date-time"},"id":{"type":"integer","format":"int64"},"etcd_cluster_id":{"type":"integer","format":"int64"}}},"OpenAperture.Manager.DB.Models.Product":{"properties":{"updated_at":{"type":"string","format":"date-time"},"name":{"type":"string"},"inserted_at":{"type":"string","format":"date-time"},"id":{"type":"integer","format":"int64"}}},"OpenAperture.Manager.DB.Models.MessagingRpcRequest":{"properties":{"updated_at":{"type":"string","format":"date-time"},"status":{"type":"string"},"response_body":{"type":"string"},"request_body":{"type":"string"},"inserted_at":{"type":"string","format":"date-time"},"id":{"type":"integer","format":"int64"}}},"OpenAperture.Manager.DB.Models.MessagingExchangeModule":{"properties":{"workload":{"type":"string"},"updated_at":{"type":"string","format":"date-time"},"type":{"type":"string"},"status":{"type":"string"},"source_repo_git_ref":{"type":"string"},"source_repo":{"type":"string"},"messaging_exchange_id":{"type":"integer","format":"int64"},"inserted_at":{"type":"string","format":"date-time"},"id":{"type":"integer","format":"int64"},"hostname":{"type":"string"},"deployment_repo_git_ref":{"type":"string"},"deployment_repo":{"type":"string"}}},"OpenAperture.Manager.DB.Models.MessagingExchangeBroker":{"properties":{"updated_at":{"type":"string","format":"date-time"},"messaging_exchange_id":{"type":"integer","format":"int64"},"messaging_broker_id":{"type":"integer","format":"int64"},"inserted_at":{"type":"string","format":"date-time"},"id":{"type":"integer","format":"int64"}}},"OpenAperture.Manager.DB.Models.MessagingExchange":{"properties":{"updated_at":{"type":"string","format":"date-time"},"routing_key_fragment":{"type":"string"},"parent_exchange_id":{"type":"integer","format":"int64"},"name":{"type":"string"},"inserted_at":{"type":"string","format":"date-time"},"id":{"type":"integer","format":"int64"},"failover_exchange_id":{"type":"integer","format":"int64"}}},"OpenAperture.Manager.DB.Models.MessagingBrokerConnection":{"properties":{"virtual_host":{"type":"string"},"username":{"type":"string"},"updated_at":{"type":"string","format":"date-time"},"port":{"type":"string"},"password":{"type":"string"},"messaging_broker_id":{"type":"integer","format":"int64"},"inserted_at":{"type":"string","format":"date-time"},"id":{"type":"integer","format":"int64"},"host":{"type":"string"}}},"OpenAperture.Manager.DB.Models.MessagingBroker":{"properties":{"updated_at":{"type":"string","format":"date-time"},"name":{"type":"string"},"inserted_at":{"type":"string","format":"date-time"},"id":{"type":"integer","format":"int64"},"failover_broker_id":{"type":"integer","format":"int64"}}},"OpenAperture.Manager.DB.Models.EtcdClusterPort":{"properties":{"updated_at":{"type":"string","format":"date-time"},"product_component_id":{"type":"integer","format":"int64"},"port":{"type":"integer","format":"int64"},"inserted_at":{"type":"string","format":"date-time"},"id":{"type":"integer","format":"int64"},"etcd_cluster_id":{"type":"integer","format":"int64"}}},"OpenAperture.Manager.DB.Models.EtcdCluster":{"properties":{"updated_at":{"type":"string","format":"date-time"},"name":{"type":"string"},"messaging_exchange_id":{"type":"integer","format":"int64"},"inserted_at":{"type":"string","format":"date-time"},"id":{"type":"integer","format":"int64"},"hosting_provider_id":{"type":"integer","format":"int64"},"etcd_token":{"type":"string"},"allow_docker_builds":{"type":"boolean"}}},"OpenAperture.Manager.DB.Models.CloudProvider":{"properties":{"updated_at":{"type":"string","format":"date-time"},"type":{"type":"string"},"name":{"type":"string"},"inserted_at":{"type":"string","format":"date-time"},"id":{"type":"integer","format":"int64"},"configuration":{"type":"string"}}},"OpenAperture.Manager.DB.Models.AuthSourceUserRelation":{"properties":{"user_id":{"type":"integer","format":"int64"},"updated_at":{"type":"string","format":"date-time"},"inserted_at":{"type":"string","format":"date-time"},"id":{"type":"integer","format":"int64"},"auth_source_id":{"type":"integer","format":"int64"}}},"OpenAperture.Manager.DB.Models.AuthSource":{"properties":{"updated_at":{"type":"string","format":"date-time"},"token_info_url":{"type":"string"},"name":{"type":"string"},"last_name_field_name":{"type":"string"},"inserted_at":{"type":"string","format":"date-time"},"id":{"type":"integer","format":"int64"},"first_name_field_name":{"type":"string"},"email_field_name":{"type":"string"}}}},"consumes":["application/json"],"basePath":"/"}