@RestController @RequestMapping(value="/api/topic-types") public class TopicsController extends AbstractDnetController
AbstractDnetController.ErrorMessage| Constructor and Description |
|---|
TopicsController() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
clearTopicTypes() |
List<String> |
deleteTopicType(String id) |
TopicType |
getTopicType(String id) |
Iterable<TopicType> |
listTopicTypes() |
TopicType |
registerTopicType(String name,
String expression,
String producerId,
String mapKeys) |
handleException@PostMapping(value="/add") public TopicType registerTopicType(@RequestParam String name, @RequestParam String expression, @RequestParam String producerId, @RequestParam String mapKeys)
@DeleteMapping(value="/{id}")
public List<String> deleteTopicType(@PathVariable
String id)
Copyright © 2025. All rights reserved.