Class CommentController

java.lang.Object
com.onec.ui.comments.CommentController

@RestController @RequestMapping("/api/comments") public class CommentController extends Object
The discussion-thread endpoint. A thread hangs off any catalog or document detail page and is addressed by the same {kind}/{name}/{id} triple the UI routes use. Reading and posting are gated on read access to the target entity — if you can open the record you can comment on it (see UiAccessService); deleting is limited to the author or an ADMIN. Authorship is stamped from the authenticated principal via CurrentUserResolver, so the client never asserts who it is.