Class HookApiResource

java.lang.Object
org.apache.fineract.infrastructure.hooks.api.HookApiResource

@Path("/v1/hooks") @Consumes("application/json") @Produces("application/json") @Component public class HookApiResource extends Object
  • Constructor Details

    • HookApiResource

      public HookApiResource()
  • Method Details

    • retrieveHooks

      @GET public String retrieveHooks(@Context jakarta.ws.rs.core.UriInfo uriInfo)
    • retrieveHook

      @GET @Path("{hookId}") public String retrieveHook(@PathParam("hookId") Long hookId, @Context jakarta.ws.rs.core.UriInfo uriInfo)
    • template

      @GET @Path("template") public String template(@Context jakarta.ws.rs.core.UriInfo uriInfo)
    • createHook

      @POST public String createHook(String apiRequestBodyAsJson)
    • updateHook

      @PUT @Path("{hookId}") public String updateHook(@PathParam("hookId") Long hookId, String apiRequestBodyAsJson)
    • deleteHook

      @DELETE @Path("{hookId}") public String deleteHook(@PathParam("hookId") Long hookId)