API Endpoint
http://localhost:5001/api/v1/storage/hosts/sync
Arguments
Argument | Input Values | Type | Description | Required? |
---|---|---|---|---|
host-sync-mode | score | string | Retrieves 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": [
{
...
},
...
]
}