api: add observation data querying

The API now also returns explicit links to resources to aid
discoverability.