Skip to content

feat: getPlaylist/listPlaylists over GET (v0.21.0) - #21

Merged
this-fifo merged 2 commits into
masterfrom
feat/playlist-get
Sep 16, 2026
Merged

this-fifo merged 2 commits into
masterfrom
feat/playlist-get

Conversation

@this-fifo

Copy link
Copy Markdown
Member

What

getPlaylist and listPlaylists now send GET requests with the same parameters in the query string, through the existing requestGet helper used by browse, similar and the SFX methods. No call-site changes.

Why

GET responses for /v1/playlist are cached at the edge (60s TTL). When many servers start up against the same playlist at once, they now share one origin request instead of each hitting the API. POST remains accepted server-side, so older SDK versions keep working.

Changes

  • src/init.luau: getPlaylist / listPlaylistsrequestGet
  • tests/getPlaylist.spec.luau (new): method, path, query-string encoding, headers, no body, pre-flight validation, 5xx mapping
  • wally.toml 0.21.0, README install pin, README note under getPlaylist, CHANGELOG

Verification

  • stylua --check, selene: clean
  • lune run tests/run.luau: 22 passed, 0 failed

@this-fifo
this-fifo deployed to openCloud-smoke September 16, 2026 21:45 — with GitHub Actions Active
@this-fifo
this-fifo merged commit b2e862e into master Sep 16, 2026
2 checks passed
@this-fifo
this-fifo deleted the feat/playlist-get branch September 16, 2026 23:03

This branch was successfully deployed

1 active deployment
openCloud-smoke 1a7b81b2 Deployed Sep 16, 2026 by this-fifo via openCloud smoke #37
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