{"type":"api","title":"Update Config Backup","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/a6d9ba0d-8143-3d03-87e8-97847c160b6c","info":{"title":"Device Configuration Backup API","description":"Device Configuration Backup 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-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":"updateConfigBackup","requestBody":{"content":{"application/json":{"schema":{"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"},"example":{"name":"BackupConfig_10.104.120.41_2025-02-11_11:28:43","device_uuid":"42e2e022-69ee-4c96-8a66-1dc7cf0f4381","pinned":true,"notes":"golden"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"string"},"example":"Updated backup BackupConfig_10 .104 .120 .41_2025-02-11_11: 28: 43 for device 42e2 e022-69 ee-4 c96-8 a66-1 dc7cf0f4381"}}},"403":{"description":"Forbidden. The server recognizes the authentication credentials, but the client is not authorized to perform this request."}},"method":"patch","path":"/config-backup"}}