2020-04-09 07:41:41 +02:00
|
|
|
package com.keylesspalace.tusky.network
|
|
|
|
|
|
|
|
import com.keylesspalace.tusky.entity.SearchResult
|
2021-07-03 16:59:57 +02:00
|
|
|
import io.reactivex.rxjava3.core.Single
|
2020-04-09 07:41:41 +02:00
|
|
|
import retrofit2.http.GET
|
|
|
|
import retrofit2.http.Query
|
|
|
|
|
|
|
|
interface NotestockApi {
|
|
|
|
|
|
|
|
@GET("api/v1/search.json")
|
|
|
|
fun searchObservable(
|
2022-11-10 15:16:52 +01:00
|
|
|
@Query("q") q: String,
|
|
|
|
@Query("max_dt") maxDt: String? = null
|
2020-04-09 07:41:41 +02:00
|
|
|
): Single<SearchResult>
|
|
|
|
}
|