{"type":"model","meta":{"id":"/apps/pubhub/media/edm-api-v2/a2a30bcc9ecab5281b65761ae61df7e0031d5691/f67a4e01-0023-334a-9a4a-7e606c2ef1a2","swagger":"2.0","info":{"contact":{"email":"devmgmt@cisco.com"},"description":"This is the IoT device management core service. The service is responsible for managing the lifecycle of various IoT gateways and endpoints deployed as part of the Field Area Networks","license":{"name":"Licensing is primarily subscription based. Call Andy now!","url":"https://www.cisco.com"},"termsOfService":"http://swagger.io/terms/","title":"IoT Device Lifecycle Management","version":"4.0.0"},"host":"us.ciscoiot.com","basePath":"/nbapi/edm/v1","schemes":["https"],"securityDefinitions":{"bearerAuth":{"description":"This is the bearer Auth token.","in":"header","name":"Authorization","type":"apiKey"}},"security":[{"bearerAuth":[]}],"x-parser-conf":{"apiKeyGenerator":{"$remoteModule":"./config/apikey.js"}}},"spec":{"properties":{"templateId":{"description":"Template identifier","type":"integer"},"templateType":{"description":"Template Type","enum":["CONFIG","EMBEDDED_AP_CONFIG","ROUTER_TUNNEL_ADD","HER_TUNNEL_ADD","HER_TUNNEL_DELETE","FACTORY_CONFIG","ROUTER_TUNNEL_DELETE","GATEWAY_TUNNEL_ADD","GATEWAY_TUNNEL_DELETE"],"example":"FACTORY_CONFIG","type":"string"},"templateValue":{"description":"Template Value (CLI or Freemarker template)","example":"\u003c#-- Default BootStrap Configuration --\u003e\n\u003c#if far.isRunningIos()\u003e\n \u003c#assign sublist = far.eid?split(\"+\")[0..1]\u003e\n \u003c#assign pid = sublist[0]\u003e\n \u003c#assign model = pid[0..4]\u003e\n\u003c#if isRollbackConfig?has_content && isRollbackConfig == true\u003e\n event manager applet iotocrollback\n event timer countdown time 5 maxrun 99\n action 1 cli command \"enable\"\n ....","type":"string"}},"required":["templateType","templateValue"],"type":"object","title":"UpdateTemplatesRequestItem"}}