{"type":"model","meta":{"id":"/apps/pubhub/media/nexus-dashboard-api-v1/86cc2501c92a7370499e3d537496e5c722396afb/abd43f69-5bcb-353b-b9fa-96dd0ada6dd7","info":{"contact":{"name":"API Support","url":"https://devnetapps.cisco.com/docs/nexus-dashboard/api-v1/developer-support/"},"title":"Nexus Dashboard API","description":"APIs for platform operations on Nexus Dashboard","version":"4.2.1"},"x-parser-conf":{"overview":{"markdownPath":"reference/overview-legacy-nd.md"},"labelConfig":{"endpoint":{"field":"operationId","format":"startCase"}}},"openapi":"3.0.2","servers":[{"url":"/"}]},"spec":{"type":"object","properties":{"id":{"type":"string","description":"internal operation id"},"operation":{"type":"string","description":"Type of operation","enum":["none","backup","restore"]},"state":{"type":"string","description":"Current state of the operation","enum":["idle","downloading","ready","processing","complete","error","validationError"]},"error":{"type":"string","description":"Error occurred during the operation"},"restoreConfig":{"type":"object","description":"Configuration used for restore operations","properties":{"type":{"type":"string","description":"Operation type","enum":["config-only","full"],"$$ref":"#/components/schemas/br_type"},"services":{"type":"array","description":"Running services","items":{"type":"string"}},"source":{"type":"string","description":"remote location where backup file is stored. Empty for local backups"},"path":{"type":"string","description":"File path to import from the remote location or file name imported via /api/action/class/backuprestore/file-upload"}}},"details":{"type":"object","description":"Backup/Restore operation details","properties":{"progress":{"type":"integer","description":"Overall progress","minimum":0,"maximum":100},"progressMsg":{"type":"string","description":"Overall progress message"},"serviceDetails":{"type":"object","additionalProperties":{"type":"object","description":"Service details","properties":{"progress":{"type":"integer","description":"Overall service progress","minimum":0,"maximum":100},"details":{"type":"array","description":"Service-specific details","items":{"type":"object","properties":{"name":{"type":"string","description":"Task name"},"timeout":{"type":"integer","description":"Overall timeout in seconds"},"progressWeight":{"type":"integer","description":"Progress weight of task in overall context."},"currentProgress":{"type":"integer","description":"Current progress for this task","minimum":0,"maximum":100},"failureReason":{"type":"string","description":"Failure reason if the operation failed for some reason"},"successMessage":{"type":"string","description":"Additional success message for users"}},"$$ref":"#/components/schemas/br_status_service_details_items"}}},"$$ref":"#/components/schemas/br_status_service_details"}}},"$$ref":"#/components/schemas/br_status_details"}},"$$ref":"#/components/schemas/br_status","title":"br_status"}}