Sonos uses renameContainer
to rename a playlist. See Add playlists for details.
Request parameters
Name | Type | Description |
---|---|---|
id |
string(128) | Unique ID of the playlist. |
title |
string(128)* | New title of the playlist.
* If a listener has an existing playlist created with your native client with a |
Response
None.
Sample request
1 2 3 4 5 6 7 8 |
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <renameContainer xmlns="http://www.sonos.com/Services/1.1"> <id>playlist-001</id> <title>Modern Rock Mix</title> </renameContainer> </soap:Body> </soap:Envelope> |
Sample response
1 2 3 4 5 6 7 |
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <renameContainerResponse xmlns="http://www.sonos.com/Services/1.1"> <renameContainerResult /> </renameContainerResponse> </soap:Body> </soap:Envelope> |