Versions Compared

Key

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

...

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\":{}}"

...