Klasse TagController
java.lang.Object
com.spaghetticodegang.trylater.recommendation.tag.TagController
@RestController
@RequestMapping("/api/recommendation/tags")
public class TagController
extends Object
REST controller providing endpoints for tag management.
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungorg.springframework.http.ResponseEntity
<List<TagGroupResponseDto>> getTagsByCategory
(CategoryType category) Retrieves all tags in tag groups that belong to the specified recommendation category.
-
Konstruktordetails
-
TagController
public TagController()
-
-
Methodendetails
-
getTagsByCategory
@GetMapping public org.springframework.http.ResponseEntity<List<TagGroupResponseDto>> getTagsByCategory(@RequestParam(name="category",required=true) CategoryType category) Retrieves all tags in tag groups that belong to the specified recommendation category.- Parameter:
category
- the recommendation category to filter tags byCategoryType
- Gibt zurück:
- a list of tags in tag groups relevant to the given category
-