Update 'Blight-API.md'

master
Wilco Krikke 2021-05-28 14:58:47 +00:00
parent bd57ff9ece
commit d184c4b194
1 changed files with 10 additions and 2 deletions

View File

@ -6,11 +6,19 @@ For the currently available public FarmMaps API you can take a look at swagger:
## API flow
* Authenticate User
* Create cropping scheme (if not exists)
* Create crop field (if not exists)
* Get blight advice
* Create blight advice
* Update UserInput
* Add spray
* Add irrigation
* Optional steps
* *Create cropfield through FarmMaps API*
* Item 'vnd.farmmaps.itemtype.cropfield' must be created with its data as specified in the api.
* Task 'vnd.farmmaps.task.workflow' can be executed if needed executed to aggregate all needed data.
* This is an asynchronous process and can take a while before all data is collected in FarmMaps.
* Task 'vnd.farmmaps.task.blight' must be executed to create an advice. This task is automatically created for crop fields with potato and is scheduled to run at configered times to keep the advice updated.
It is also possible to executed this task at any time through the API. This will be explained in the following chapters.