From 2427e65f81587600354e01ee58c4f864986c1bc5 Mon Sep 17 00:00:00 2001 From: Auke Sytsma Date: Tue, 7 Apr 2020 11:33:10 +0000 Subject: [PATCH 1/3] Update page 'Home' --- Home.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Home.md b/Home.md index 04c676b..f76ee6e 100644 --- a/Home.md +++ b/Home.md @@ -32,7 +32,3 @@ FarmMaps provides 3 main endpoints to build services upon. ### Use-case examples * [VRAPoten-API](/wiki/VRAPoten-API) * [VRANbs-API](/wiki/VRANbs-API) - - - - From cecb160cd2907f5da212a59480248764023f800a Mon Sep 17 00:00:00 2001 From: Mark van der Wal Date: Wed, 8 Apr 2020 16:00:16 +0000 Subject: [PATCH 2/3] Update page 'VRANbs API' --- VRANbs-API.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/VRANbs-API.md b/VRANbs-API.md index 32f6bd3..abc40a9 100644 --- a/VRANbs-API.md +++ b/VRANbs-API.md @@ -74,8 +74,8 @@ Response 404 Item not found ##### Using VRA Nitrogen fertilization task The VraNbs task currently supports 3 operations: * **targetn** - calculates the target nitrogen based on target yield. -* **uptake** - creates the uptake map. -* **nitrogen** - creates the fertilization appliance map. +* **uptake** - creates the nitrogen uptake map. +* **application** - creates the nitrogen fertilization application map. ###### targetn operation Create a 'vnd.farmmaps.itemtype.user.input' item to use in this operation. @@ -208,7 +208,7 @@ GET /api/v1/items/{code} ``` -###### Uptake operation +###### Uptake map operation Execute the VRANbsTask with the item code of the cropfield as parameter inside {code}. Use the input map code inside {itemCode}, specifying an inputCode for the input data item. @@ -246,19 +246,19 @@ Response 401 Not authenticated Response 403 No WRITE permissions in item Response 404 Item not found -###### Nitrogen operation +###### Application map operation Execute the VRANbsTask with the item code of the cropfield as parameter inside {code}. Use the input map code inside {itemCode}, specifying an inputCode for the input data item. {itemCode} needs the code of the data input item passed into it. ex. uploaded isaria/data data. -The resulting nitrogen appliance map will be created as a child item under the cropfield item (this can be queried). +The resulting nitrogen application map will be created as a child item under the cropfield item (this can be queried). > Request ```javascript POST /api/v1/items/{code}/tasks { "taskType": "vnd.farmmaps.task.vranbs", "attributes": { - "operation": "nitrogen", + "operation": "application", "inputCode": "{itemCode}", "plantingDate": "2020-02-01T00:00:00.000Z", "measurementDate": "2020-06-01T00:00:00.000Z", From e7e179909f047e83a0d147bc8910be3b4723f6cd Mon Sep 17 00:00:00 2001 From: Mark van der Wal Date: Wed, 8 Apr 2020 16:00:55 +0000 Subject: [PATCH 3/3] Update page 'VRANbs API' --- VRANbs-API.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VRANbs-API.md b/VRANbs-API.md index abc40a9..3ebf191 100644 --- a/VRANbs-API.md +++ b/VRANbs-API.md @@ -1,4 +1,4 @@ -## VRANbs API v0.1 +## VRANbs API v0.2 [<< Home](https://git.akkerweb.nl/FarmMaps/Documentatie/wiki/Home) FarmMaps is an asynchronous architecture, the API flow keeps this in mind.