DiscoveryEventService

Interface for event-related API calls in the Discovery API.

Functions

Link copied to clipboard
@GET(value = "discovery/v2/events/{domain}/{id}")
abstract suspend fun getEventDetails(@Path(value = "domain") domain: String?, @Path(value = "id") id: String?, @QueryMap queryParams: Map<String, String>): Response<DiscoveryEventDetailsResponse?>

Fetches details for a specific event by domain and ID.

Link copied to clipboard
@GET(value = "discovery/v2/events/{id}")
abstract suspend fun getEventDetailsV2(@Path(value = "id") id: String?, @QueryMap queryParams: Map<String, String>): Response<DiscoveryEventDetailsResponse?>

Fetches details for a specific event by ID (version 2).

Link copied to clipboard
@GET(value = "discovery/v2/events")
abstract suspend fun getEvents(@QueryMap queryParams: Map<String, String>): Response<DiscoveryEventsContainerResponse?>

Fetches event search results.