Package io.getstream.chat.java.services
Interface ModerationService
-
public interface ModerationService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description retrofit2.Call<StreamResponseObject>
deleteConfig(@NotNull java.lang.String key)
retrofit2.Call<Moderation.ConfigGetResponse>
getConfig(@NotNull java.lang.String key)
retrofit2.Call<Moderation.UpsertConfigResponse>
upsertConfig(@Nullable Moderation.UpsertConfigRequestData upsertConfig)
-
-
-
Method Detail
-
getConfig
@GET("api/v2/moderation/config/{key}") retrofit2.Call<Moderation.ConfigGetResponse> getConfig(@NotNull @Path("key") @NotNull java.lang.String key)
-
deleteConfig
@DELETE("api/v2/moderation/config/{key}") retrofit2.Call<StreamResponseObject> deleteConfig(@NotNull @Path("key") @NotNull java.lang.String key)
-
upsertConfig
@POST("api/v2/moderation/config") retrofit2.Call<Moderation.UpsertConfigResponse> upsertConfig(@Nullable @Body @Nullable Moderation.UpsertConfigRequestData upsertConfig)
-
-