Documented GET quality option

selfhoster
2019-12-03 13:02:55 +00:00
parent ac9ebc6364
commit 66814e6e81
+6 -1
@@ -5,7 +5,8 @@ POST http://localhost:1730/api/download/
Content-Type: application/json Content-Type: application/json
{ {
"url": "https://www.deezer.com/album/115542362" "url": "https://www.deezer.com/album/115542362",
"quality": "flac" //OPTIONAL
} }
or or
{ {
@@ -17,8 +18,12 @@ or
``` http ``` http
GET http://localhost:1730/api/download/?url=https://www.deezer.com/album/115542362 GET http://localhost:1730/api/download/?url=https://www.deezer.com/album/115542362
or
GET http://localhost:1730/api/download/?url=https://www.deezer.com/album/115542362&quality=flac
``` ```
quality variable accepts lossless,flac or 320,mp3 or 128, and is case insensitive (also accepts FLAC and lOsSlEsS, etc.)
## Search for a track, album, playlist or artist ## Search for a track, album, playlist or artist
``` JSON ``` JSON
POST http://localhost:1730/api/search/ POST http://localhost:1730/api/search/