Retrieve details for a single file.
Parameters
station_idinteger | stringrequiredpathmedia_idinteger<int64>requiredpathMedia ID
Response
Success
Response fields application/json
textstringThe song title, usually “Artist - Title”
Chet Porter - Aluko Riverartiststring | nullThe song artist.
Chet Portertitlestring | nullThe song title.
Aluko Riveralbumstring | nullThe song album.
Moving Castlegenrestring | nullThe song genre.
Rockisrcstring | nullThe International Standard Recording Code (ISRC) of the file.
US28E1600021lyricsstring | nullLyrics to the song.
linksobjectread onlyShow child attributes
[key: string]stringidintegerThe media’s identifier.
1unique_idstringA unique identifier for this specific media item in the station’s library. Each entry in the media table has a unique ID, even if it refers to a song that exists elsewhere.
69b536afc7ebbf16457b8645song_idstringThe media file’s 32-character unique song identifier hash. This hash is based on track metadata, so the same song uploaded multiple times will have the same song_id.
9f33bbc912c19603e51be8e0987d076bartstringURL to the album art.
https://picsum.photos/1200/1200pathstringThe relative path of the media file.
test.mp3mtimeintegerThe UNIX timestamp when the database was last modified.
1609480800uploaded_atintegerThe UNIX timestamp when the item was first imported into the database.
1609480800art_updated_atintegerThe latest time (UNIX timestamp) when album art was updated.
1609480800lengthnumber<float>The song duration in seconds.
240length_textstringThe formatted song duration (in mm:ss format)
4:00custom_fieldsHashMapA hash-map array represented as an object.
extra_metadataHashMapA hash-map array represented as an object.
playlistsArray<Api_StationMediaPlaylist | integer>Show child attributes
idintegerThe playlist identifier.
1namestringread onlyshort_namestringread onlyfolderstring | nullread onlycountintegerread onlyAccess denied.
Response fields application/json
codeintegerrequiredThe numeric code of the error.
500typestringrequiredThe programmatic class of error.
NotLoggedInExceptionmessagestringrequiredThe text description of the error.
Error description.formatted_messagestring | nullrequiredThe HTML-formatted text description of the error.
<b>Error description.</b><br>Detailed error text.extra_dataArray<any>requiredStack traces and other supplemental data.
successbooleanrequiredUsed for API calls that expect an \Entity\Api\Status type response.
falseRecord not found.
Response fields application/json
codeintegerrequiredThe numeric code of the error.
500typestringrequiredThe programmatic class of error.
NotLoggedInExceptionmessagestringrequiredThe text description of the error.
Error description.formatted_messagestring | nullrequiredThe HTML-formatted text description of the error.
<b>Error description.</b><br>Detailed error text.extra_dataArray<any>requiredStack traces and other supplemental data.
successbooleanrequiredUsed for API calls that expect an \Entity\Api\Status type response.
falseA generic exception has occurred.
Response fields application/json
codeintegerrequiredThe numeric code of the error.
500typestringrequiredThe programmatic class of error.
NotLoggedInExceptionmessagestringrequiredThe text description of the error.
Error description.formatted_messagestring | nullrequiredThe HTML-formatted text description of the error.
<b>Error description.</b><br>Detailed error text.extra_dataArray<any>requiredStack traces and other supplemental data.
successbooleanrequiredUsed for API calls that expect an \Entity\Api\Status type response.
falseAuthorization
ApiKeyapiKey in header