Merge branch 'master' of https://git.akkerweb.nl/FarmMaps/Documentatie
This commit is contained in:
commit
c991c340aa
@ -2,7 +2,7 @@
|
|||||||
Farmmaps uses OpenID-connect: https://openid.net/connect/
|
Farmmaps uses OpenID-connect: https://openid.net/connect/
|
||||||
|
|
||||||
It is recommended to use a library to facilitate the authentication.
|
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
|
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.
|
The user could also use the openid-configuration to handle authentication by themselves.
|
||||||
https://identitymodel.readthedocs.io/en/latest/native/overview.html
|
https://identitymodel.readthedocs.io/en/latest/native/overview.html
|
||||||
@ -11,4 +11,4 @@ The token received needs to be used in the request header.
|
|||||||
>'Authorization': 'bearer {token}'
|
>'Authorization': 'bearer {token}'
|
||||||
|
|
||||||
The token can also easily be created through the swagger documentation:
|
The token can also easily be created through the swagger documentation:
|
||||||
https://farmmaps.awtest.nl/swagger/index.html
|
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
|
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
|
## API flow
|
||||||
* Authenticate
|
* Authenticate
|
||||||
* Create cropping scheme (if not exists)
|
* Create cropping scheme (if not exists)
|
||||||
@ -27,7 +24,7 @@ See [Create Croppingscheme](Create-Croppingscheme.md)
|
|||||||
### Create crop field (if not exists)
|
### Create crop field (if not exists)
|
||||||
See [Create Cropfield](Create-Cropfield.md)
|
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.
|
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.
|
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.
|
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).
|
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.
|
Use this code in the following request.
|
||||||
|
|
||||||
> Request
|
> Request
|
||||||
|
Loading…
Reference in New Issue
Block a user