Skip to content

Add /stats endpoint for rooms with content group stats

Daniel Gerhardt requested to merge room-contentgroup-stats into master

The endpoint currently returns the number of contents of the room and a list of all content groups with their number of contents. Additional stats might be added later.

I'm not completely happy with building the RoomStatistics in the controller instead of a service but otherwise it would make handling of service dependencies more complicated.

Refs #45.

Merge request reports