Skip to main content

Retrieve particular job details

Contributors

GET /account/{accountId}/providers/cloudmanager_cbs/api/v1/job/{jobId}

Retrieves the details of particular jobs from the BlueXP SaaS application.

Token usage: BlueXP user token.

Parameters

Name Type In Required Description

accountId

string

path

True

jobId

string

path

True

authorization

string

header

True

x-agent-id

string

header

True

Response

Status: 200, Default response
Name Type Required Description

job

array[job]

False

Example response
{
  "job": {
    "status": "PENDING",
    "data": {
      "multi-volume-backup": {
        "volume": {
          "status": "SUCCESS"
        }
      },
      "restore": {
        "batch": {
          "status": "PENDING",
          "file": {
          }
        }
      }
    }
  }
}

Definitions

See Definitions

volume

Name Type Required Description

id

string

False

volume ID

status

string

False

SUCCESS / FAILED status

error

string

False

error message in case of failure

multi-volume-backup

contains individual volume data for multi-volume-backup

Name Type Required Description

volume

array[volume]

False

Array of objects containing volume backup status/error with the volume id

source

Optional object, present only in case of restore operation

Name Type Required Description

working-environment-id

string

False

working-environment-name

string

False

bucket

string

False

volume-id

string

False

volume-name

string

False

snapshot

string

False

target

Optional object, present only in case of restore operation

Name Type Required Description

working-environment-id

string

False

working-environment-name

string

False

svm

string

False

volume-name

string

False

volume-size

number

False

path

string

False

file

Name Type Required Description

inode

number

False

path

string

False

type

string

False

size

number

False

mtime

number

False

batch

Name Type Required Description

id

string

False

status

string

False

error

string

False

time

number

False

file

array[file]

False

restore

contains information about restore job - file and volume restore

Name Type Required Description

type

string

False

type of restore - file / volume

source

source

False

Optional object, present only in case of restore operation

target

target

False

Optional object, present only in case of restore operation

batch

array[batch]

False

Optional array present only in case of restore file operation

data

Optional object present in case of batch / individual operations running inside the main job only

Name Type Required Description

multi-volume-backup

multi-volume-backup

False

contains individual volume data for multi-volume-backup

restore

restore

False

contains information about restore job - file and volume restore

job

Name Type Required Description

id

string

False

working-environment-id

string

False

type

string

False

status

string

False

error

string

False

time

number

False

data

data

False

Optional object present in case of batch / individual operations running inside the main job only