Interface RepositoryApi
-
@Produces("application/json") @Path("/rest") public interface RepositoryApi
-
-
Method Summary
-
-
-
Method Detail
-
create
@Consumes("application/json") @Path("/api/{jclouds.api-version}/projects/{project}/repos") @POST Repository create(@PathParam("project") String project, CreateRepository createRepository)
-
get
@Consumes("application/json") @Path("/api/{jclouds.api-version}/projects/{project}/repos/{repo}") @GET Repository get(@PathParam("project") String project, @PathParam("repo") String repo)
-
fork
@Consumes("application/json") @Path("/api/{jclouds.api-version}/projects/{project}/repos/{repo}") @POST Repository fork(@PathParam("project") String project, @PathParam("repo") String repo, String newProject, String newRepo)
-
delete
@Consumes("application/json") @Path("/api/{jclouds.api-version}/projects/{project}/repos/{repo}") @DELETE RequestStatus delete(@PathParam("project") String project, @PathParam("repo") String repo)
-
list
@Consumes("application/json") @Path("/api/{jclouds.api-version}/projects/{project}/repos") @GET RepositoryPage list(@PathParam("project") String project, @Nullable @QueryParam("start") Integer start, @Nullable @QueryParam("limit") Integer limit)
-
listAll
@Consumes("application/json") @Path("/api/{jclouds.api-version}/repos") @GET RepositoryPage listAll(@Nullable @QueryParam("projectname") String project, @Nullable @QueryParam("name") String repo, @Nullable @QueryParam("permission") String permission, @Nullable @QueryParam("visibility") String visibility, @Nullable @QueryParam("start") Integer start, @Nullable @QueryParam("limit") Integer limit)
-
getPullRequestSettings
@Consumes("application/json") @Path("/api/{jclouds.api-version}/projects/{project}/repos/{repo}/settings/pull-requests") @GET PullRequestSettings getPullRequestSettings(@PathParam("project") String project, @PathParam("repo") String repo)
-
updatePullRequestSettings
@Consumes("application/json") @Path("/api/{jclouds.api-version}/projects/{project}/repos/{repo}/settings/pull-requests") @POST PullRequestSettings updatePullRequestSettings(@PathParam("project") String project, @PathParam("repo") String repo, CreatePullRequestSettings createPullRequestSettings)
-
createPermissionsByUser
@Consumes("application/json") @Path("/api/{jclouds.api-version}/projects/{project}/repos/{repo}/permissions/users") @PUT RequestStatus createPermissionsByUser(@PathParam("project") String project, @PathParam("repo") String repo, @QueryParam("permission") String permission, @QueryParam("name") String name)
-
deletePermissionsByUser
@Consumes("application/json") @Path("/api/{jclouds.api-version}/projects/{project}/repos/{repo}/permissions/users") @DELETE RequestStatus deletePermissionsByUser(@PathParam("project") String project, @PathParam("repo") String repo, @QueryParam("name") String name)
-
listPermissionsByUser
@Consumes("application/json") @Path("/api/{jclouds.api-version}/projects/{project}/repos/{repo}/permissions/users") @GET PermissionsPage listPermissionsByUser(@PathParam("project") String project, @PathParam("repo") String repo, @Nullable @QueryParam("start") Integer start, @Nullable @QueryParam("limit") Integer limit)
-
createPermissionsByGroup
@Consumes("application/json") @Path("/api/{jclouds.api-version}/projects/{project}/repos/{repo}/permissions/groups") @PUT RequestStatus createPermissionsByGroup(@PathParam("project") String project, @PathParam("repo") String repo, @QueryParam("permission") String permission, @QueryParam("name") String name)
-
deletePermissionsByGroup
@Consumes("application/json") @Path("/api/{jclouds.api-version}/projects/{project}/repos/{repo}/permissions/groups") @DELETE RequestStatus deletePermissionsByGroup(@PathParam("project") String project, @PathParam("repo") String repo, @QueryParam("name") String name)
-
listPermissionsByGroup
@Consumes("application/json") @Path("/api/{jclouds.api-version}/projects/{project}/repos/{repo}/permissions/groups") @GET PermissionsPage listPermissionsByGroup(@PathParam("project") String project, @PathParam("repo") String repo, @Nullable @QueryParam("start") Integer start, @Nullable @QueryParam("limit") Integer limit)
-
getLabels
@Consumes("application/json") @Path("/api/{jclouds.api-version}/projects/{project}/repos/{repo}/labels") @GET LabelsPage getLabels(@PathParam("project") String project, @PathParam("repo") String repo)
-
-