Update details of a single file.
Body
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.
idintegerThe 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>Parameters
station_idinteger | stringrequiredpathmedia_idinteger<int64>requiredpathMedia ID
Response
Success
Access denied.
Record not found.
A generic exception has occurred.
Authorization
ApiKeyapiKey in header