io.getstream.chat.java.services.DeviceService 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.Device.DeviceCreateRequestData;
import io.getstream.chat.java.models.Device.DeviceListResponse;
import io.getstream.chat.java.models.framework.StreamResponseObject;
import org.jetbrains.annotations.NotNull;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.DELETE;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Query;
public interface DeviceService {
@POST("devices")
Call create(@NotNull @Body DeviceCreateRequestData deviceCreateRequestData);
@DELETE("devices")
Call delete(
@NotNull @Query("id") String id, @NotNull @Query("user_id") String userId);
@GET("devices")
Call list(@NotNull @Query("user_id") String userId);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy