Moved wiki to main repository instead of wiki as this is a documentation repository.

This commit is contained in:
Mark van der Wal
2020-05-05 20:45:25 +02:00
parent 1315978043
commit a48f5c9625
20 changed files with 2113 additions and 2 deletions

30
Create-Taskmap.md Normal file
View File

@@ -0,0 +1,30 @@
## Create taskmap
The user can use the "ItemTask" API to execute the TaskmapTask with the item code which contains the tiff data in {code}.
> Request
```javascript
POST /api/v1/items/{code}/tasks
{
"taskType": "vnd.farmmaps.task.taskmap"
}
```
> Response 201
```javascript
{
"code": "string",
"taskType": "vnd.farmmaps.task.taskmap",
"delay": "",
"attributes": {
"additionalProp1": "string",
"additionalProp2": "string",
"additionalProp3": "string"
}
}
```
Response 400 Tasktype not found
Response 401 Not authenticated
Response 403 No WRITE permissions in item
Response 404 Item not found
This will create the item with shape data as a sibling of the input item.