v28 API changes documentation

v28 API changes documentation

BMSAPI

 

The list below only contains modifications to existing APIs. New APIs introduced in this release are NOT included.

API

Action

API

Action

GET auth/reset/{token}

Modified to not return user info anymore

POST /crops/{cropName}/lots/search

Modified to include source fields as search criteria

GET /crops/{cropName}/lots/search

Modified to include source field in response

GET /samples/{sampleDbId}

Modified to return samples from sub observation datasets

GET /samples

Modified to return samples from sub observation datasets

POST /search/samples

Modified to support samples from observation dataset as search keyword

GET /search/samples

Modified to support search of samples from observation dataset

GET /crops/{cropName}/locations/{locationId}

Modified to return parent location

GET /crops/{cropname}/locations/search

Modified to return parent location

POST /crops/{cropname}/locations/search

Modified to support parent location as search criteria

PUT /crops/{cropName}/locations/{locationId}

Modified to add parent location field

POST /crops/{cropName}/locations

Modified to add parent location field

BRAPI v1 Changes

API Call

Action

API Call

Action

GET brapi/v1/calls

Modified to return the list of all implemented /brapi/v1 calls

BRAPI v2

API Call

Action

API Call

Action

POST /brapi/search/variables

Updated to BrAPI version 2.1

GET/brapi/search/variables

Updated to BrAPI version 2.1

PATCH /{crop}/brapi/v2/observationunits

New API

GET /brapi/v2/serverinfo

Modified to return the list of all implemented /brapi/v2 calls

POST/{crop}/brapi/v2/search/locations

New API. BrAPI version 2.1

GET /{crop}/brapi/v2/search/locations

New API. BrAPI version 2.1

GET /{crop}/brapi/v2/locations/{locationDbId}

Updated to BrAPI version 2.1

GET /{crop}/brapi/v2/locations

Updated to BrAPI version 2.1

POST v2/search/variables

Modified to return results when observationVariableDbId is used in cropOntologyDbId

Notes