Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

EcoPlots API endpoints support the download of survey-based ecological data. For this purpose, a series of endpoints are available to allow users to download subsets of the data that is available.

Each endpoint has its own sub-section containing examples.

Child pages (Children Display)

...

The API endpoints are accessible via a cURL command-line request sent via HTTP. Request examples will contain "X-Api-Key: aAbBcC...xXyYzZ". Replace aAbBcC...xXyYzZ with your own API key that you have generated in your TERN account remembering to keep the final double quote (“).

In addition, if you have installed the jq command-line tool, you can pipe the output to format the response JSON string nicely (pretty print). The request response examples have been pretty print formatted to aid with readability.

Each endpoint has its own sub-section containing examples.

...

Due to the size of the responses, the example responses are only excerpts of the data that is available when the command line request is run.