{"type":"api","title":"Get Models","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":"Returns a paginated list of Lora third party sensor models that match the filter criteria and sorted by ordering criteria","operationId":"getModels","parameters":[{"description":"Filter criteria","in":"query","name":"filter","required":false,"type":"string"},{"default":0,"description":"Page Number","in":"query","minimum":0,"name":"page","required":false,"type":"integer"},{"default":10,"description":"Page Size","in":"query","maximum":500,"minimum":1,"name":"size","required":false,"type":"integer"},{"description":"Order criteria","in":"query","name":"orderBy","required":false,"type":"string","x-example":"name desc"}],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"properties":{"data":{"description":"List of ThirdParty Sensor Models","items":{"properties":{"createdBy":{"description":"Created By","type":"string"},"createdTime":{"description":"Created Time (Epoch Time)","example":1622124238448,"format":"int64","type":"integer"},"description":{"description":"Model description","example":"Wireless movement sensor","type":"string"},"id":{"description":"Model Id","example":"0ebf937f-bbed-4691-992a-702b02df7831","format":"uuid","type":"string"},"loraRegionParamRevision":{"description":"Supported lora region parameter","example":"B","type":"string"},"loraVersion":{"description":"Supported LoraVersion","example":"1.0.2","type":"string"},"manufacturerId":{"description":"Manufacturer Id","example":"0ebf937f-bbed-4691-992a-702b02df7832","format":"uuid","type":"string"},"manufacturerName":{"description":"Manufacturer Name","example":"MultiTech Reveal","type":"string"},"modifiedBy":{"description":"Modified By","type":"string"},"modifiedTime":{"description":"Modified Time (Epoch Time)","example":1622124238468,"format":"int64","type":"integer"},"name":{"description":"Model Name","example":"RBS3-01-ABM","type":"string"}},"type":"object","$$ref":"#/definitions/LoraTpModel"},"type":"array"},"pageInfo":{"example":{"count":1,"page":0,"size":10,"totalCount":10},"properties":{"count":{"description":"Count of items returned in the current page","type":"integer"},"page":{"description":"Page Number","type":"integer"},"size":{"description":"Page Size","type":"integer"},"totalCount":{"description":"Total count of objects matching the filter criteria","type":"integer"}},"type":"object","$$ref":"#/definitions/PageInfo"}},"type":"object","$$ref":"#/definitions/LoraTpModelListResponse"}},"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 Lora ThirdParty Sensor Models","tags":["LoraTp"],"__originalOperationId":"getModels","method":"get","path":"/loratp/models"}}