🥰Upload Song
Uploads a remix of a song with additional metadata about the remixed artist.
POST /upload/song/uploadSong Request Headers
Content-Type: multipart/form-data
Parameters
audioFile (file) - The audio file to be uploaded.
coverImage (file) - (Optional) The cover image of the song.
name (string) - Name of the song.
username (string) - Username of the uploader.
profileUrl (string) - URL of the uploader's profile.
isPrivate (boolean) - Whether the song is private.
songPassword (string) - (Optional) Password to access the song if private.
uploaderId (string) - Unique identifier of the uploader.
duration (number) - Duration of the song in seconds.
Response
{
"message": "Song uploaded successfully.",
"song": {
"name": "string",
"artist": "string",
"artistUrl": "string",
"audioUrl": "string",
"coverImageUrl": "string",
"createdAt": "date",
"isPrivate": "boolean",
"songPassword": "string",
"uploaderId": "string"
}
}Last updated