Skip to content

Commit

Permalink
Merge branch 'master' of ssh://github.com/FAU-Inf2/fablab-common
Browse files Browse the repository at this point in the history
  • Loading branch information
friehmaen committed Sep 30, 2015
2 parents ecdf55a + 2d23099 commit e2ef3c4
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/main/java/de/fau/cs/mad/fablab/rest/api/ProjectsApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,19 @@ public interface ProjectsApi {
@Path("/update/{id}")
@Consumes(MediaType.APPLICATION_JSON)
@Produces(MediaType.TEXT_PLAIN)
@Deprecated
String updateProjectOld(@PathParam("id")String gistId, ProjectFile project);

@PUT
@Path("/{id}")
@Consumes(MediaType.APPLICATION_JSON)
@Produces(MediaType.TEXT_PLAIN)
String updateProject(@PathParam("id")String gistId, ProjectFile project);

@DELETE
@Path("/{id}")
void deleteProject(@PathParam("id")String gistId);

@POST
@Path("/image/upload")
@Consumes(MediaType.APPLICATION_JSON)
Expand Down

0 comments on commit e2ef3c4

Please sign in to comment.