@backblaze-labs/b2-sdk - v0.4.0
    Preparing search index...

    Class BackupRawClientExperimental

    Low-level client for Computer Backup API endpoint bindings.

    Each method maps directly to one bz_* HTTP call under the /api/backup/v1/ route using the backupApiUrl returned by Partner authorization.

    Computer Backup API surface; shape may change as the Backup API docs evolve.

    Index
    • Experimental

      Calls bz_delete_computer.

      The documented wire response is a JSON array of deletion records. This destructive mutation is not automatically retried or reauthorized in place.

      Parameters

      • backupApiUrl: string

        The Computer Backup API base URL from authorizePartner.

      • authToken: string

        The Partner authorization token.

      • request: DeleteComputerRequest

        The computer deletion request body.

      • Optionaloptions: BackupRawRequestOptions

        Optional abort and per-request retry settings.

      Returns Promise<DeleteComputerResponse>

      The deleted computer backup record array.

      Computer Backup API surface; shape may change as the Backup API docs evolve.

    • Experimental

      Calls bz_list_computers.

      Uses the documented GET form. The wire response is a single JSON object with a nextComputerId cursor and active computer backup records.

      Parameters

      • backupApiUrl: string

        The Computer Backup API base URL from authorizePartner.

      • authToken: string

        The Partner authorization token.

      • request: ListComputersRequest

        The computer listing query parameters.

      • Optionaloptions: BackupRawRequestOptions

        Optional abort and per-request retry settings.

      Returns Promise<ListComputersResult>

      The single-object computer backup wire response.

      Computer Backup API surface; shape may change as the Backup API docs evolve.