github.com/cilium/cilium@v1.16.2/api/v1/operator/openapi.yaml (about) 1 --- 2 swagger: '2.0' 3 info: 4 title: Cilium Operator 5 description: Cilium 6 version: v1beta 7 x-schemes: 8 - unix 9 basePath: "/v1" 10 produces: 11 - application/json 12 consumes: 13 - application/json 14 paths: 15 "/metrics/": 16 get: 17 summary: Retrieve cilium operator metrics 18 description: Returns the metrics exposed by the Cilium operator. 19 tags: 20 - metrics 21 parameters: [] 22 responses: 23 '200': 24 description: Success 25 schema: 26 type: array 27 items: 28 "$ref": "../openapi.yaml#/definitions/Metric" 29 '500': 30 x-go-name: Failed 31 description: Metrics cannot be retrieved 32 "/healthz": 33 get: 34 summary: Get health of Cilium operator 35 description: Returns the status of cilium operator instance. 36 tags: 37 - operator 38 parameters: [] 39 produces: 40 - text/plain 41 responses: 42 '200': 43 description: Cilium operator is healthy 44 schema: 45 type: string 46 '500': 47 description: Cilium operator is not healthy 48 schema: 49 type: string 50 '501': 51 description: Cilium operator health status not available 52 schema: 53 type: string 54 "/cluster": 55 get: 56 summary: Get remote clusters connection status 57 description: Returns the list of remote clusters and their status. 58 tags: 59 - cluster 60 parameters: [] 61 responses: 62 '200': 63 description: Success 64 schema: 65 type: array 66 items: 67 "$ref": "#/definitions/RemoteCluster" 68 definitions: 69 RemoteCluster: 70 allOf: 71 - "$ref": "../openapi.yaml#/definitions/RemoteCluster" 72 x-go-type: 73 import: 74 package: "github.com/cilium/cilium/api/v1/models" 75 alias: "common" 76 type: "RemoteCluster"