refactor instance blocks to paging
This commit is contained in:
parent
961de796b7
commit
626a8760ae
9 changed files with 226 additions and 159 deletions
|
|
@ -452,11 +452,11 @@ interface MastodonApi {
|
|||
): Response<List<TimelineAccount>>
|
||||
|
||||
@GET("api/v1/domain_blocks")
|
||||
fun domainBlocks(
|
||||
suspend fun domainBlocks(
|
||||
@Query("max_id") maxId: String? = null,
|
||||
@Query("since_id") sinceId: String? = null,
|
||||
@Query("limit") limit: Int? = null
|
||||
): Single<Response<List<String>>>
|
||||
): Response<List<String>>
|
||||
|
||||
@FormUrlEncoded
|
||||
@POST("api/v1/domain_blocks")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue