getDiscoveryIds

@GET(value = "/discovery/v2/ids/{host}")
abstract suspend fun getDiscoveryIds(@Path(value = "host") host: String?, @Query(value = "id") ids: String): Response<List<String>?>

Converts legacy IDs to Discovery IDs.

Queries the API to convert IDs for a given host.

Return

A Response with a list of converted IDs or null.

Parameters

host

The host for the ID conversion, if available.

ids

Comma-separated list of IDs to convert.