renameContainer
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.Note: If a listener has an existing playlist created with your native client with a title greater than 128 characters, we allow the renamed title length to be equal to the length of the original title. |
Response
None.
Sample request
<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
<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>
Updated about 1 year ago