Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ import retrofit2.http.FormUrlEncoded
import retrofit2.http.GET
import retrofit2.http.HTTP
import retrofit2.http.Header
import retrofit2.http.Headers
import retrofit2.http.Multipart
import retrofit2.http.PATCH
import retrofit2.http.POST
Expand Down Expand Up @@ -661,6 +662,7 @@ interface MastodonApi {
@Path("id") id: String,
): ApiResult<Unit>

@Headers("Content-Type: application/x-www-form-urlencoded")
@POST("api/v2/filters")
suspend fun createFilter(@Body newContentFilter: NewContentFilter): ApiResult<Filter>

Expand Down