{"type":"model","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-2/76fd4bb9d069fd2530d7a02f0b3a4ca00eccfd35/aec5c4a2-bcff-3f98-bfdb-2d20859244c1","info":{"title":"Crosswork ClusterManager API","description":"ClusterManager provides API methods for managing Crosswork cluster. This includes getting cluster and node summary, getting cluster and node health information. It also provides APIs to collect showtech, rebalance cluster and set or get login banner.","version":"7.2.0","contact":{"name":"Crosswork Team, Cisco","email":"support@cisco.com"},"license":{"name":"Cisco Software License Agreement","url":"https://www.cisco.com/public/sw-license-agreement.html"}},"security":[{"bearerAuth":[]}],"x-parser-conf":{"overview":{"markdownPath":"reference/INFRA/CLUSTER/cluster-overview.md"}},"openapi":"3.0.1","servers":[{"url":"https://{cw_ip}:30603/crosswork/platform/v2","description":"Generated server url"}],"securitySchemes":{"api_key":{"description":"security definitions details","type":"apiKey","name":"Authorization","in":"header"},"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"JWT Authorization header using the Bearer scheme. Example: \"Authorization: Bearer {token}\""}}},"spec":{"description":"Details of a Microservice in the Crosswork Cluster","type":"object","properties":{"Name":{"description":"Name of the Microservice","type":"string","title":"Name of the Service"},"health_state":{"description":"Health State of the Cluster Component","type":"string","enum":["Healthy","Degraded","Down","NA","Unknown"],"default":"Healthy","$$ref":"#/components/schemas/clusterHealthState"},"up_time":{"description":"Uptime of the Microservice","type":"string","title":"Up time of the Service"},"recommendation":{"description":"Recommendation for the Microservice","type":"string","title":"Recommendation for this Service"},"description":{"description":"Description of the Microservice","type":"string","title":"Description of this Service"},"is_dynamic":{"description":"Indicates if the Microservice is dynamic","type":"boolean","title":"Runtime type of this Service"},"micro_service_action":{"description":"Actions that can be performed on a Microservice","type":"object","properties":{"actions":{"description":"Array of actions that can be performed on a Microservice","type":"array","items":{"description":"Action that can be performed on cluster components","type":"object","properties":{"action_name":{"description":"Name of the action","type":"string"},"action_id":{"description":"Unique identifier for the action","type":"string"}},"example":{"action_name":"Restart","action_id":"RESTART"},"$$ref":"#/components/schemas/clusterAction"}}},"title":"Actions that can be done on a Microservice","$$ref":"#/components/schemas/clusterMicroServiceAction"},"Version":{"description":"Version of the Microservice","type":"string","title":"Version of this service"},"version_history":{"description":"Version history of the Microservice deployment units (Pods)","type":"array","items":{"description":"Version history details of a microservice","type":"object","properties":{"unit_id":{"description":"Immutable Unique application identifier","type":"string","title":"Immutable Unique application identifier"},"version":{"description":"Semantic version of Application containing Major.minor.patch","type":"string","title":"Semantic version of Application containing Major.minor.patch"},"description":{"description":"Description of pod,resource","type":"string","title":"Description of pod,resource"},"creation_time":{"description":"Creation time of the pod","type":"string","format":"int64","title":"Uptime of the pod"}},"title":"Version history of a microservice","$$ref":"#/components/schemas/clusterVersionHistory"},"title":"Deployment unit(Pods) version hsitory"}},"title":"clusterMicroService","$$ref":"#/components/schemas/clusterMicroService"}}