GET api/song?path={path}
Documentation for 'GetSongByPath'.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| path | Documentation for 'path'. |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
{
"SongID": 1,
"Title": "sample string 2",
"Artist": "sample string 3",
"Album": "sample string 4",
"Length": "sample string 5",
"FilePath": "sample string 6",
"FolderID": 7,
"Track": 1,
"Genre": "sample string 8",
"Year": "sample string 9"
}
application/xml, text/xml
Sample:
<Song xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SMCT.Jukebox.Library.Models"> <Album>sample string 4</Album> <Artist>sample string 3</Artist> <FilePath>sample string 6</FilePath> <FolderID>7</FolderID> <Genre>sample string 8</Genre> <Length>sample string 5</Length> <SongID>1</SongID> <Title>sample string 2</Title> <Track>1</Track> <Year>sample string 9</Year> </Song>