{"type":"api","title":"Download-configuration-file, used from UI/NBI to Config-service","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/dde5e726-00af-392c-8b10-177b4e676897","info":{"title":"Crosswork ZTP Configuration Service API","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"},"description":"This document explains the Crosswork REST APIs that you can use to manage configuration files for Zero Touch Provisioning (ZTP) devices."},"security":[{"bearerAuth":[]}],"tags":[{"name":"Device Platform APIs","description":"List of Device Platform APIs."},{"name":"Config APIs","description":"List of Config APIs."}],"x-parser-conf":{"overview":{"markdownPath":"reference/EMF/ztp-config-service-deprecated-api-overview.md"}},"openapi":"3.0.1","servers":[{"url":"/crosswork/configsvc/v1"}],"securitySchemes":{"bearerAuth":{"description":"Security definitions details.","in":"header","name":"Authorization","type":"apiKey"}}},"spec":{"parameters":[{"description":"Config Id","in":"path","name":"confId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"text/plain":{"schema":{"type":"string","format":"binary","example":"sample-string"}}},"description":"OK. The request was successful. The result is contained in the response body."},"401":{"description":"Unauthorized. The request has not been applied because it lacks valid authentication credentials for the target resource."},"403":{"description":"Forbidden. The server recognizes the authentication credentials, but the client is not authorized to perform this request."},"404":{"description":"Not Found. The client made a request for a resource that does not exist."}},"tags":["Config APIs"],"operationId":"downloadConfigUsingGET","deprecated":true,"summary":"Download-configuration-file, used from UI/NBI to Config-service","description":"This API downloads a configuration file. It takes the config. id. as input. This API is meant to be used from UI/NBI to Config service.","__originalOperationId":"downloadConfigUsingGET","security":[{"bearerAuth":[]}],"method":"get","path":"/configs/files/{confId}"}}