v22 API changes documentation

BMSAPI

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

API

Version Modified

Action

API

Version Modified

Action

POST /crops/{crop}/germplasm-lists/tree-state

20.1

Modified request object to segregate folders for saving: cropFolders and programFolders

GET /crops/{cropName}/breedingmethods

20.1

Replaced by POST /crops/{cropName}/breedingmethods/search

GET /crops/{cropName}/programs/{programUUID}/members

20.1

Replaced by POST /crops/{cropName}/programs/{programUUID}/members/search

GET /crops/{cropName}/programs/{programUUID}/members/eligible-users

20.1

Replaced by POST /crops/{cropName}/programs/{programUUID}/members/eligible-users/search

PATCH /crops/{cropName}/breedingmethods/{breedingMethodDbId}

20.1

Replaced by PUT /crops/{cropName}/breedingmethods/{breedingMethodDbId}

PATCH /crops/{cropName}/locations/{locationId}

20.1

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

GET​ /r-packages​/{packageId}​/r-calls

20.3

Added aggregate and rCallId fields to the returned data.

PATCH /crops/{cropName}/germplasm/{gid}/attributes/{attributeId}

20.3

Extended length of the attribute value to 5000 characters

POST /crops/{cropName}/germplasm/{gid}/attributes

20.3

Extended length of the attribute value to 5000 characters

POST crops/{crop}/germplasm

20.3

Extended length of the attribute value to 5000 characters

PATCH crops/{crop}/germplasm

20.3

Extended length of the attribute value to 5000 characters

BRAPI v1 Changes

API Call

Object

Field

v1.3 logic

Change for v21

API Call

Object

Field

v1.3 logic

Change for v21

GET /{crop}/brapi/v1/locations

Response Field

Latitude and longitude

 

Corrected values for latitude and longitude

GET /{crop}/brapi/v1/studies/{studyDbId}

Response Field

Latitude and longitude

 

Corrected values for latitude and longitude

BRAPI v2

API Call

Action

API Call

Action

GET /{crop}/brapi/v2/samples/{sampleDbId}

Newly implemented in v20.1

GET ​/{crop}​/brapi​/v2​/search​/attribute​/{searchResultsDbId}

Newly implemented in v20.2

POST ​/{crop}​/brapi​/v2​/search​/attributes

Newly implemented in v20.2

GET ​/{crop}​/brapi​/v2​/search​/attributevalues​/{searchResultsDbId}

Newly implemented in v20.2

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

Newly implemented in v20.2

GET ​/{crop}​/brapi​/v2​/lists

Newly implemented in v20.3

POST ​/{crop}​/brapi​/v2​/lists

Newly implemented in v20.3

POST /{crop}/brapi/v2/germplasm

Modified in v20.3. Extended length of the attribute value to 5000 characters

PUT /{crop}/brapi/v2/germplasm/{germplasmDbId}

Modified in v20.3. Extended length of the attribute value to 5000 characters

Notes