Package co.novu.api.workflowgroups
Interface WorkflowGroupApi
-
public interface WorkflowGroupApi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description retrofit2.Call<WorkflowGroupResponse>createWorkflowGroup(WorkflowGroupRequest request)retrofit2.Call<DeleteWorkflowGroup>deleteWorkflowGroup(String id)retrofit2.Call<WorkflowGroupResponse>getWorkflowGroup(String id)retrofit2.Call<GetWorkflowGroupsResponse>getWorkflowGroups()retrofit2.Call<WorkflowGroupResponse>updateWorkflowGroup(String id, WorkflowGroupRequest request)
-
-
-
Field Detail
-
ENDPOINT
static final String ENDPOINT
- See Also:
- Constant Field Values
-
-
Method Detail
-
createWorkflowGroup
@POST("notification-groups") retrofit2.Call<WorkflowGroupResponse> createWorkflowGroup(@Body WorkflowGroupRequest request)
-
getWorkflowGroups
@GET("notification-groups") retrofit2.Call<GetWorkflowGroupsResponse> getWorkflowGroups()
-
getWorkflowGroup
@GET("notification-groups/{id}") retrofit2.Call<WorkflowGroupResponse> getWorkflowGroup(@Path("id") String id)
-
updateWorkflowGroup
@PUT("notification-groups/{id}") retrofit2.Call<WorkflowGroupResponse> updateWorkflowGroup(@Path("id") String id, @Body WorkflowGroupRequest request)
-
deleteWorkflowGroup
@DELETE("notification-groups/{id}") retrofit2.Call<DeleteWorkflowGroup> deleteWorkflowGroup(@Path("id") String id)
-
-