tag – POST
adds a tag to specified song.
url:
http://www.stereomood.com/api/song/tag/id.format or http://www.stereomood.com/api/song/tag.format
HTTP request method:
POST
formats:
xml, json
requires authentication (about authentication):
true
rate limiting (about rate limiting):
false
parameters:
id. the id of the song.tag. the value of the tag.type. mood or activity.
sample request:
http://www.stereomood.com/api/song/tag/12345.json?tag=happy&type=mood or http://www.stereomood.com/api/song/tag.xml?id=12345&tag=happy&type=mood
xml sample response:
<?xml version="1.0" encoding="UTF-8"?>
<hash>
<request>/api/user/tag/12345.xml</request>
<message>tag added</message>
</hash>
Last edited by Stereomood Tech Team, March 27, 2010
