Batch

Bulk-create plots in GeoJSON format.

post

Create multiple plots from a GeoJSON FeatureCollection.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Header parameters
acceptstring · enumOptional

Specify the response format. Defaults to application/json.

Possible values:
Body
typestringRequired

The type of the geojson object. Always 'FeatureCollection'

Example: FeatureCollection
Responses
post
/plots/batch/geojson
  • Bulk-creates multiple plots of possibly different commodities

  • Accepts GeoJSON payload conforming to a GeoJSON FeatureCollection

  • Response format can be set with Accept header to either application/json (default) or application/geo+json for GeoJSON format

  • Does not support partial failures ( if one plot does not pass validation, none of the plots will be created)

Deprecated

Bulk-create plots.

post

Create multiple plots that share the same commodities. The plots will be owned by your business. This endpoint is deprecated. Please use the POST /plots/batch/geojson endpoint instead.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
filenamestringOptional

Filename used to upload Plots in batch.

Responses
post
/plots/batch
  • This endpoint is Deprecated. Please use POST /plots/batch/geojson instead.

  • Bulk-creates multiple plots sharing the same commodities

  • Accepts JSON payloads

  • Returns a json object with success/failure status

  • Supports partial failures (meaning some plots succeed while others might fail)

Last updated