{"type":"api","title":"Get ems features state","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/1c070d4e-8870-3df3-a541-e46a890a47cb","info":{"title":"Crosswork Workflow Manager Solutions - Inventory","description":"Inventory component addresses the need where we require device details like device name, IP, hostname, Software Type, installed packages.\nFor collecting the required device details, Inventory performs the minimal device data collection using the inventory package in NSO.","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"},"version":"7.1.0"},"x-parser-conf":{"overview":{"markdownPath":"reference/CWM-SOLUTIONS/inventory-api.overview.md"}},"openapi":"3.0.1","servers":[{"url":"https://crosswork-ip:30603/crosswork/cwms/inventory/v1"}],"securitySchemes":{"Bearer":{"type":"apiKey","description":"Type \"Bearer\" followed by a space and JWT token.","name":"Authorization","in":"header"}}},"spec":{"tags":["Inventory"],"summary":"Get ems features state","description":"Retrieves EMS data of device by its uuid and feature_name. List of feature_name: FEATURE_IMAGE_IOS, FEATURE_IMAGE_IOS, FEATURE_SWIM_CAPABILITY, FEATURE_IMAGE_IOS.","operationId":"fetchEMSInfo","parameters":[{"name":"uuid","in":"query","description":"Device uuid","required":true,"schema":{"type":"string"}},{"name":"feature_name","in":"query","description":"EMS Feature name","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"XML data","content":{"application/json":{"schema":{"type":"string"}},"application/xml":{"schema":{"type":"string"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"data":{"type":"string"},"message":{"type":"string"},"severity":{"type":"string","enum":["warning","critical","fatal"],"x-enum-varnames":["Warning","Critical","Fatal"],"$$ref":"#/components/schemas/messaging.SeverityLevel"}},"$$ref":"#/components/schemas/messaging.RobotError"}},"application/xml":{"schema":{"type":"object","properties":{"code":{"type":"string"},"data":{"type":"string"},"message":{"type":"string"},"severity":{"type":"string","enum":["warning","critical","fatal"],"x-enum-varnames":["Warning","Critical","Fatal"],"$$ref":"#/components/schemas/messaging.SeverityLevel"}},"$$ref":"#/components/schemas/messaging.RobotError"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"data":{"type":"string"},"message":{"type":"string"},"severity":{"type":"string","enum":["warning","critical","fatal"],"x-enum-varnames":["Warning","Critical","Fatal"],"$$ref":"#/components/schemas/messaging.SeverityLevel"}},"$$ref":"#/components/schemas/messaging.RobotError"}},"application/xml":{"schema":{"type":"object","properties":{"code":{"type":"string"},"data":{"type":"string"},"message":{"type":"string"},"severity":{"type":"string","enum":["warning","critical","fatal"],"x-enum-varnames":["Warning","Critical","Fatal"],"$$ref":"#/components/schemas/messaging.SeverityLevel"}},"$$ref":"#/components/schemas/messaging.RobotError"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"data":{"type":"string"},"message":{"type":"string"},"severity":{"type":"string","enum":["warning","critical","fatal"],"x-enum-varnames":["Warning","Critical","Fatal"],"$$ref":"#/components/schemas/messaging.SeverityLevel"}},"$$ref":"#/components/schemas/messaging.RobotError"}},"application/xml":{"schema":{"type":"object","properties":{"code":{"type":"string"},"data":{"type":"string"},"message":{"type":"string"},"severity":{"type":"string","enum":["warning","critical","fatal"],"x-enum-varnames":["Warning","Critical","Fatal"],"$$ref":"#/components/schemas/messaging.SeverityLevel"}},"$$ref":"#/components/schemas/messaging.RobotError"}}}}},"__originalOperationId":"fetchEMSInfo","method":"get","path":"/info/ems"}}