{"type":"api","title":"Get Report Device","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/6caa8081-e6ba-312b-ae5a-89988569dbc0","info":{"title":"Crosswork Workflow Manager Solutions - Fleetupgrade","description":"Software Conformance in the Fleetupgrade application helps users identify network devices that don't meet required software image policies. Users can create image policy from the Image repository to suit device functions or locations. These policy act as benchmarks for verifying software compliance, ensuring devices run the appropriate software. Verification can be done once or regularly, and non-compliant devices can be upgraded to meet the policy standards.\nFleetupgrade SoftwareUpdate facilitates automated upgrade installations, allowing you to choose the Method of Procedure (MOP) for your installation. Additionally, you can customize execution variables such as the job name and execution schedule. CWMS Fleetupgrade offers prebuilt MOPs to efficiently carry out all upgrade tasks.","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/fleetupgrade-api.overview.md"}},"openapi":"3.0.1","servers":[{"url":"https://crosswork-ip:30603/crosswork/cwms/fleetupgrade/v1"}],"securitySchemes":{"Bearer":{"type":"apiKey","description":"Type \"Bearer\" followed by a space and JWT token.","name":"Authorization","in":"header"}}},"spec":{"tags":["Conformance Report"],"summary":"Get Report Device","description":"API to retrieve the device result associated with the conformance report.","operationId":"GetReportDeviceResult","parameters":[{"name":"key","in":"path","description":"Report Key","required":true,"schema":{"type":"integer"}},{"name":"device","in":"path","description":"Device","required":true,"schema":{"type":"string"}},{"name":"datetime","in":"query","description":"Datetime","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"device":{"type":"string","description":"Device is the name or identifier of the device."},"installedPkgs":{"type":"array","description":"InstalledPkgs is the list of packages that are installed on the device.","items":{"type":"string"}},"message":{"type":"string","description":"Message provides additional information about the device status."},"missingPkgs":{"type":"array","description":"MissingPkgs is the list of packages that are missing on the device.","items":{"type":"string"}},"status":{"type":"string","description":"Status is the conformance status of the device."},"uuid":{"type":"string","description":"UUID is the unique identifier for the device."}},"description":"ReportDeviceDetails represents the details of a device in the report. This struct is used to define the details of the device conformance results.","$$ref":"#/components/schemas/models.ReportDeviceDetails"}}}},"204":{"description":"No Content","content":{"application/json":{"schema":{"type":"string"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"Code is the HTTP status code of the response.","example":400},"key":{"type":"integer","description":"ID is an optional key associated with the response.","example":1},"message":{"type":"string","description":"Message provides additional information about the response.","example":"Bad request"},"status":{"type":"string","description":"Status indicates the status of the response.","example":"Failed"}},"description":"Response400 represents a failed response with status code 400.","$$ref":"#/components/schemas/models.Response400"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"Code is the HTTP status code of the response.","example":401},"key":{"type":"integer","description":"ID is an optional key associated with the response.","example":1},"message":{"type":"string","description":"Message provides additional information about the response.","example":"Unauthorized"},"status":{"type":"string","description":"Status indicates the status of the response.","example":"Failed"}},"description":"Response401 represents a failed response with status code 401.","$$ref":"#/components/schemas/models.Response401"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"Code is the HTTP status code of the response.","example":404},"key":{"type":"integer","description":"ID is an optional key associated with the response.","example":1},"message":{"type":"string","description":"Message provides additional information about the response.","example":"Resource not found"},"status":{"type":"string","description":"Status indicates the status of the response.","example":"Failed"}},"description":"Response404 represents a failed response with status code 404.","$$ref":"#/components/schemas/models.Response404"}}}},"406":{"description":"Not Acceptable","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"Code is the HTTP status code of the response.","example":406},"key":{"type":"integer","description":"ID is an optional key associated with the response.","example":1},"message":{"type":"string","description":"Message provides additional information about the response.","example":"Not Acceptable"},"status":{"type":"string","description":"Status indicates the status of the response.","example":"Failed"}},"description":"Response406 represents a failed response with status code 406.","$$ref":"#/components/schemas/models.Response406"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"Code is the HTTP status code of the response.","example":500},"key":{"type":"integer","description":"ID is an optional key associated with the response.","example":1},"message":{"type":"string","description":"Message provides additional information about the response.","example":"Internal server error"},"status":{"type":"string","description":"Status indicates the status of the response.","example":"Failed"}},"description":"Response500 represents a failed response with status code 500.","$$ref":"#/components/schemas/models.Response500"}}}}},"__originalOperationId":"GetReportDeviceResult","method":"get","path":"/conformance/report/{key}/devices/{device}"}}