org.meridor.perspective.client.ImagesApi Maven / Gradle / Ivy
package org.meridor.perspective.client;
import okhttp3.ResponseBody;
import org.meridor.perspective.beans.Image;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Path;
import java.util.Collection;
public interface ImagesApi {
@GET("/images/{id}")
Call getById(@Path("id") String instanceId);
@POST("/images")
Call add(@Body Collection images);
@POST("/images/delete")
Call delete(@Body Collection imageIds);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy