Package co.novu.api.changes
Interface ChangeApi
-
public interface ChangeApi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description retrofit2.Call<ApplyChangesResponse>applyChange(String changeId)retrofit2.Call<ApplyChangesResponse>applyChanges(ApplyChangesRequest request)retrofit2.Call<GetChangesResponse>getChanges(Map<String,Object> options)retrofit2.Call<ChangeCountResponse>getChangesCount()
-
-
-
Field Detail
-
ENDPOINT
static final String ENDPOINT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getChanges
@GET("changes") retrofit2.Call<GetChangesResponse> getChanges(@QueryMap Map<String,Object> options)
-
getChangesCount
@GET("changes/count") retrofit2.Call<ChangeCountResponse> getChangesCount()
-
applyChanges
@POST("changes/bulk/apply") retrofit2.Call<ApplyChangesResponse> applyChanges(@Body ApplyChangesRequest request)
-
applyChange
@POST("changes/{changeId}/apply") retrofit2.Call<ApplyChangesResponse> applyChange(@Path("changeId") String changeId)
-
-