{"type":"api","title":"Current Device Config","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/7d836703-14a3-32cb-ad8e-6816d26ee7c8","info":{"title":"Device Configuration Deployments API","description":"Device Configuration Deployments API","version":"1.0.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"}},"x-parser-conf":{"overview":{"markdownPath":"reference/EMF/Device Configuration/device-config-deployments-api-overview.md"}},"openapi":"3.1.0","servers":[{"url":"https://{server-ip}:30603/crosswork/config/v1/templates","description":"Generated server url"}]},"spec":{"tags":["Template API"],"operationId":"currentDeviceConfig","parameters":[{"description":"Device Id","name":"device_id","in":"query","required":true,"schema":{"type":"string"}},{"description":"Command to be executed","name":"command","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"result_config":{"type":"string","description":"Result Config"}}},"example":{"result_config":"show version output"}}}},"403":{"description":"Forbidden. The server recognizes the authentication credentials, but the client is not authorized to perform this request."}},"method":"get","path":"/current-device-config"}}