Merge branch 'master' of https://git.akkerweb.nl/FarmMaps/Documentatie
This commit is contained in:
commit
c991c340aa
@ -1,14 +1,14 @@
|
||||
## Autentication
|
||||
Farmmaps uses OpenID-connect: https://openid.net/connect/
|
||||
|
||||
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.
|
||||
https://identitymodel.readthedocs.io/en/latest/native/overview.html
|
||||
|
||||
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
|
||||
## Autentication
|
||||
Farmmaps uses OpenID-connect: https://openid.net/connect/
|
||||
|
||||
It is recommended to use a library to facilitate the authentication.
|
||||
To get the openid configuration call the following url: https://accounts.farmmaps.eu/.well-known/openid-configuration
|
||||
|
||||
The user could also use the openid-configuration to handle authentication by themselves.
|
||||
https://identitymodel.readthedocs.io/en/latest/native/overview.html
|
||||
|
||||
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.eu/swagger/index.html
|
@ -3,9 +3,6 @@
|
||||
|
||||
For the currently available public FarmMaps API you can take a look at swagger: https://farmmaps.eu/swagger
|
||||
|
||||
## Prerequisite
|
||||
The blight package is added to the account which is used to authenticate.
|
||||
|
||||
## API flow
|
||||
* Authenticate
|
||||
* Create cropping scheme (if not exists)
|
||||
@ -27,7 +24,7 @@ See [Create Croppingscheme](Create-Croppingscheme.md)
|
||||
### Create crop field (if not exists)
|
||||
See [Create Cropfield](Create-Cropfield.md)
|
||||
|
||||
### <a name="get-advice"></a>Get blight advice
|
||||
### <a name="create-advice"></a>Get blight advice
|
||||
|
||||
Blight is only available for potato fields.
|
||||
The advice is automatically created when new potato fields are added and is scheduled to be updated at configured times.
|
||||
@ -123,7 +120,7 @@ This item also contains other parameters like pressure, disable/enable oospores
|
||||
Changing these parameters will not create in a new advice automatically.
|
||||
But is it possible to create an advice at any time, see [Create blight advice](#create-advice).
|
||||
|
||||
Get the blight advice code from [Get blight advice](#get-advice)
|
||||
Get the blight advice code from [Get blight advice](#create-advice)
|
||||
Use this code in the following request.
|
||||
|
||||
> Request
|
||||
|
Loading…
Reference in New Issue
Block a user