{"type":"api","title":"Sync CCO Catalog","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-2/76fd4bb9d069fd2530d7a02f0b3a4ca00eccfd35/f09e2906-53c8-3d4a-b731-512c8b9bc971","info":{"title":"Crosswork Workflow Manager Solutions - Image Repository","description":"The Image Repository APIs enable users to efficiently browse synchronized SMU and image data, assemble device-release lists, and download required files directly from CCO. This functionality streamlines the process of selecting optimal and feature-specific images and SMUs for various device releases.\n\nKey capabilities include browsing synchronized SMU/image information, assembling different types of device-release lists, and downloading selected images and SMUs. Users can leverage multiple filters to navigate the local repository, upload images, view metadata, and build IOS XR GISO images from stored ISO and SMUs.\n\nAdditionally, the APIs support synchronization with CCO catalogs, ensuring the local repository remains updated with the latest images and SMUs from Cisco.com. This helps maintain an up-to-date environment for image management and deployment.","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.2.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":"Sync CCO Catalog","description":"Sync CCO Catalog, only single Sync operation will be running at a time","operationId":"syncCCOCatalog","requestBody":{"description":"Filters","content":{"application/json":{"schema":{"required":["imagePlatform","productSeries","vendor"],"type":"object","properties":{"imagePlatform":{"type":"string","description":"Image Platform or Software Type","example":"IOS XR"},"imageVersion":{"type":"string","description":"Image Version, mandatory for Non Cisco Images","example":"24.2.11"},"productSeries":{"type":"string","description":"Full Product Series of the image","example":"Cisco 8000 Series Routers"},"vendor":{"type":"string","description":"Vendor of the image","example":"Cisco Systems"}},"description":"Image Metadata","$$ref":"#/components/schemas/ImageMetadata"}}},"required":false},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"HTTP Status Code","example":200},"message":{"type":"string","description":"Message","example":"OK"},"status":{"type":"string","description":"Status","example":"Success"}},"description":"Success Response","$$ref":"#/components/schemas/StatusOK"}}}},"400":{"description":"Bad Data","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"HTTP Status Code","example":400},"message":{"type":"string","description":"Message","example":"Bad Request"},"status":{"type":"string","description":"Status","example":"Failed"}},"description":"Bad or Missing Data Response","$$ref":"#/components/schemas/StatusBadRequest"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error Message","example":"Forbidden"}},"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","example":"Not Acceptable"},"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","example":"Internal Server Error"},"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","example":"Service Unavailable"},"status":{"type":"string","description":"Status","example":"Failed"}},"description":"Maintenance Mode Response","$$ref":"#/components/schemas/StatusServiceUnavailable"}}}}},"security":[{"BearerAuth":[]}],"x-codegen-request-body-name":"filters","__originalOperationId":"syncCCOCatalog","method":"post","path":"/cco/catalog/sync"}}