Skip to content

Add deletePlaylist support for PHP SDK 3.1.0 - #7

Merged
wenbinf merged 1 commit into
mainfrom
fix/delete-playlist
Sep 25, 2026
Merged

wenbinf merged 1 commit into
mainfrom
fix/delete-playlist

Conversation

@wenbinf

@wenbinf wenbinf commented Sep 25, 2026

Copy link
Copy Markdown
Member

Adds $client->deletePlaylist(['id' => ...]) for DELETE /playlists/{id} and prepares the PHP SDK for 3.1.0. The generated README documents permanent deletion, the application confirmation requirement, and admin ownership restrictions.

The method uses the existing cURL transport and preserves string response bodies, getStatusCode(), and getHeaders(). Tests cover encoded and missing IDs, body-free DELETE requests, request-state isolation, API error details, redirects, retries, and timeouts. The public mock suite exercises the new endpoint, and CI verifies the standalone distribution includes it.

Validation

  • PHP 8.4 and 8.5: 52 offline tests / 724 assertions passed on each.
  • Public mock API: 35 integration tests / 434 assertions passed.
  • Composer validation and lint passed; the standalone archive installs without development dependencies and exposes all 31 methods.
  • SDK generation is deterministic; 52 synchronization tests and 17 Django documentation tests passed.

Dependencies and PHP requirements are unchanged. Publishing a tagged GitHub release is a separate step that triggers Packagist.

@wenbinf
wenbinf merged commit 093c69b into main Sep 25, 2026
3 checks passed
@wenbinf
wenbinf deleted the fix/delete-playlist branch September 25, 2026 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant