{"type":"api","title":"Download custom CLI or SNMP package files","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/e710988f-f568-330e-9d5d-91ddcea98001","info":{"title":"Crosswork Data Gateway Custom Software API","description":"APIs to support Cisco Crosswork Data Gateway Management's custom software functionality.","version":"7.1.0","contact":{"name":"Crosswork Team, Cisco","email":"support@cisco.com"},"license":{"name":"Cisco Software License Agreement","url":"http://www.cisco.com/public/sw-license-agreement.html"}},"security":[{"bearerAuth":[]}],"tags":[{"name":"Custome file operations","description":"Get/Set Custom files to CDG"}],"x-parser-conf":{"overview":{"markdownPath":"reference/CDG/cdg_custom_files_api_overview.md"}},"swagger":"2.0","basePath":"/crosswork/dg-manager/v2","schemes":["https"],"securityDefinitions":{"bearerAuth":{"type":"apiKey","name":"Authorization","in":"header","description":"Bearer Auth Token"}}},"spec":{"description":"Downloads the custom packages file to the local host.","summary":"Download custom CLI or SNMP package files","operationId":"DownloadCustom_packages","deprecated":false,"produces":["multipart/form-data"],"consumes":["application/json"],"parameters":[{"name":"download-file","in":"path","required":true,"type":"string","description":"The custom-package file name with extension"}],"responses":{"200":{"description":"OK. The request was successful.","schema":{"title":"DownLoadFilesQuery","example":{"fileName":"cisco-cli-device-packages.tar.xz","modifiedTime":1707116954,"bundleType":"CUSTOM","fileType":"DEVICE_PACKAGE","collectorType":"CLI","notes":"test cli device package","appName":"","downloadUrl":""},"properties":{"fileName":{"type":"string"},"modifiedTime":{"type":"integer"},"bundleType":{"type":"string"},"fileType":{"type":"string"},"collectorType":{"type":"string"},"notes":{"type":"string"},"appName":{"type":"string"},"downloadUrl":{"type":"string"}},"$$ref":"#/definitions/DownLoadFilesQuery"}},"404":{"description":"Not Found. The client made a request for a resource that does not exist."}},"__originalOperationId":"DownloadCustom-packages","security":[{"bearerAuth":[]}],"method":"post","path":"/custom-files/download/{download-file}"}}