com.contentstack.cms.stack.BulkOperationService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cms Show documentation
Show all versions of cms Show documentation
Contentstack Java Management SDK for Content Management API, Contentstack is a headless CMS with an
API-first approach
The newest version!
package com.contentstack.cms.stack;
import okhttp3.ResponseBody;
import org.json.simple.JSONObject;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.HeaderMap;
import retrofit2.http.POST;
import retrofit2.http.QueryMap;
import java.util.HashMap;
import java.util.Map;
public interface BulkOperationService {
@POST("bulk/publish")
Call publish(
@HeaderMap Map headers,
@QueryMap HashMap params,
@Body JSONObject body);
@POST("bulk/unpublish")
Call unpublish(
@HeaderMap Map headers,
@QueryMap HashMap params,
@Body JSONObject body);
@POST("bulk/delete")
Call delete(
@HeaderMap Map headers,
@QueryMap HashMap params,
@Body JSONObject body);
@POST("bulk/workflow")
Call updateWorkflowDetails(
@HeaderMap Map headers,
@QueryMap HashMap params,
@Body JSONObject body);
}