Sync Storage Hosts

API Endpoint

http://localhost:5001/api/v1/storage/hosts/sync

Arguments

ArgumentInput ValuesTypeDescriptionRequired?
host-sync-modescorestringRetrieves at least 30 available storage hosts with the most reputable scores.N

Usage

// Sync Hosts

curl -X POST "http://localhost:5001/api/v1/storage/hosts/sync?host-sync-mode=score"

Response

{
  "Hosts": [
    {
      ...
    },
    ...
  ]
}