{"type":"api","title":"Get Device Running images","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/6a2ef59a-ba2d-3415-a824-195345c9d1ae","info":{"contact":{"email":"support@cisco.com","name":"Crosswork Team, Cisco"},"description":"Software Images APIs allow the user to perform CRUD operations on SWIM service.","license":{"name":"Cisco Software License Agreement","url":"http://www.cisco.com/public/sw-license-agreement.html"},"title":"APIs exposed by SWIM service","version":"1.0.0"},"x-parser-conf":{"overview":{"markdownPath":"reference/EMF/swim-api-overview.md"}},"openapi":"3.0.0","servers":[{"url":"https://{server_ip}:30603/crosswork/swim/{version}","variables":{"version":{"description":"API version","default":"v1"}}}]},"spec":{"parameters":[{"description":"Device Id","in":"path","name":"deviceId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Running software image DTO list wrapper","properties":{"runningSoftwareImageDTOList":{"description":"Running software image DTO list","properties":{"id":{"description":"Id","example":"11111","type":"string"},"items":{"description":"Items","items":{"description":"Running software image DTO","properties":{"associatedDeviceList":{"description":"Associated device list","items":{"description":"Device info DTO","properties":{"deviceIp":{"description":"Device IP","example":"1.1.1.1","type":"string"},"deviceName":{"description":"Device name","example":"NCS4K-A2","type":"string"},"mneId":{"description":"Mne ID","example":"442445","type":"string"},"owningEntityId":{"description":"Owning Entity ID","example":"439442_10.104.120.236","type":"string"},"softwareVersion":{"description":"Software version","example":"7.12.1","type":"string"}},"type":"object","$$ref":"#/components/schemas/DeviceInfoDTO"},"type":"array"},"currentReleaseToRetry":{"description":"Current release to retry","example":"","type":"string"},"deviceFamily":{"description":"Device family","example":"NCS4K","type":"string"},"deviceId":{"description":"Device Id","example":"11111","type":"string"},"deviceName":{"description":"Device name","example":"NCS4K-A2","type":"string"},"encryptionSoftwareIndicator":{"description":"Encryption software indicator","example":"","type":"string"},"features":{"description":"Features","example":"","type":"string"},"imageChecksums":{"description":"Image checksums","example":"","type":"string"},"imageFamily":{"description":"Image family","example":"NCS4K","type":"string"},"imageFileName":{"description":"Image filename","example":"imageName","type":"string"},"imageGuid":{"description":"Image GUID","example":"","type":"string"},"imageName":{"description":"Image name","example":"imageName","type":"string"},"imageType":{"description":"Image type","example":"","type":"string"},"inRepository":{"description":"In repository","example":"","type":"string"},"installableStatus":{"description":"Installable status","example":"","type":"string"},"installableType":{"description":"Installable type","example":"","type":"string"},"installedLocation":{"description":"Installed location","example":"","type":"string"},"ipAddress":{"description":"IP Address","example":"","type":"string"},"mdfId":{"description":"MDF ID","example":"","type":"string"},"metadataTransId":{"description":"Metadata trans Id","example":"","type":"string"},"packageType":{"description":"Package type","example":"","type":"string"},"result":{"description":"Result","example":"","type":"string"},"size":{"description":"Size","example":"","type":"string"},"softwareType":{"description":"Software type","example":"","type":"string"},"softwareTypeId":{"description":"Software type Id","example":"","type":"string"},"udi":{"description":"UDI","example":"","type":"string"},"version":{"description":"Version","example":"","type":"string"}},"type":"object","$$ref":"#/components/schemas/RunningSoftwareImageDTO"},"type":"array"},"resultErrMsg":{"description":"Result Error Message","example":"Error","type":"string"},"totalCount":{"description":"Total count","example":1,"format":"int64","type":"integer"}},"type":"object","$$ref":"#/components/schemas/RunningSoftwareImageDTOList"}},"type":"object","$$ref":"#/components/schemas/RunningSoftwareImageDTOListWrapper"},"example":{"runningSoftwareImageDTOList":{"id":"460460","totalCount":18,"resultErrMsg":"Success","items":[{"deviceId":"460460","deviceName":"ncs540-120.145","imageFileName":"ncs540-xr-24.2.1","imageName":"ncs540-xr-24.2.1","features":"XR","imageFamily":"NCS540","imageType":"XR type","version":"24.2.1","size":"0","installableStatus":"ACTIVE","installedLocation":"disk0"}]}}}},"description":"OK"},"400":{"description":"Bad Request - Invalid request"},"500":{"description":"Internal Server Error - operation-failed"}},"tags":["Operation APIs"],"operationId":"getDeviceRunningImages_1","summary":"Get Device Running images.","__originalOperationId":"getDeviceRunningImages_1","method":"get","path":"/device/{deviceId}/running-image"}}