swarm_health
Determine whether torrents can actually finish by comparing complete copies across reachable peers to progress; exclude queued items and flag partial selections.
Instructions
Judge whether each torrent can actually finish. availability is how many complete copies exist across reachable peers; when it does not exceed progress, no peer holds the missing pieces and the download can never complete however long it waits. Queued torrents are excluded because they report availability 0 simply for not being connected yet. progress is relative to the selected files, so partial_selection marks torrents that are 100% yet never fetched their deselected files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include_complete | No | also report torrents already at 100% |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |