GET /backup_and_restore/haAction/{flag} DEPRECATED

Done an individual HA Action as per passing flag.

Done an individual HA Action by flag.

Table 1. GET /backup_and_restore/haAction/{flag} resource details
MIME Type

application/json

Table 2. GET /backup_and_restore/haAction/{flag} request parameter details
Parameter Type Optionality Data Type MIME Type Description

flag

path

Required

String

text/plain

Required. The Action for the HA will be perform as per flag.

fields

query

Optional

String

text/plain

Optional - Use this parameter to specify which fields you would like to get back in the response. Fields that are not named are excluded. Specify subfields in brackets and multiple fields in the same object are separated by commas.

Table 3. GET /backup_and_restore/haAction/{flag} response codes
HTTP Response Code Unique Code Description

200

The restore was retrieved.

404

1001

The restore does not exist.

500

1000

An error occurred during the attempt to retrieve the restore.

Response Description

A result RestoreDTO.

Response Sample


{
    "backup_filename": "String",
    "backup_id": 42,
    "backup_name": "String",
    "backup_type": "String",
    "backup_version": "String",
    "groups": [
        "String"
    ],
    "host_id": 42,
    "id": 42,
    "initiated_by": "String",
    "is_cross_deployment_restore": true,
    "status": "String",
    "time_completed": 42,
    "time_initiated": 42
}