package com.fabledsword.minstrel.api.endpoints

import com.fabledsword.minstrel.models.wire.RadioResponseWire
import retrofit2.http.GET
import retrofit2.http.Query

/**
 * Retrofit interface for `/api/radio`. Mirrors the relevant slice of
 * `flutter_client/lib/api/endpoints/radio.dart` (a single GET that
 * returns the seeded queue). The server picks a fresh shuffle each
 * invocation — clients call this once per radio start.
 */
interface RadioApi {
    @GET("api/radio")
    suspend fun seedTrack(
        @Query("seed_track") trackId: String,
        @Query("limit") limit: Int? = null,
    ): RadioResponseWire
}
