class TagRestController {

    @RequestMapping(value = TAGS_URI_PREFIX + "/tagTypes/{tagTypeCode}", method = RequestMethod.GET)
    @Secured(SecurityFunctions.FN_TAGS_ALL_GET)
    public TagListResponse getTags(@PathVariable("tagTypeCode") String tagTypeCode, @RequestParam(value = "tagCode", required = false) String tagCode)
    {
        return tagService.getTags(tagTypeCode, tagCode);
    }

}