
com.contentful.java.cda.CDAService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-sdk Show documentation
Show all versions of java-sdk Show documentation
Java SDK for Contentful's Content Delivery API.
package com.contentful.java.cda;
import io.reactivex.rxjava3.core.Flowable;
import retrofit2.Response;
import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.Query;
import retrofit2.http.QueryMap;
import java.util.Map;
interface CDAService {
@GET("spaces/{space}")
Flowable> space(
@Path("space") String space);
@GET("spaces/{space}/environments/{environment}/{type}")
Flowable> array(
@Path("space") String space,
@Path("environment") String environment,
@Path("type") String type,
@QueryMap Map query);
@GET("spaces/{space}/environments/{environment}/sync")
Flowable> sync(
@Path("space") String space,
@Path("environment") String environment,
@Query("initial") Boolean initial,
@Query("sync_token") String syncToken,
@Query("type") String type,
@Query("content_type") String contentType,
@Query("limit") Integer limit);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy