Skip to content

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

Merged
joostlek merged 1 commit into
mainfrom
ccr-af58c15a-nqvsya-remove-playlist-items-body
Nov 4, 2026
Merged

joostlek merged 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

@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

@joostlek
joostlek merged commit 2d02d27 into main Nov 4, 2026
14 of 15 checks passed
@joostlek
joostlek deleted the ccr-af58c15a-nqvsya-remove-playlist-items-body branch November 4, 2026 11:37
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 5, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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