Change parsed diff url from '.json' to '/parsed'

This commit is contained in:
Rene Pfeuffer
2020-01-24 14:34:17 +01:00
parent 882a25936d
commit 9fcaf5e69d
2 changed files with 2 additions and 2 deletions

View File

@@ -73,7 +73,7 @@ public class DiffRootResource {
} }
@GET @GET
@Path("{revision}.json") @Path("{revision}/parsed")
@Produces(VndMediaType.DIFF_PARSED) @Produces(VndMediaType.DIFF_PARSED)
@StatusCodes({ @StatusCodes({
@ResponseCode(code = 200, condition = "success"), @ResponseCode(code = 200, condition = "success"),

View File

@@ -153,7 +153,7 @@ public class IncomingRootResource {
} }
@GET @GET
@Path("{source}/{target}/diff.json") @Path("{source}/{target}/diff/parsed")
@Produces(VndMediaType.DIFF_PARSED) @Produces(VndMediaType.DIFF_PARSED)
@StatusCodes({ @StatusCodes({
@ResponseCode(code = 200, condition = "success"), @ResponseCode(code = 200, condition = "success"),