Vesta Backup

verification

Vesta API · 6.0.77 · Community

GET/api/v1/backups/{backup_id}/verificationsList Backup Verifications

List verification history for a backup

Parameters

backup_id · path · Required

{
  "title": "Backup Id",
  "type": "string"
}

Authentication

Responses

200

Successful response; resource state is separate from HTTP acceptance.

application/json

Schema
{
  "items": {
    "additionalProperties": false,
    "properties": {
      "cancel_requested": {
        "type": "boolean"
      },
      "completed_at": {
        "anyOf": [
          {
            "format": "date-time",
            "type": "string"
          },
          {
            "type": "null"
          }
        ]
      },
      "created_at": {
        "anyOf": [
          {
            "format": "date-time",
            "type": "string"
          },
          {
            "type": "null"
          }
        ]
      },
      "created_by": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ]
      },
      "id": {
        "type": "string"
      },
      "read_attempts": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ]
      },
      "read_limit": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ]
      },
      "recorded_status": {
        "type": "string"
      },
      "result_message": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ]
      },
      "started_at": {
        "anyOf": [
          {
            "format": "date-time",
            "type": "string"
          },
          {
            "type": "null"
          }
        ]
      },
      "status": {
        "type": "string"
      },
      "verification_type": {
        "type": "string"
      }
    },
    "required": [
      "id",
      "status",
      "recorded_status",
      "created_by",
      "read_attempts",
      "read_limit",
      "cancel_requested",
      "result_message",
      "verification_type",
      "started_at",
      "completed_at",
      "created_at"
    ],
    "type": "object"
  },
  "type": "array"
}

401

Bearer absent, invalid, disabled, stale or organization unavailable

Headers
{
  "WWW-Authenticate": {
    "schema": {
      "type": "string"
    }
  }
}

application/json

Schema
{
  "anyOf": [
    {
      "additionalProperties": false,
      "properties": {
        "detail": {
          "type": "string"
        }
      },
      "required": [
        "detail"
      ],
      "type": "object"
    },
    {
      "additionalProperties": false,
      "properties": {
        "detail": {
          "const": "Invalid tenant credentials",
          "type": "string"
        }
      },
      "required": [
        "detail"
      ],
      "type": "object"
    }
  ]
}

403

Only in demo deployment mode: ordinary API surface is denied before handlers

Headers
{
  "X-Vnbui-Environment": {
    "schema": {
      "type": "string"
    }
  },
  "X-Vnbui-Simulated": {
    "schema": {
      "type": "string"
    }
  }
}

application/json

Schema
{
  "additionalProperties": false,
  "properties": {
    "detail": {
      "additionalProperties": false,
      "properties": {
        "code": {
          "const": "DEMO_POLICY_DENIED",
          "type": "string"
        },
        "message": {
          "type": "string"
        }
      },
      "required": [
        "code",
        "message"
      ],
      "type": "object"
    },
    "environment": {
      "const": "demo",
      "type": "string"
    },
    "simulated": {
      "const": true,
      "type": "boolean"
    }
  },
  "required": [
    "detail",
    "environment",
    "simulated"
  ],
  "type": "object"
}

404

Request refused or failed

application/json

Schema
{
  "additionalProperties": false,
  "properties": {
    "detail": {
      "type": "string"
    }
  },
  "required": [
    "detail"
  ],
  "type": "object"
}

422

Validation Error

application/json

Schema

HTTPValidationError

500

Unhandled exception outside route-level conversion; body is plain text

text/plain

Schema
{
  "const": "Internal Server Error",
  "type": "string"
}

POST/api/v1/backups/{backup_id}/verifyVerify Backup

Admit original-ID read-only work; an acknowledgement is never proof.

Parameters

backup_id · path · Required

{
  "title": "Backup Id",
  "type": "string"
}

Request body

Required

application/json

Schema

VerificationCommand

Authentication

Responses

202

Successful response; resource state is separate from HTTP acceptance.

application/json

Schema
{
  "additionalProperties": false,
  "properties": {
    "backup_id": {
      "type": "string"
    },
    "cancel_requested": {
      "type": "boolean"
    },
    "created_by": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "id": {
      "type": "string"
    },
    "read_attempts": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ]
    },
    "read_limit": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ]
    },
    "recorded_status": {
      "type": "string"
    },
    "result_message": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "status": {
      "type": "string"
    },
    "verification_type": {
      "type": "string"
    }
  },
  "required": [
    "id",
    "backup_id",
    "status",
    "recorded_status",
    "created_by",
    "read_attempts",
    "read_limit",
    "cancel_requested",
    "result_message"
  ],
  "type": "object"
}

400

Request refused or failed

application/json

Schema
{
  "additionalProperties": false,
  "properties": {
    "detail": {
      "type": "string"
    }
  },
  "required": [
    "detail"
  ],
  "type": "object"
}

401

Bearer absent, invalid, disabled, stale or organization unavailable

Headers
{
  "WWW-Authenticate": {
    "schema": {
      "type": "string"
    }
  }
}

application/json

