Interface HookApi
-
@Produces("application/json") @Path("/rest/api/{jclouds.api-version}/projects") public interface HookApi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Hookdisable(String project, String repo, String hookKey)Hookenable(String project, String repo, String hookKey)Hookget(String project, String repo, String hookKey)HookPagelist(String project, String repo, Integer start, Integer limit)HookSettingssettings(String project, String repo, String hookKey)HookSettingsupdate(String project, String repo, String hookKey, HookSettings hookSettings)
-
-
-
Method Detail
-
list
@Consumes("application/json") @Path("/{project}/repos/{repo}/settings/hooks") @GET HookPage list(@PathParam("project") String project, @PathParam("repo") String repo, @Nullable @QueryParam("start") Integer start, @Nullable @QueryParam("limit") Integer limit)
-
get
@Consumes("application/json") @Path("/{project}/repos/{repo}/settings/hooks/{hookKey}") @GET Hook get(@PathParam("project") String project, @PathParam("repo") String repo, @PathParam("hookKey") String hookKey)
-
update
@Consumes("application/json") @Path("/{project}/repos/{repo}/settings/hooks/{hookKey}/settings") @PUT HookSettings update(@PathParam("project") String project, @PathParam("repo") String repo, @PathParam("hookKey") String hookKey, HookSettings hookSettings)
-
settings
@Consumes("application/json") @Path("/{project}/repos/{repo}/settings/hooks/{hookKey}/settings") @GET HookSettings settings(@PathParam("project") String project, @PathParam("repo") String repo, @PathParam("hookKey") String hookKey)
-
enable
@Consumes("application/json") @Path("/{project}/repos/{repo}/settings/hooks/{hookKey}/enabled") @PUT Hook enable(@PathParam("project") String project, @PathParam("repo") String repo, @PathParam("hookKey") String hookKey)
-
-