stub Analytics API; add first endpoint