mirror of
https://notabug.org/RemixDevs/DeezloaderRemix.git
synced 2026-06-11 18:25:19 +00:00
Added postman json link
+12
-4
@@ -1,12 +1,22 @@
|
|||||||
# REST API
|
# 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
|
``` JSON
|
||||||
POST http://localhost:1730/api/download/
|
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
|
"quality": "flac" //OPTIONAL
|
||||||
}
|
}
|
||||||
or
|
or
|
||||||
{
|
{
|
||||||
@@ -22,8 +32,6 @@ or
|
|||||||
GET http://localhost:1730/api/download/?url=https://www.deezer.com/album/115542362&quality=flac
|
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/
|
||||||
|
|||||||
Reference in New Issue
Block a user