@Path(value="a")
@Produces(value="application/json")
@Consumes(value="application/json")
public interface GitApi
| Modifier and Type | Method and Description |
|---|---|
RepositoryDTO |
createRepository(String repo,
CreateRepositoryDTO dto) |
ProjectInfoDTO |
getRepository(String repo) |
@GET
@Path(value="projects/{repo}")
ProjectInfoDTO getRepository(@PathParam(value="repo")
String repo)
@POST
@Path(value="projects/{repo}")
RepositoryDTO createRepository(@PathParam(value="repo")
String repo,
CreateRepositoryDTO dto)
Copyright © 2011–2017 Red Hat. All rights reserved.