Document initial api

The plan is to document the initial api methods and use the PR to get everyone's feedback on how the api should look before starting on the implementation.
Hmm, ok thanks. Changing this to `/api/metrics/`, and then we can still do either.