From 684b5d7e74b499a55271b74fb518d30f71f9c4a6 Mon Sep 17 00:00:00 2001 From: AbeniMatteo <634710+AbeniMatteo@users.noreply.github.com> Date: Mon, 5 Jul 2021 09:20:35 +0200 Subject: [PATCH] /files availability example --- WebUI-API-(qBittorrent-4.1).md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/WebUI-API-(qBittorrent-4.1).md b/WebUI-API-(qBittorrent-4.1).md index d933d63..3c0fa72 100644 --- a/WebUI-API-(qBittorrent-4.1).md +++ b/WebUI-API-(qBittorrent-4.1).md @@ -1600,7 +1600,7 @@ Property | Type | Description `priority` | integer | File priority. See possible values here below `is_seed` | bool | True if file is seeding/complete `piece_range` | integer array | The first number is the starting piece index and the second number is the ending piece index (inclusive) -`availability` | float | Percentage of file pieces currently available +`availability` | float | Percentage of file pieces currently available (percentage/100) Possible values of `priority`: @@ -1623,7 +1623,8 @@ Example: "piece_range":[0,1253], "priority":1, "progress":0, - "size":657457152 + "size":657457152, + "availability":0.5, } ] ```