{"openapi":"3.0.3","info":{"title":"OpenShift Cincinnati Policy-Engine","contact":{},"license":{"name":"Apache2"},"version":"0.0.0"},"paths":{"/api/upgrades_info/graph":{"get":{"summary":"Get the update graph","operationId":"getGraph","responses":{"default":{"description":"Generic graph error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GraphError"}}}},"200":{"description":"An update graph","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Graph"}}}},"400":{"description":"Bad client request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GraphError"}}}},"406":{"description":"Invalid Content-Type","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GraphError"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GraphError"}}}}}},"parameters":[{"in":"query","name":"channel","required":true,"schema":{"type":"string"},"style":"form"}]},"/api/upgrades_info/v1/graph":{"get":{"summary":"Get the update graph","operationId":"getV1Graph","responses":{"default":{"description":"Generic graph error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GraphError"}}}},"200":{"description":"An update graph","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Graph"}}}},"400":{"description":"Bad client request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GraphError"}}}},"406":{"description":"Invalid Content-Type","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GraphError"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GraphError"}}}}}}}},"components":{"schemas":{"Graph":{"properties":{"nodes":{"type":"array","items":{"$ref":"#/components/schemas/Node"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/Edge"}}}},"Node":{"properties":{"version":{"type":"string"},"payload":{"type":"string"},"metadata":{"type":"object","additionalProperties":{"type":"string"}}},"required":["version","payload","metadata"]},"Edge":{"type":"array","items":{"type":"integer","format":"int32"}},"GraphError":{"properties":{"kind":{"type":"string"},"value":{"type":"string"}},"required":["kind","value"]}}},"security":[]}