All ecological measurements (plant height, animal count, soil pH, air temperature) in Ecoplots are represented as observations and observation attributes. Observations can also have additional attributes. An example of an attribute would be an “angle count point name”, but not all sampling protocols record this attribute. Therefore that property does not belong to the Observation itself and it is defined as an additional attribute. (TERN’s LinkedData site has more information about Observations).
...
Please note that using this cURL request without any search parameters will results in a huge data download into the commandline. The below example cURL request example has used pagination to restrict the response to one page containing five results. Visit EcoPlots API- paginating results for more details on pagination.
Request example:
Code Block |
---|
curl -X POST "https://ecoplots.tern.org.au/api/v1.0/observations?dformat=ndjson" -H "accept: */*" -H "X-Api-Key: aAbBcC...xXyYzZ" -H "Content-Type: application/json" -d "{\"page_num\":1,\"page_size\":5,\"query\":{}}" |
...
Please note that using this cURL request without any search parameters will results in a huge data download into the commandline. The below example cURL request example has used pagination to restrict the response to one page containing five results. Visit EcoPlots API- paginating results for more details on pagination.
Request example:
Code Block |
---|
curl -X POST "https://ecoplots.tern.org.au/api/v1.0/observations/attributes?dformat=ndjson" -H "accept: */*" -H "X-Api-Key: aAbBcC...xXyYzZ" -H "Content-Type: application/json" -d "{\"page_num\":1,\"page_size\":50,\"query\":{}}" |
...