Update page 'VRAPoten API'

master
Mark van der Wal 2020-03-10 11:01:43 +00:00
parent 51b3e913c2
commit 2a72da6f56
1 changed files with 1 additions and 12 deletions

View File

@ -29,18 +29,7 @@ For the currently available public FarmMaps API you can take a look at swagger:
### Steps
###### Authentication
Farmmaps uses OpenID: https://auth0.com/docs/protocols/oidc/openid-connect-discovery
It is recommended to use a library to facilitate the authentication.
To get the openid configuration call the following url: https://accounts.farmmaps.awtest.nl/.well-known/openid-configuration
The user could also use the openid-configuration to handle authentication by themselves.
The token received needs to be used in the request header.
>'Authorization': 'bearer {token}'
The token can also easily be created through the swagger documentation:
https://farmmaps.awtest.nl/swagger/index.html
###### Create cropfield with FarmMaps API (optional)
[Create Cropfield](https://git.akkerweb.nl/FarmMaps/Documentatie/wiki/Create-cropfield)
@ -88,7 +77,7 @@ Response 404 Item not found
[Create Taskmap](https://git.akkerweb.nl/FarmMaps/Documentatie/wiki/Create-Taskmap)
###### Download the data
In case the data is available in can be downloaded with the File API.
In case the data is available it can be downloaded with the File API.
> Request
```javascript
GET /api/v1/items/{itemcode}/data