Updated Track (markdown)

Qstick 2018-04-15 00:30:13 -04:00
parent d9b7ada309
commit d577973f19
1 changed files with 30 additions and 6 deletions

@ -3,21 +3,45 @@
## GET ##
##### Summary #####
Gets information about Tracks
Gets all track for an artist or album
##### Parameters ######
*None*
Required:
`artistId (int)` or `albumId (int)`
##### Returns JsonArray ######
```JSON
[
{
"path": "C:\\",
"label": "",
"freeSpace": 282500067328,
"totalSpace": 499738734592
"artistId": 495,
"trackFileId": 0,
"albumId": 6126,
"explicit": false,
"absoluteTrackNumber": 1,
"trackNumber": "1",
"title": "Radioactive",
"duration": 186813,
"mediumNumber": 1,
"hasFile": false,
"monitored": true,
"id": 77644
},
{
"artistId": 495,
"trackFileId": 0,
"albumId": 6126,
"explicit": false,
"absoluteTrackNumber": 10,
"trackNumber": "10",
"title": "Underdog",
"duration": 209440,
"mediumNumber": 1,
"hasFile": false,
"monitored": true,
"id": 77645
}
]
```