From ca77039a43fa17fdc039e13f05a8598d6d85514d Mon Sep 17 00:00:00 2001 From: Mike Tzou Date: Sat, 14 Oct 2017 16:10:09 +0800 Subject: [PATCH] Document setSuperSeeding command --- WebUI-API-Documentation.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/WebUI-API-Documentation.md b/WebUI-API-Documentation.md index 5b61b90..2ca4002 100644 --- a/WebUI-API-Documentation.md +++ b/WebUI-API-Documentation.md @@ -55,6 +55,7 @@ 1. [Toggle sequential download](#toggle-sequential-download) 1. [Set first/last piece priority](#set-firstlast-piece-priority) 1. [Set force start](#set-force-start) + 1. [Set super seeding](#set-super-seeding) 1. [Pause all the torrents](#pause-all-the-torrents) 1. [Resume all the torrents](#resume-all-the-torrents) @@ -1637,6 +1638,29 @@ No matter if successful or not server will return the following reply: HTTP/1.1 200 OK ``` +### Set super seeding ### + +Requires knowing the torrent hash. You can get it from [torrent list](#get-torrent-list). + +```http +POST /command/setSuperSeeding HTTP/1.1 +User-Agent: Fiddler +Host: 127.0.0.1 +Cookie: SID=your_sid +Content-Type: application/x-www-form-urlencoded +Content-Length: length + +hashes=8c212779b4abde7c6bc608063a0d008b7e40ce32value=true +``` + +`hashes` can contain multiple hashes separated by `|` + +No matter if successful or not server will return the following reply: + +```http +HTTP/1.1 200 OK +``` + ### Pause all the torrents ### Requires knowing the torrent hash. You can get it from [torrent list](#get-torrent-list).