Skip to content

Refactor batch fetch endpoints to individual calls #73

Description

@wardbox

Context

Part of the Spotify Feb 2026 API changes (#70). Multi-ID batch fetch endpoints are removed:

  • GET /tracks?ids= ❌
  • GET /albums?ids= ❌
  • GET /artists?ids= ❌
  • GET /episodes?ids= ❌
  • GET /shows?ids= ❌

Must fetch individually by ID (e.g., GET /tracks/{id}).

Files affected (5)

  • Spotishell/Public/Tracks/Get-Track.ps1
  • Spotishell/Public/Albums/Get-Album.ps1
  • Spotishell/Public/Artists/Get-Artist.ps1
  • Spotishell/Public/Episodes/Get-Episode.ps1
  • Spotishell/Public/Shows/Get-Show.ps1

Notes

  • These cmdlets currently accept arrays of IDs and batch them into single API calls
  • Need to refactor to loop individual /{type}/{id} calls when multiple IDs are provided
  • Single ID path (e.g., /tracks/{id}) should still work — only the batch variant is removed
  • Consider performance impact: what was 1 API call for 50 tracks becomes 50 calls

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions