diff --git a/TrackFile.md b/TrackFile.md index a29aee7..97d7d71 100644 --- a/TrackFile.md +++ b/TrackFile.md @@ -15,6 +15,8 @@ Optional: `albumId (int)` +`trackFileIds` - Usage `trackFileIds=1234,1236,1235` + ##### Returns JsonArray ###### ```JSON @@ -80,4 +82,67 @@ Optional: "id": 5422 } ] -``` \ No newline at end of file +``` + +## 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 +{} +```` \ No newline at end of file