Skip to main content

RebalancePlan

moves object[]required
  • Array [
  • sharestringrequired
    relPathstringrequired

    Path relative to the share root.

    sourceBranchstringrequired

    The share-scoped branch directory the file currently lives on, e.g. /mnt/disk1/media.

    targetBranchstringrequired
    sizeBytesinteger<int64>required
  • ]
  • warnings object[]required
  • Array [
  • sharestringrequired
    reasonstringrequired
  • ]
  • confirmationstringrequired

    Exact typed confirmation startRebalance requires for this plan (REBALANCE).

    RebalancePlan
    {
    "moves": [
    {
    "share": "string",
    "relPath": "string",
    "sourceBranch": "string",
    "targetBranch": "string",
    "sizeBytes": 0
    }
    ],
    "warnings": [
    {
    "share": "string",
    "reason": "string"
    }
    ],
    "confirmation": "string"
    }