Schema
{
  "anyOf": [
    {
      "additionalProperties": false,
      "properties": {
        "detail": {
          "type": "string"
        }
      },
      "required": [
        "detail"
      ],
      "type": "object"
    },
    {
      "additionalProperties": false,
      "properties": {
        "detail": {
          "const": "Invalid tenant credentials",
          "type": "string"
        }
      },
      "required": [
        "detail"
      ],
      "type": "object"
    }
  ]
}

403

Persisted identity lacks required role or installation/platform authority

Headers
{
  "X-Vnbui-Environment": {
    "schema": {
      "type": "string"
    }
  },
  "X-Vnbui-Simulated": {
    "schema": {
      "type": "string"
    }
  }
}

application/json

Schema
{
  "anyOf": [
    {
      "additionalProperties": false,
      "properties": {
        "detail": {
          "type": "string"
        }
      },
      "required": [
        "detail"
      ],
      "type": "object"
    },
    {
      "additionalProperties": false,
      "properties": {
        "detail": {
          "additionalProperties": false,
          "properties": {
            "code": {
              "const": "DEMO_POLICY_DENIED",
              "type": "string"
            },
            "message": {
              "type": "string"
            }
          },
          "required": [
            "code",
            "message"
          ],
          "type": "object"
        },
        "environment": {
          "const": "demo",
          "type": "string"
        },
        "simulated": {
          "const": true,
          "type": "boolean"
        }
      },
      "required": [
        "detail",
        "environment",
        "simulated"
      ],
      "type": "object"
    }
  ]
}

404

Request refused or failed

application/json

Schema
{
  "additionalProperties": false,
  "properties": {
    "detail": {
      "type": "string"
    }
  },
  "required": [
    "detail"
  ],
  "type": "object"
}

409

Request refused or failed

application/json

Schema
{
  "additionalProperties": false,
  "properties": {
    "detail": {
      "type": "string"
    }
  },
  "required": [
    "detail"
  ],
  "type": "object"
}

422

Validation Error

application/json

Schema

HTTPValidationError

500

Unhandled exception outside route-level conversion; body is plain text

text/plain

Schema
{
  "const": "Internal Server Error",
  "type": "string"
}

GET/api/v1/verificationsList All Verifications

List all verification records

Parameters

skip · query · Optional

{
  "default": 0,
  "minimum": 0,
  "title": "Skip",
  "type": "integer"
}

limit · query · Optional

{
  "default": 50,
  "maximum": 200,
  "minimum": 1,
  "title": "Limit",
  "type": "integer"
}

status · query · Optional

{
  "anyOf": [
    {
      "type": "string"
    },
    {
      "type": "null"
    }
  ],
  "title": "Status"
}

Authentication

Responses

200

Successful response; resource state is separate from HTTP acceptance.

application/json

Schema
{
  "additionalProperties": false,
  "properties": {
    "items": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "backup_id": {
            "type": "string"
          },
          "cancel_requested": {
            "type": "boolean"
          },
          "completed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "created_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "created_by": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": "string"
          },
          "read_attempts": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "read_limit": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "recorded_status": {
            "type": "string"
          },
          "result_message": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "started_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "type": "string"
          },
          "verification_type": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "status",
          "recorded_status",
          "created_by",
          "read_attempts",
          "read_limit",
          "cancel_requested",
          "result_message",
          "verification_type",
          "started_at",
          "completed_at",
          "created_at",
          "backup_id"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "limit": {
      "type": "integer"
    },
    "skip": {
      "type": "integer"
    },
    "total": {
      "type": "integer"
    }
  },
  "required": [
    "items",
    "total",
    "skip",
    "limit"
  ],
  "type": "object"
}

401

Bearer absent, invalid, disabled, stale or organization unavailable

Headers
{
  "WWW-Authenticate": {
    "schema": {
      "type": "string"
    }
  }
}

application/json

Schema
{
  "anyOf": [
    {
      "additionalProperties": false,
      "properties": {
        "detail": {
          "type": "string"
        }
      },
      "required": [
        "detail"
      ],
      "type": "object"
    },
    {
      "additionalProperties": false,
      "properties": {
        "detail": {
          "const": "Invalid tenant credentials",
          "type": "string"
        }
      },
      "required": [
        "detail"
      ],
      "type": "object"
    }
  ]
}

403

Only in demo deployment mode: ordinary API surface is denied before handlers

Headers
{
  "X-Vnbui-Environment": {
    "schema": {
      "type": "string"
    }
  },
  "X-Vnbui-Simulated": {
    "schema": {
      "type": "string"
    }
  }
}

application/json

Schema
{
  "additionalProperties": false,
  "properties": {
    "detail": {
      "additionalProperties": false,
      "properties": {
        "code": {
          "const": "DEMO_POLICY_DENIED",
          "type": "string"
        },
        "message": {
          "type": "string"
        }
      },
      "required": [
        "code",
        "message"
      ],
      "type": "object"
    },
    "environment": {
      "const": "demo",
      "type": "string"
    },
    "simulated": {
      "const": true,
      "type": "boolean"
    }
  },
  "required": [
    "detail",
    "environment",
    "simulated"
  ],
  "type": "object"
}

