diff --git a/REST API.md b/REST API.md index b9e432d..1f8decd 100644 --- a/REST API.md +++ b/REST API.md @@ -1,12 +1,22 @@ # REST API -## Add URLs to download queue via POST request: + +## Postman API Collection +>### Import from link: +``` +https://notabug.org/RemixDevs/DeezloaderRemix/src/f941f40abf15aa02e510147e904dfdcc7dc72a05/DeezloaderRemix.postman_collection.json +``` + + +## Add URLs to download queue: + +>### Quality variable accepts lossless,flac or 320,mp3 or 128, and is case insensitive (also accepts FLAC and lOsSlEsS, etc.) ``` JSON POST http://localhost:1730/api/download/ Content-Type: application/json { "url": "https://www.deezer.com/album/115542362", - "quality": "flac" //OPTIONAL + "quality": "flac" //OPTIONAL } or { @@ -22,8 +32,6 @@ 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/