add basic stats endpoints
Merge branch 'add-stats' into 'master'

Add stats

/review @loganh

See merge request !1