io.getstream.chat.java.services.PermissionService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of stream-chat-java-all Show documentation
Show all versions of stream-chat-java-all Show documentation
Stream Chat Java Client for backend integrations
package io.getstream.chat.java.services;
import io.getstream.chat.java.models.Permission.PermissionCreateRequestData;
import io.getstream.chat.java.models.Permission.PermissionGetResponse;
import io.getstream.chat.java.models.Permission.PermissionListResponse;
import io.getstream.chat.java.models.Permission.PermissionUpdateRequestData;
import io.getstream.chat.java.models.framework.StreamResponseObject;
import org.jetbrains.annotations.NotNull;
import retrofit2.Call;
import retrofit2.http.*;
public interface PermissionService {
@POST("permissions")
@NotNull
Call create(
@NotNull @Body PermissionCreateRequestData permissionCreateRequestData);
@GET("permissions/{id}")
@NotNull
Call get(@NotNull @Path("id") String id);
@PUT("permissions/{id}")
@NotNull
Call update(
@NotNull @Path("id") String id,
@NotNull @Body PermissionUpdateRequestData permissionUpdateRequestData);
@DELETE("permissions/{id}")
@NotNull
Call delete(@NotNull @Path("id") String name);
@GET("permissions")
@NotNull
Call list();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy