Update 'VRANbs-API.md'

This commit is contained in:
Mark van der Wal 2020-07-07 20:15:27 +00:00
parent 17498e26cf
commit 8ccef5e9f9

View File

@ -1,4 +1,4 @@
## VRANbs API v0.2 ## VRANbs API v0.3
[<< Home](README.md) [<< Home](README.md)
FarmMaps is an asynchronous architecture, the API flow keeps this in mind. 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 403 No WRITE permissions in item
Response 404 Item not found 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](Create-Taskmap.md) [Create Taskmap](Create-Taskmap.md)