Commit 0a4c5e47 authored by Daniel Gerhardt's avatar Daniel Gerhardt

Merge branch 'content-group-updating' into 'master'

Add update support to content group endpoint

See merge request arsnova/arsnova-backend!177
parents 372b7436 444619ad
......@@ -101,6 +101,12 @@ public class RoomController extends AbstractEntityController<Room> {
contentGroupService.addContentToGroup(id, groupName, contentId);
}
@PutMapping(CONTENTGROUP_MAPPING)
public void updateGroup(@PathVariable final String id, @PathVariable final String groupName,
@RequestBody final ContentGroup contentGroup) {
contentGroupService.updateContentGroup(contentGroup);
}
@GetMapping(STATS_MAPPING)
public RoomStatistics getStats(@PathVariable final String id) {
final RoomStatistics roomStatistics = new RoomStatistics();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment