{"type":"api","title":"Get Backup Config 1","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/fb8fa52d-5ca2-302d-93e5-1ac0c5b12b91","info":{"title":"Device Configuration Backup History API","description":"Device Configuration Backup History 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-backup-history-api-overview.md"}},"openapi":"3.1.0","servers":[{"url":"https://{server-ip}:30603/crosswork/config/v1","description":"Generated server url"}]},"spec":{"tags":["Device Backup & Restore API"],"operationId":"getBackupConfig_1","parameters":[{"description":"Device Uuid to be retrieved","name":"device_uuid","in":"path","required":true,"schema":{"type":"string"},"example":"06d9776a-5497-49d4-a9cf-7b2ecb24e955"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"description":"BackedupConfigList","type":"object","properties":{"backup_config":{"description":"Backup Config List","type":"array","items":{"description":"Backedup Config","type":"object","properties":{"file_count":{"description":"File Count","type":"integer","format":"int32"},"tag_count":{"description":"Tag Count","type":"integer","format":"int32"},"status_value":{"description":"Status Value","type":"integer","format":"int32"},"trigger_value":{"description":"Trigger Value","type":"integer","format":"int32"},"compliance_status_value":{"description":"Compliance Status Value","type":"integer","format":"int32"},"backup_attempted_at":{"description":"Backup Attempted At","format":"date-time","type":"string"},"compliance_status":{"description":"Compliance Status","type":"string","enum":["COMPLIANT","NON_COMPLIANT","UNRECOGNIZED"]},"backedup_at":{"description":"Backedup At","format":"date-time","type":"string"},"tag":{"description":"Tag List","type":"array","properties":{"empty":{"description":"Empty","type":"boolean"}},"items":{"type":"string"}},"created_by":{"description":"Created By","type":"string"},"pinned":{"description":"Pinned","type":"boolean"},"notes":{"description":"Notes","type":"string"},"device_uuid":{"description":"Device Uuid","type":"string"},"file":{"description":"FileList","type":"array","items":{"description":"ConfigFile","type":"object","properties":{"type_value":{"description":"Type Value","type":"integer","format":"int32"},"config":{"description":"Config","type":"string"},"type":{"description":"Type","type":"string","enum":["RUNNINGCONFIG","STARTUPCONFIG","ADMINCONFIG","VLAN","MODULECONFIG","DATABASE","UNRECOGNIZED"]},"file_name":{"description":"File Name","type":"string"}},"$$ref":"#/components/schemas/ConfigFile"}},"trigger":{"description":"Trigger","type":"string","enum":["SCHEDULED_JOB","DEVICE_ADD","CONFIG_CHANGE","UNRECOGNIZED"]},"status":{"description":"Status","type":"string","enum":["UNKNOWN","SUCCESS","FAILED","UNRECOGNIZED"]},"name":{"description":"Name","type":"string"},"result":{"description":"Result","type":"string"}},"$$ref":"#/components/schemas/BackedupConfig"}}},"$$ref":"#/components/schemas/BackedupConfigList"},"example":{"backup_config":[{"name":"Initial_Version","device_uuid":"dfe5806b-9de3-4fec-9cca-e7e3170a0326","file":[],"backedup_at":"2025-01-22T12:24:45Z","status":"SUCCESS","tag":[],"pinned":false,"trigger":"DEVICE_ADD","result":"Backup by DEVICE_ADD","notes":"","created_by":"","complianceStatus":"COMPLIANT"}]}}}},"403":{"description":"Forbidden. The server recognizes the authentication credentials, but the client is not authorized to perform this request."}},"method":"get","path":"/config-backup/{device_uuid}"}}