diff --git a/REST API.md b/REST API.md index f6ed1f6..0db2d88 100644 --- a/REST API.md +++ b/REST API.md @@ -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 ``` \ No newline at end of file