Welcome to TERN Knowledge Base
EcoPlots API - dataqueries request endpoints
Similar to the other types of EcoPlots API endpoints, requests can be used with a request written in cURL, python, postman, R, or another programming language.
The "status": 200
message at the end of the response body means that the search has run successfully.
Please note that /species/observations
does not return the "status": 200
message upon success.
Endpoints
Endpoint and Description | URI Example | Example Response Body excerpts |
---|---|---|
Method: POST Outputs: Format: As no format has been specified in this example, results will be displayed as NDJSON. Results can be output from the API as Response: Returns a list with all the unique species' names ( To reveal these results, this dataqueries API endpoint automatically applies any combination following filters:
|
|
{
"species": [
...
{
"count": 6072,
"speciesname": "eucalyptus crebra"
},
...
{ ... }
],
"status": 200
}
{
"species": [
...
{
"acceptedName": "Allocasuarina torulosa (Aiton) L.A.S.Johnson",
"acceptedNameID": "https://id.biodiversity.org.au/node/apni/2898576",
"class": "Equisetopsida",
"conceptID": "https://id.biodiversity.org.au/instance/apni/598754",
"count": 1236,
"family": "Casuarinaceae",
"kingdom": "Plantae",
"nameAccordingTo": "CHAH (2005), Australian Plant Census",
"nameAccordingToID": "https://id.biodiversity.org.au/reference/apni/42312",
"nomenclaturalCode": "ICN",
"nomenclaturalStatus": "",
"scientificName": "Allocasuarina torulosa (Aiton) L.A.S.Johnson",
"scientificNameAuthorship": "(Aiton) L.A.S.Johnson",
"scientificNameID": "https://id.biodiversity.org.au/name/apni/82362",
"taxonomicStatus": "accepted"
}
...
{ ... }
],
"status": 200
} |
Method: POST Format: As no format has been specified in this example, results will be displayed as NDJSON. Results can be output from the API as Response: Will retrieve a list of all the unique observed properties or parameters and their counts. The Results by applying any combination following filters:
|
| {
"observable_property": [
...
{
"count": 2243,
"label": "tree alive status",
"observed_property": "http://linked.data.gov.au/def/tern-cv/e3e69168-a959-4b8e-a1ea-2413fc3c2e4e"
},
{
"count": 1664,
"label": "scientific name",
"observed_property": "http://linked.data.gov.au/def/tern-cv/56195246-ec5d-4050-a1c6-af786fbec715"
},
{
"count": 1664,
"label": "IUCN conservation status",
"observed_property": "http://linked.data.gov.au/def/tern-cv/6f59a7ac-7acf-4c98-8db6-002ebd9a315f"
}
...
{ ... }
],
"status": 200
} |
Method: POST Format: Results can be output from the API as Response: Returns a list of all the unique observations made from the specified list of species. The following filters are applied:
Unique features: This endpoint uses pagination, hence the Visit EcoPlots API- paginating results for more details on pagination.
|
|
|
Provide your feedback about the experience with Knowledge base