song – DELETE
deletes the specified song from a user playlist. must be owned by the authenticated user.
url:
http://www.stereomood.com/api/user/playlists/song/id.format or http://www.stereomood.com/api/user/playlists/song.format
HTTP request method:
DELETE
formats:
xml, json
requires authentication (about authentication):
true
rate limiting (about rate limiting):
false
parameters:
id. the id of the playlist.songid. the id of the song.
sample request:
http://www.stereomood.com/api/user/playlists/song/12345.json?songid=6789
or http://www.stereomood.com/api/user/playlists/song.xml?id=12345&songid=6789
xml sample response:
<?xml version="1.0" encoding="UTF-8"?>
<hash>
<request>/api/user/playlists/song/12345.xml</request>
<message>song deleted</message>
</hash>
Last edited by Stereomood Tech Team, March 27, 2010
