v2

latestSwagger 2.02026-08-019015.2 KB
observations

Get observations. Filterable by one or more: type of observation, site, observable property, ultimate feature of interest

In the Ecology API, the most central point of interest are the Observations. Each observation has a single result for a particular Observable Property for a particular Feature of Interest. This API accesses hundreds of thousands of surveys and many millions of observations, this means this endpoint requires at least one filter of site, observable property, observation type or ultimate feature of interest. Example calls: Get observations from Jan 2020 of WHPT_ASPT or WHPT_TOTAL metrics /ecology/api/v1/observations?skip=0&take=250&date_from=2020-01-01&date_to=2020-01-31&property_id=http%3A%2F%2Fenvironment.data.gov.uk%2Fecology%2Fdef%2Fbio%2FWhptAspt&property_id=http%3A%2F%2Fenvironment.data.gov.uk%2Fecology%2Fdef%2Fbio%2FWhptTotal

Get observations from two sites /ecology/api/v1/observations?skip=0&take=250&site_id=http%3A%2F%2Fenvironment.data.gov.uk%2Fecology%2Fsite%2Fbio%2F10254&site_id=http%3A%2F%2Fenvironment.data.gov.uk%2Fecology%2Fsite%2Fbio%2F159200

Get a particular type of observation from a site taken since Jan 1st 2020 /ecology/api/v1/observations?skip=0&take=250site_id=http%3A%2F%2Fenvironment.data.gov.uk%2Fecology%2Fsite%2Fbio%2F10982&type_id=http%3A%2F%2Fenvironment.data.gov.uk%2Fecology%2Fdef%2Fbio%2FRiverInvMetricsObservation&date_from=2020-01-01

Get observations for a particular feature of interest /ecology/api/v1/observations?skip=0&take=250&ultimate_foi_id=http%3A%2F%2Fenvironment.data.gov.uk%2Fecology%2Fspecies%2Ffish%2F194

get/ecology/api/v1/observations

Query parameters

skipinteger
takeinteger
type_idstring
site_idstring
property_idstring
ultimate_foi_idstring
date_tostring
date_fromstring

Response

Default response

All 9 operations