{"type":"api","title":"Get tasks of a backup/restore job","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/e48c8a9a-1f0a-35b4-9617-f132aa89f152","info":{"title":"Crosswork Backup Restore Manager API","description":"Backup Restore Manager provides API methods for backup and restore operations on Crosswork. This includes backup, data only backup, restore, data only restore and migration.","version":"3.0.0","contact":{"name":"Crosswork Team, Cisco","email":"support@cisco.com"},"license":{"name":"Cisco Software License Agreement","url":"https://www.cisco.com/public/sw-license-agreement.html"}},"x-parser-conf":{"overview":{"markdownPath":"reference/INFRA/BACKUP_RESTORE/backup-restore-v1-overview.md"}},"swagger":"2.0","basePath":"/crosswork/platform/v1","securityDefinitions":{"api_key":{"description":"security definitions details","type":"apiKey","name":"Authorization","in":"header"}}},"spec":{"summary":"Get tasks of a backup/restore job","description":"Retrieves detailed information about individual tasks that comprise a backup or restore job. Each job is broken down into multiple tasks, and this endpoint provides visibility into the execution status, timing, and progress of each task within the specified job.","operationId":"BackupServices_RequestTasksBackupRestore","responses":{"200":{"description":"A successful response.","schema":{"type":"object","description":"Response containing a list of tasks associated with a backup or restore job","properties":{"tasks":{"type":"array","description":"Array of task information objects","items":{"type":"object","description":"Individual task information with execution details and status within a job","properties":{"taskId":{"type":"string","description":"Unique identifier for the task"},"taskName":{"type":"string","description":"Name of the task"},"jobId":{"type":"string","description":"ID of the job this task belongs to"},"timeInitiated":{"type":"string","description":"Timestamp when the task was initiated"},"timeCompleted":{"type":"string","description":"Timestamp when the task was completed"},"status":{"type":"string","description":"Current status of the task"}},"example":{"taskId":"8d13df51-4505-4ffc-b794-3e5a2e2f3324","taskName":"createDirectories","jobId":"1a6a2734-6c6f-49b6-a7b2-bfe7adb3606c","timeInitiated":"2025-05-16T03:32:44-07:00","timeCompleted":"2025-05-16T03:32:44-07:00","status":"Completed"},"$$ref":"#/definitions/backupGetTaskResult"}}},"example":{"tasks":[{"taskId":"8d13df51-4505-4ffc-b794-3e5a2e2f3324","taskName":"createDirectories","jobId":"1a6a2734-6c6f-49b6-a7b2-bfe7adb3606c","timeInitiated":"2025-05-16T03:32:44-07:00","timeCompleted":"2025-05-16T03:32:44-07:00","status":"Completed"}]},"$$ref":"#/definitions/backupGetTasksResult"}},"default":{"description":"An unexpected error response.","schema":{"type":"object","description":"Standard error response containing detailed error information","properties":{"error":{"type":"string","description":"Error message"},"code":{"type":"integer","format":"int32","description":"Error code"},"message":{"type":"string","description":"Detailed error message"},"details":{"type":"array","description":"Additional error details","items":{"type":"object","description":"Protocol Buffers Any message type for containing arbitrary serialized messages","properties":{"type_url":{"type":"string","description":"Type URL that identifies the message type"},"value":{"type":"string","format":"byte","description":"Serialized message value"}},"example":{"type_url":"type.googleapis.com/error.details","value":"CgVoZWxsbw=="},"$$ref":"#/definitions/protobufAny"}}},"example":{"error":"","code":13,"message":"failed to marshal error message","details":[]},"$$ref":"#/definitions/runtimeError"}}},"parameters":[{"description":"Get tasks of a backup or restore job","name":"jobId","in":"path","required":true,"type":"string"}],"tags":["BackupServices"],"__originalOperationId":"BackupServices_RequestTasksBackupRestore","consumes":["application/json"],"produces":["application/json"],"method":"get","path":"/platform/backup/get/tasks/{jobId}"}}