3891: Directly start the edit filter activity
This commit is contained in:
parent
a883ec71d5
commit
e5456b0197
3 changed files with 21 additions and 4 deletions
|
|
@ -89,6 +89,11 @@ interface MastodonApi {
|
|||
@GET("api/v1/filters")
|
||||
suspend fun getFiltersV1(): NetworkResult<List<FilterV1>>
|
||||
|
||||
@GET("api/v2/filters/{filterId}")
|
||||
suspend fun getFilter(
|
||||
@Path("filterId") filterId: String
|
||||
): NetworkResult<Filter>
|
||||
|
||||
@GET("api/v2/filters")
|
||||
suspend fun getFilters(): NetworkResult<List<Filter>>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue