package com.fabledsword.minstrel.api.endpoints

import com.fabledsword.minstrel.models.wire.HomeIndexWire
import retrofit2.http.GET

/**
 * Retrofit interface for the Home discovery endpoint. Mirrors
 * `flutter_client/lib/api/endpoints/home.dart` — just the ID-only
 * `/api/home/index` variant. The Flutter port has a heavier
 * `/api/home` (full embedded payload) too; we don't use it because
 * the per-item hydration path (sync controller → Room → Flow) is
 * the only one the native client needs.
 */
interface HomeApi {
    @GET("api/home/index")
    suspend fun getHomeIndex(): HomeIndexWire
}
