Update 'VRANbs-API.md'

master
Mark van der Wal 2020-07-07 20:15:27 +00:00
parent 17498e26cf
commit 8ccef5e9f9
1 changed files with 316 additions and 295 deletions

View File

@ -1,4 +1,4 @@
## VRANbs API v0.2
## VRANbs API v0.3
[<< Home](README.md)
FarmMaps is an asynchronous architecture, the API flow keeps this in mind.
@ -285,6 +285,27 @@ Response 401 Not authenticated
Response 403 No WRITE permissions in item
Response 404 Item not found
##### Optional input parameters #####
There are some optional task attribute input parameters for greater flexibility.
* **inputLayerName**
Allows you to specify which layer to use for an input item.
* **minPercentile** value between 0.0 - 1.0
Allows you to specify the minimum percentile value to 'filter' lower bound input data
* **maxPercentile** value between 0.0 - 1.0
Allows you to specify the maximum percentile value to 'filter' upperbound bound input data
Default percentile values for herbicide are 0.0 and 1.0.
Default dates are 'inherited' from the cropfield item passed to the task.
```javascript
{
"inputLayerName": "customLayerName",
"minPercentile": "0.1",
"maxPercentile": "0.95"
}
```
##### Create taskmap
[Create Taskmap](Create-Taskmap.md)