All HTTP methods should be prepended by this service's endpoint:
This service has the following endpoints available:
|Get all operations||GET |
|Get an operation||GET |
|Get an operation summary||GET |
|Get an operation's images||GET |
|Get an operation's units||GET |
For easily testing these endpoints, we recommend using our Postman collection.
Get all operations
Gets a paged list of operations that belong to the current logged in user. It is possible to filter the results by passing some query parameters. They are listed below.
|Parameter (to filter by)||Values|
|uuid of one of your users|
|ISO 8601 date. Returns operations from the startTime onward|
|ISO 8601 date. Returns operations from the updatedTime onward|
|ISO 8601 date. Returns operations until the endTime|
|the field where the operation happened|
You can also pass some parameters used exclusively for paging through results. They are:
page, an integer specifying the page being fetched (default is 0)
size, an integer specifying the size of the page (max is 100)
the default value for page size is 20
If the parameters page and size are not set, the endpoint will return 20 results.
Get an operation
Gets a single operation by its id.
Get an operation summary
Gets the summary, if available, for the operation id.
Here's a link with sample responses for "planted", "applied" and "harvested" operations.
Get an operation's images
Gets a list of PNG images generated from the operation's properties.
- JSON Response
Get an operation's units
Gets the operations's properties and their units.
- JSON Response
Crop operation by field
This endpoint can be used to remove points from the operation standardGeojson that are outside of the field geometry.
Returns a single JSON object:
You could monitor the processing status using the
leafFileId by our [Alerts Service].
With Alerts you can be notified when something happens or changes instead of needing to repeatedly query for changes. Leaf Alerts support events that happen within Leaf and events that happen within supported 3rd party software.
List of Operations Events
Leaf Operations Service can Alert you on these events: [list of Operations Events]