{"type":"model","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/960a628c-2f33-3367-a4ec-faca586888c5","info":{"title":"Service Health Historical Data APIs","description":"APIs for requesting historical data recorded by the Crosswork Service Health application.","termsOfService":"terms-of-service","contact":{"name":"Crosswork Team, Cisco","email":"support@cisco.com"},"license":{"name":"Cisco Software License Agreement","url":"http://www.cisco.com/public/sw-license-agreement.html"},"version":"7.1.0"},"security":[{"bearerAuth":[]}],"x-parser-conf":{"overview":{"markdownPath":"reference/ServiceHealth/sh_application_overview.md"}},"openapi":"3.0.1","servers":[{"url":"/crosswork/aa/aaapp/v1/"}],"securitySchemes":{"bearerAuth":{"type":"apiKey","description":"Security token for authorizing requests for these APIs.","name":"Authorization","in":"header"}}},"spec":{"type":"object","description":"Response - KPI Metrics","properties":{"serviceId":{"description":"Service-id","type":"string"},"subserviceMetricList":{"description":"Subservice-id and corresponding metric list","type":"object","additionalProperties":{"type":"object","description":"Response - KPI Metrics data","properties":{"metricData":{"description":"Metric data","type":"array","items":{"type":"object","description":"Response - KPI Metrics data","properties":{"metricInstance":{"description":"Metric instance-id","type":"string"},"metricClass":{"description":"Metric class name","type":"string"},"namespace":{"description":"Metric namespace","type":"string"},"metricDisplayLabel":{"description":"Metric chart label to display","type":"string"},"metricValueDatatype":{"description":"Datatype of the Metric values","type":"string"},"thresholdValue":{"description":"Value of the threshold","type":"string"},"KpiHistoricalMetrics":{"description":"Timestamp and metric-value","type":"array","items":{"type":"object","properties":{"metricTimestamp":{"description":"The timestamp of the metric","type":"string","format":"int64"},"metricValue":{"description":"Value of the metric","type":"string"}},"description":"Timestamp and corresponding value of the metric.","$$ref":"#/components/schemas/KpiMetricsResponseMetricTimestampValues"}}},"$$ref":"#/components/schemas/KpiMetricsResponseMetricData"}}},"$$ref":"#/components/schemas/KpiMetricsResponseMetricList"}},"status":{"type":"string","description":"Request - Status mapping","default":"UNKNOWN_STATUS","enum":["UNKNOWN_STATUS","SERVICE_DOESNT_EXIST","BAD_REQUEST_SCHEMA","SUCCESS","ERROR"],"$$ref":"#/components/schemas/KpiMetricsResponseStatus"},"error":{"description":"Error details in case the request failed","type":"string"}},"$$ref":"#/components/schemas/KpiMetricsResponse","title":"KpiMetricsResponse"}}