Updated TrackFile (markdown)

Qstick 2018-04-14 23:52:09 -04:00
parent b1402fc808
commit 617397ee46
1 changed files with 66 additions and 1 deletions

@ -15,6 +15,8 @@ Optional:
`albumId (int)`
`trackFileIds` - Usage `trackFileIds=1234,1236,1235`
##### Returns JsonArray ######
```JSON
@ -80,4 +82,67 @@ Optional:
"id": 5422
}
]
```
```
## GET/{id} ##
##### Summary #####
Returns the track file with a given id
##### Parameters ######
Required:
`id (int)`
##### Returns JsonArray ######
```JSON
{
"artistId": 517,
"albumId": 6472,
"relativePath": "High Hopes (2013)\\01 Bruce Springsteen - High Hopes [2014] - High Hopes.mp3",
"path": "C:\\Test2\\Bruce Springsteen\\High Hopes (2013)\\01 Bruce Springsteen - High Hopes [2014] - High Hopes.mp3",
"size": 10520492,
"dateAdded": "2018-04-15T02:47:27.2630697Z",
"language": {
"id": 1,
"name": "English"
},
"quality": {
"quality": {
"id": 2,
"name": "MP3-VBR-V0"
},
"revision": {
"version": 1,
"real": 0
}
},
"mediaInfo": {
"audioChannels": 2.0,
"audioBitRate": "282 kbps",
"audioCodec": "MP3"
},
"qualityCutoffNotMet": true,
"languageCutoffNotMet": false,
"id": 5422
}
```
## DELETE/{id} ##
##### Summary #####
Delete the given track file
##### Parameters ######
Required:
`id (int)`
##### Returns ######
````JSON
{}
````