{"type":"api","title":"Get Gateway Rx Tx Histogram","meta":{"id":"/apps/pubhub/media/cisco-iot-suite/64f8fe4b343793ff572741607351ff520b6a158d/5c66b3aa-a761-3029-b823-c160b9ed90db","swagger":"2.0","info":{"contact":{"email":"asset-tracking-team@cisco.com"},"description":"This service exposes APIs for managing AssetTypes, Assets, Sensors, Gateways deployed in the network.","license":{"name":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"},"termsOfService":"http://swagger.io/terms/","title":"Industrial Asset Vision","version":"1.0.0"},"host":"us.ciscoiot.com","basePath":"/at/nbapi/v1","schemes":["https"],"externalDocs":{"description":"Find out more about Industrial Asset Vision","url":"https://www.cisco.com/c/en/us/products/cloud-systems-management/industrial-asset-vision/index.html"},"securityDefinitions":{"BearerToken":{"in":"header","name":"Authorization","type":"apiKey"}},"x-parser-conf":{"apiKeyGenerator":{"$remoteModule":"./config/apikey.js"},"serverConfig":true,"meta":{"useProxy":true}}},"spec":{"description":"Get Gateway Rx/Tx Histogram","operationId":"getGatewayRxTxHistogram","parameters":[{"description":"Gateway Id","format":"uuid","in":"path","name":"gatewayId","required":true,"type":"string","x-example":"4b1d65ab-e60b-4cd7-a2a1-fcb40375efa2"},{"description":"Interval","format":"int64","in":"query","name":"interval","required":true,"type":"integer","x-example":3600000},{"description":"Start Time in Milliseconds (Epoch Time)","format":"int64","in":"query","name":"startTime","required":false,"type":"integer","x-example":1623868200000},{"description":"End Time in Milliseconds (Epoch Time)","format":"int64","in":"query","name":"endTime","required":false,"type":"integer","x-example":1623954599999}],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"example":{"date":1623868200000,"formattedDate":"2021-06-16T18:30:00.000Z","values":[0,71,0,71]},"properties":{"date":{"format":"int64","type":"integer"},"formattedDate":{"type":"string"},"values":{"items":{"type":"integer"},"type":"array"}},"type":"object","$$ref":"#/definitions/GatewayRxTxHistogram"},"type":"array","$$ref":"#/definitions/GatewayRxTxHistogramList"}},"400":{"description":"Bad Request","schema":{"description":"Contains errorCode and message","example":{"message":"Error Message","status":"4xx/500"},"properties":{"message":{"description":"A user readable message that describes the error in details.","type":"string"},"status":{"description":"Http Status Code that describes the error","type":"integer"}},"type":"object","$$ref":"#/definitions/Error"}},"401":{"description":"Unauthorized","schema":{"description":"Contains errorCode and message","example":{"message":"Error Message","status":"4xx/500"},"properties":{"message":{"description":"A user readable message that describes the error in details.","type":"string"},"status":{"description":"Http Status Code that describes the error","type":"integer"}},"type":"object","$$ref":"#/definitions/Error"}},"403":{"description":"Forbidden","schema":{"description":"Contains errorCode and message","example":{"message":"Error Message","status":"4xx/500"},"properties":{"message":{"description":"A user readable message that describes the error in details.","type":"string"},"status":{"description":"Http Status Code that describes the error","type":"integer"}},"type":"object","$$ref":"#/definitions/Error"}},"500":{"description":"Internal Server Error","schema":{"description":"Contains errorCode and message","example":{"message":"Error Message","status":"4xx/500"},"properties":{"message":{"description":"A user readable message that describes the error in details.","type":"string"},"status":{"description":"Http Status Code that describes the error","type":"integer"}},"type":"object","$$ref":"#/definitions/Error"}}},"security":[{"BearerToken":[]}],"summary":"Get Gateway Rx/Tx Histogram","tags":["Gateways"],"__originalOperationId":"getGatewayRxTxHistogram","method":"get","path":"/gateways/{gatewayId}/rxTxHistogram"}}