# BrAPI V2 Test Server

Welcome to the BrAPI V2 Test Server. This is a fully implemented example of the BrAPI specification, backed by a database full of dummy data. The server is written in Java using the Spring Boot library, the backing database is PostgreSQL. Take a look at the source and download the project from Github.

Some endpoints in BrAPI V2 allow a user to submit new data or update existing data. To protect against general malicious users and bots, these end points require authentication. Please contact the Server Admin to get access.

Here are some examples to get you started.

- Get the list of implemented endpoints and some basic info about this server
  /brapi/v2/serverinfo
- Get the list of crops supported by this server
  /brapi/v2/commoncropnames
- Get all the Studies about Tomatillo's
  /brapi/v2/studies?commonCropName=Tomatillo
- Get all the observations taken on May 13, 2013
  /brapi/v2/observations
  ?observationTimeStampRangeStart=2013-05-13T00:00:00-04:00
  &observationTimeStampRangeEnd=2013-05-13T23:59:59-04:00