diff --git a/REST API.md b/REST API.md index 88584dd..b9e432d 100644 --- a/REST API.md +++ b/REST API.md @@ -5,7 +5,8 @@ POST http://localhost:1730/api/download/ Content-Type: application/json { - "url": "https://www.deezer.com/album/115542362" + "url": "https://www.deezer.com/album/115542362", + "quality": "flac" //OPTIONAL } or { @@ -17,8 +18,12 @@ or ``` http 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 ``` JSON POST http://localhost:1730/api/search/