From 11cbe58da85a1e47f7cf4ef08fd1c9b4348a8bc0 Mon Sep 17 00:00:00 2001 From: selfhoster Date: Wed, 8 Jan 2020 12:08:22 +0000 Subject: [PATCH] Update page 'REST API' --- REST API.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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