422

Validation Error

application/json

Schema

HTTPValidationError

500

Unhandled exception outside route-level conversion; body is plain text

text/plain

Schema
{
  "const": "Internal Server Error",
  "type": "string"
}

GET/api/v1/verifications/{verification_id}Get Verification

Get details of a specific verification

Parameters

verification_id · path · Required

{
  "title": "Verification Id",
  "type": "string"
}

Authentication

Responses

200

Successful response; resource state is separate from HTTP acceptance.

application/json

Schema
{
  "additionalProperties": false,
  "properties": {
    "backup": {
      "anyOf": [
        {
          "additionalProperties": false,
          "properties": {
            "created_at": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "id": {
              "type": "string"
            },
            "size_bytes": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            },
            "status": {
              "type": "string"
            },
            "vm_id": {
              "type": "string"
            },
            "vm_name": {
              "type": "string"
            }
          },
          "required": [
            "id",
            "vm_id",
            "vm_name",
            "status",
            "size_bytes",
            "created_at"
          ],
          "type": "object"
        },
        {
          "type": "null"
        }
      ]
    },
    "backup_id": {
      "type": "string"
    },
    "cancel_requested": {
      "type": "boolean"
    },
    "completed_at": {
      "anyOf": [
        {
          "format": "date-time",
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "created_at": {
      "anyOf": [
        {
          "format": "date-time",
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "created_by": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "created_by_user": {
      "anyOf": [
        {
          "additionalProperties": false,
          "properties": {
            "id": {
              "type": "string"
            },
            "role": {
              "type": "string"
            },
            "username": {
              "type": "string"
            }
          },
          "required": [
            "id",
            "username",
            "role"
          ],
          "type": "object"
        },
        {
          "type": "null"
        }
      ]
    },
    "id": {
      "type": "string"
    },
    "read_attempts": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ]
    },
    "read_limit": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ]
    },
    "recorded_status": {
      "type": "string"
    },
    "result": {
      "anyOf": [
        {
          "anyOf": [
            {
              "$ref": "#/components/schemas/VerificationResult"
            },
            {
              "additionalProperties": true,
              "description": "Extensible domain metadata; keys are not a closed schema.",
              "type": "object",
              "x-open-schema-reason": "Historical verification rows predate receipt-bound results; recorded JSON is returned without normalization and is not accepted evidence."
            }
          ]
        },
        {
          "type": "null"
        }
      ]
    },
    "result_message": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "started_at": {
      "anyOf": [
        {
          "format": "date-time",
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "status": {
      "type": "string"
    },
    "verification_type": {
      "type": "string"
    }
  },
  "required": [
    "id",
    "status",
    "recorded_status",
    "created_by",
    "read_attempts",
    "read_limit",
    "cancel_requested",
    "result_message",
    "verification_type",
    "started_at",
    "completed_at",
    "created_at",
    "backup_id",
    "result",
    "backup",
    "created_by_user"
  ],
  "type": "object"
}

401

Bearer absent, invalid, disabled, stale or organization unavailable

Headers
{
  "WWW-Authenticate": {
    "schema": {
      "type": "string"
    }
  }
}

application/json

Schema
{
  "anyOf": [
    {
      "additionalProperties": false,
      "properties": {
        "detail": {
          "type": "string"
        }
      },
      "required": [
        "detail"
      ],
      "type": "object"
    },
    {
      "additionalProperties": false,
      "properties": {
        "detail": {
          "const": "Invalid tenant credentials",
          "type": "string"
        }
      },
      "required": [
        "detail"
      ],
      "type": "object"
    }
  ]
}

403

Only in demo deployment mode: ordinary API surface is denied before handlers

Headers
{
  "X-Vnbui-Environment": {
    "schema": {
      "type": "string"
    }
  },
  "X-Vnbui-Simulated": {
    "schema": {
      "type": "string"
    }
  }
}

application/json

Schema
{
  "additionalProperties": false,
  "properties": {
    "detail": {
      "additionalProperties": false,
      "properties": {
        "code": {
          "const": "DEMO_POLICY_DENIED",
          "type": "string"
        },
        "message": {
          "type": "string"
        }
      },
      "required": [
        "code",
        "message"
      ],
      "type": "object"
    },
    "environment": {
      "const": "demo",
      "type": "string"
    },
    "simulated": {
      "const": true,
      "type": "boolean"
    }
  },
  "required": [
    "detail",
    "environment",
    "simulated"
  ],
  "type": "object"
}

404

Request refused or failed

application/json

Schema
{
  "additionalProperties": false,
  "properties": {
    "detail": {
      "type": "string"
    }
  },
  "required": [
    "detail"
  ],
  "type": "object"
}

422

Validation Error

application/json

Schema

HTTPValidationError

500

Unhandled exception outside route-level conversion; body is plain text

text/plain

Schema
{
  "const": "Internal Server Error",
  "type": "string"
}