Skip to content

Commit

Permalink
Simplified url for listWarcsByCrawl
Browse files Browse the repository at this point in the history
  • Loading branch information
ato committed Aug 2, 2023
1 parent 59fdaee commit f21f800
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/bamboo/api/DataApiController.java
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ private void enforceAgwaCrawl(Crawl crawl) throws AccessDeniedException {
}
}

@GetMapping(value = "/data/warcsByCrawl/{crawlId}", produces = MediaType.APPLICATION_JSON_VALUE)
@GetMapping(value = "/data/crawls/{crawlId}/warcs", produces = MediaType.APPLICATION_JSON_VALUE)
@ResponseBody
public ArrayList<WarcData> listWarcsByCrawl(@PathVariable long crawlId,
@RequestParam(value = "page", defaultValue = "0") int page,
Expand Down

0 comments on commit f21f800

Please sign in to comment.