{"type":"api","title":"Get list of CCO images","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/f09e2906-53c8-3d4a-b731-512c8b9bc971","info":{"title":"Crosswork Workflow Manager Solutions - Image Repository","description":"Image Repository component gives ability to browse through the synced data for SMU info for optimal list or feature specific list etc on a device release. Users can also select the necessary SMUs to download the image files from the CCO.\nImage Repository also features a local repository that offers multiple filters for browsing available local images, provides an image upload function, and allows users to view image metadata.","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/repository-api.overview.md"}},"openapi":"3.0.1","servers":[{"url":"https://crosswork-ip:30603/crosswork/cwms/repository/v1"}],"securitySchemes":{"BearerAuth":{"type":"apiKey","description":"Type \"Bearer\" followed by a space and JWT token.","name":"Authorization","in":"header"}}},"spec":{"tags":["Cisco.com"],"summary":"Get list of CCO images","description":"Get list of CCO images","operationId":"getCCOImages","parameters":[{"name":"vendor","in":"query","description":"Vendor Name","schema":{"type":"string"}},{"name":"deviceFamily","in":"query","description":"Device Family","schema":{"type":"string"}},{"name":"productSeries","in":"query","description":"Product Series","schema":{"type":"string"}},{"name":"imageVersion","in":"query","description":"Image Version","schema":{"type":"string"}},{"name":"functionalArea","in":"query","description":"SMU Functional Area","schema":{"type":"string"}},{"name":"impact","in":"query","description":"SMU Impact","schema":{"type":"string"}},{"name":"optimal","in":"query","description":"if =true returns Optimal Images Only","schema":{"type":"string"}},{"name":"pageNumber","in":"query","description":"Pagination Page Number","schema":{"type":"integer"}},{"name":"pageSize","in":"query","description":"Pagination Page Size","schema":{"type":"integer"}}],"responses":{"200":{"description":"Image List","content":{"application/json":{"schema":{"type":"object","properties":{"images":{"type":"array","description":"List of Images","items":{"type":"object","properties":{"createdBy":{"type":"string","description":"CreatedBy is the user who created/synced the record"},"creationDate":{"type":"string","description":"Date when image is created"},"functionalArea":{"type":"string","description":"Functional Area of the image"},"id":{"type":"string","description":"ID of the image"},"imagePlatform":{"type":"string","description":"Image Platform or Software Type"},"imageVersion":{"type":"string","description":"Version of the image"},"impact":{"type":"string","description":"Impact of the image"},"lastUpdatedDate":{"type":"string","description":"Date when image is last updated"},"localImageId":{"type":"string","description":"Reference to the local image"},"name":{"type":"string","description":"Name of the image"},"productSeries":{"type":"string","description":"Product Series of the image"},"productSeriesShort":{"type":"string","description":"Short Name of the Product Series"},"syncDate":{"type":"string","description":"Date when the image was last synced from CCO"},"vendor":{"type":"string","description":"Vendor of the image"}},"description":"Image Object","$$ref":"#/components/schemas/CCOImage"}},"pagination":{"type":"object","properties":{"pageNumber":{"type":"integer","description":"Current Page Number"},"pageSize":{"type":"integer","description":"Number of records per page"},"total":{"type":"integer","description":"Query string `json:\"query,omitempty\" default:\"\"`\nTotal number of records"}},"description":"Pagination","$$ref":"#/components/schemas/Pagination"}},"description":"CCO Image List","$$ref":"#/components/schemas/ImageList"}}}},"204":{"description":"No Content","content":{}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error Message"}},"description":"Forbidden Response","$$ref":"#/components/schemas/StatusForbidden"}}}},"406":{"description":"Not Acceptable","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"HTTP Status Code","example":406},"message":{"type":"string","description":"Message"},"status":{"type":"string","description":"Status","example":"Failed"}},"description":"Request Not Acceptable Response","$$ref":"#/components/schemas/StatusNotAcceptable"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"HTTP Status Code","example":500},"message":{"type":"string","description":"Message"},"status":{"type":"string","description":"Status","example":"Failed"}},"description":"Backend Error Response","$$ref":"#/components/schemas/StatusInternalServerError"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"HTTP Status Code","example":503},"message":{"type":"string","description":"Message"},"status":{"type":"string","description":"Status","example":"Failed"}},"description":"Maintenance Mode Response","$$ref":"#/components/schemas/StatusServiceUnavailable"}}}}},"security":[{"BearerAuth":[]}],"__originalOperationId":"getCCOImages","method":"get","path":"/cco/image"}}