GET REST documentation

selfhoster
2019-12-03 10:34:10 +00:00
parent 61b25e1d40
commit ac9ebc6364
+19 -1
@@ -13,6 +13,12 @@ Content-Type: application/json
}
```
or
``` http
GET http://localhost:1730/api/download/?url=https://www.deezer.com/album/115542362
```
## Search for a track, album, playlist or artist
``` JSON
POST http://localhost:1730/api/search/
@@ -27,6 +33,12 @@ Content-Type: application/json
}
```
or
``` http
GET http://localhost:1730/api/search/?album=my favourite album - my favouite artist
```
## Retrieve tracklist for an album, artist, playlist or spotifyplaylist
``` JSON
POST http://localhost:1730/api/tracks/
@@ -41,7 +53,13 @@ Content-Type: application/json
}
```
or
``` http
GET http://localhost:1730/api/tracks/?album=115542362
```
## Retrieve length of, and items in Download Queue
``` JSON
``` http
GET http://localhost:1730/api/queue/
```