Updated WebUI API Documentation (markdown)

Mike Tzou
2017-10-23 20:00:59 +08:00
parent 2f5d652afd
commit 5da904ac37

@@ -1353,8 +1353,7 @@ Content-Length: length
Requires knowing the torrent hash. You can get it from [torrent list](#get-torrent-list).
```http
```http
POST /command/getTorrentsUpLimit HTTP/1.1
POST /command/getTorrentsUpLimit HTTP/1.1
User-Agent: Fiddler
Host: 127.0.0.1
Cookie: SID=your_sid
@@ -1407,8 +1406,7 @@ Content-Length: length
```http
POST /command/setLocation HTTP/1.1
POST /command/setLocation HTTP/1.1
User-Agent: Fiddler
User-Agent: Fiddler
Host: 127.0.0.1
Cookie: SID=your_sid
Content-Type: application/x-www-form-urlencoded
@@ -1432,8 +1430,7 @@ Content-Length: length
```http
POST /command/rename HTTP/1.1
POST /command/rename HTTP/1.1
User-Agent: Fiddler
User-Agent: Fiddler
Host: 127.0.0.1
Cookie: SID=your_sid
Content-Type: application/x-www-form-urlencoded
@@ -1484,8 +1481,7 @@ Content-Length: length
POST /command/addCategory HTTP/1.1
User-Agent: Fiddler
Host: 127.0.0.1
Host: 127.0.0.1
Cookie: SID=your_sid
Cookie: SID=your_sid
Content-Type: application/x-www-form-urlencoded
Content-Length: length
@@ -1551,9 +1547,8 @@ Content-Length: length
POST /command/setPreferences HTTP/1.1
User-Agent: Fiddler
Host: 127.0.0.1
Host: 127.0.0.1
Cookie: SID=your_sid
Content-Type: application/x-www-form-urlencoded
Cookie: SID=your_sid
Content-Type: application/x-www-form-urlencoded
Content-Length: length
json={"save_path":"C:/Users/Dayman/Downloads","queueing_enabled":false,"scan_dirs":["C:/Games","D:/Downloads"],"download_in_scan_dirs":[false,true]}
@@ -1683,7 +1678,7 @@ hashes=8c212779b4abde7c6bc608063a0d008b7e40ce32?value=true
POST /command/setSuperSeeding HTTP/1.1
User-Agent: Fiddler
Host: 127.0.0.1
Cookie: SID=your_sid
Cookie: SID=your_sid
Content-Type: application/x-www-form-urlencoded
Content-Length: length
@@ -1707,7 +1702,7 @@ hashes=8c212779b4abde7c6bc608063a0d008b7e40ce32?value=true
POST /command/pauseAll HTTP/1.1
User-Agent: Fiddler
Host: 127.0.0.1
Cookie: SID=your_sid
Cookie: SID=your_sid
Content-Type: application/x-www-form-urlencoded
Content-Length: length
```