Skip to content

Send playlist items to remove in the items field - #866

Open
joostlek wants to merge 1 commit into
mainfrom
ccr-af58c15a-nqvsya-remove-playlist-items-body
Open

joostlek wants to merge 1 commit into
mainfrom
ccr-af58c15a-nqvsya-remove-playlist-items-body

Conversation

@joostlek

Copy link
Copy Markdown
Owner

Proposed Changes

remove_playlist_items calls the new DELETE /playlists/{id}/items endpoint but still sent the body of the deprecated /tracks endpoint: {"tracks": [{"uri": ...}]}. The current reference lists items as the required body field: "An array of objects containing Spotify URIs of the tracks or episodes to remove." It doesn't mention tracks.

The body is now {"items": [{"uri": ...}], "snapshot_id": ...}. The existing test now asserts the new body.

Related Issues


Generated by Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SLHDn51P7snTSyxtuDToEb
@joostlek joostlek added the bugfix Inconsistencies or issues which will cause a problem for users or implementers. label Oct 30, 2026 — with Claude
@sonarqubecloud

Copy link
Copy Markdown

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Inconsistencies or issues which will cause a problem for users or implementers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants