playlist.copy
Description:
Copy a playlist (source) contents into a newly created playlist (destination).
Note that the owner of the destination playlist must be authenticated, i.e. you must provide the API with the destination playlist owner's UAT.
Authentication : REQUIRED
Parameters:
apikey : application developer identifier [R]
country : catalogue country
format : output format
playlistCode : identifier of the source playlist [R]
name : name of the destination playlist [O]. Default: source playlist name
desc : description of the destination playlist [O]. Default: source playlist description
country : catalogue country
format : output format
playlistCode : identifier of the source playlist [R]
name : name of the destination playlist [O]. Default: source playlist name
desc : description of the destination playlist [O]. Default: source playlist description
Return values:
Destination playlist basic infos
Sample call
http://api.playme.com/playlist.copy?playlistCode=123456&name=copycat&desc=from MaMa
HTTP Method call:
GET-POST Sample Result: XML
<?xml version="1.0" encoding="UTF-8"?> <response> <playlist> <playlistCode>867726</playlistCode> <name><![CDATA[copycat]]></name> <description><![CDATA[from MaMa]]></description> <numTracks><![CDATA[6]]></numTracks> </playlist> </response>
Sample Result: JSON
{
"response": {
"playlist": {
"playlistCode": "867745",
"name": "copycat",
"description": "from MaMa",
"numTracks": "6"
}
}
}
LOG IN