Vesta Backup

realtime

Vesta API · 6.0.75 · Community

GET/api/v1/config/realtimeGet Realtime Config

Get real-time configuration for the client.

Authentication

Responses

200

Successful Response

application/json

Schema
{}

GET/api/v1/updatesGet Updates

Best-effort process-local invalidations, not lossless history. contract=2 returns ordered items and an opaque continuation bound to this process and authenticated organization/user/role. History retains at most 1000 events for 300 seconds. Initial/missing, expired, overflowed, restarted or different-worker/scope cursors explicitly require authoritative full-state resynchronization. Capture next_cursor, read snapshots, then continue from that cursor. Socket messages are hints; use this feed for continuation. The legacy since array is deprecated. It returns the oldest matching limit with strict greater-than timestamps; ties and limits cannot prove completeness. since requires Z or an explicit UTC offset; malformed/naive values return 400.

Parameters

since · query · Optional

Deprecated aware ISO8601 timestamp; oldest-first limited array, no completeness guarantee

{
  "anyOf": [
    {
      "type": "string"
    },
    {
      "type": "null"
    }
  ],
  "description": "Deprecated aware ISO8601 timestamp; oldest-first limited array, no completeness guarantee",
  "title": "Since"
}

limit · query · Optional

{
  "default": 100,
  "maximum": 500,
  "minimum": 1,
  "title": "Limit",
  "type": "integer"
}

contract · query · Optional

Set 2 for the cursor envelope

{
  "anyOf": [
    {
      "type": "integer"
    },
    {
      "type": "null"
    }
  ],
  "description": "Set 2 for the cursor envelope",
  "title": "Contract"
}

cursor · query · Optional

Opaque continuation from contract=2

{
  "anyOf": [
    {
      "maxLength": 2048,
      "type": "string"
    },
    {
      "type": "null"
    }
  ],
  "description": "Opaque continuation from contract=2",
  "title": "Cursor"
}

Authentication

Responses

200

Successful Response

application/json

Schema
{
  "anyOf": [
    {
      "$ref": "#/components/schemas/RealtimePage"
    },
    {
      "items": {
        "$ref": "#/components/schemas/LegacyRealtimeEvent"
      },
      "type": "array"
    }
  ],
  "title": "Response Get Updates Api V1 Updates Get"
}

400

Stable coded contract, cursor or timestamp refusal; no cursor content is echoed.

application/json

Schema

RealtimeErrorResponse

Examples
{
  "invalid_cursor": {
    "value": {
      "detail": {
        "code": "realtime_cursor_invalid",
        "message": "Invalid realtime cursor"
      }
    }
  },
  "unsupported_contract": {
    "value": {
      "detail": {
        "code": "realtime_contract_unsupported",
        "message": "Unsupported realtime contract"
      }
    }
  }
}

422

Validation Error

application/json

Schema

HTTPValidationError