Update page 'REST API'

selfhoster
2020-01-08 12:08:22 +00:00
parent 3df8d9f4f7
commit 11cbe58da8
+16
@@ -75,4 +75,20 @@ GET http://localhost:1730/api/tracks/?album=115542362
## Retrieve length of, and items in Download Queue
``` http
GET http://localhost:1730/api/queue/
```
## Remove item from Download Queue
``` JSON
POST http://localhost:1730/api/canceldownload/
Content-Type: application/json
{
"queueId": "ida33m5l8firh"
}
```
or
``` http
GET http://localhost:1730/api/canceldownload/?queueId=ida33m5l8firh
```