Get observation type API endpoint

Fixes #32