Leaf Link > Endpoints
About
All HTTP methods should be prepended by this service's endpoint:
See below the REST resources and their endpoints available in this service.
Note
The app information that will be highly referenced here is the application information registered by the client with the providers
API key
The API keys are the required authentication info for the Leaf widgets. It is created at a Leaf user level.
Endpoints
Description | Endpoints |
---|---|
Get all Leaf user API keys | GET /api-keys |
Create a Leaf user API key | POST /api-keys |
Revoke a Leaf user API key | DELETE /api-keys |
Get all Leaf user API keys
 GET /api-keys
Get all API keys from a Leaf user.
Request examples
- cURL
- Python
- JavaScript
Response
Create a Leaf user API key
 POST /api-keys
Creates a Leaf user API key.
Request body
It is requires few properties:
leafUserId
: leaf user IdexpiresIn
: time to expiration, in seconds. The minimum allowed value is900
(15 minutes). The default valueis one year.description
: description to identify the API Key
Request examples
- cURL
- Python
- JavaScript
Response
Revoke a Leaf user API key
 DELETE /api-keys
Revokes a Leaf user API key.
Request examples
- cURL
- Python
- JavaScript
Providers application info
AgLeader
To enable AgLeader as a provider in the widget you need to have your application already registered with AgLeader. You can find more info on how to create a developer account here.
Required integration
Soon we will add the necessary information to carry out this integration.
Endpoints
Description | Endpoints |
---|---|
Get all AgLeader app information | GET /app-keys/AgLeader |
Get a AgLeader app information | GET /app-keys/AgLeader/{appName} |
Create a AgLeader app information | POST /app-keys/AgLeader/{appName} |
Update a AgLeader app information | PUT /app-keys/AgLeader/{appName} |
Delete a AgLeader app information | DELETE /app-keys/AgLeader/{appName} |
Get all AgLeader app information
 GET /app-keys/AgLeader
Get all AgLeader app information from the API Owner.
Request examples
- cURL
- Python
- JavaScript
Response
Get a AgLeader app information
 GET /app-keys/AgLeader/{appName}
Get a AgLeader app information from the API Owner.
Request examples
- cURL
- Python
- JavaScript
Response
Create a AgLeader app information
 POST /app-keys/AgLeader/{appName}
Create a AgLeader app information.
Request body
Request examples
- cURL
- Python
- JavaScript
Update a AgLeader app information
 PUT /app-keys/AgLeader/{appName}
Update a AgLeader app information.
Request body
Request examples
- cURL
- Python
- JavaScript
Delete a AgLeader app information
 DELETE /app-keys/AgLeader/{appName}
Delete a AgLeader app information.
Request examples
- cURL
- Python
- JavaScript
Climate FieldView
To enable Climate FieldView as a provider in the widget you need to have your application already registered with Climate FieldView. You can find more info on how to create a developer account here.
Required integration
Soon we will add the necessary information to carry out this integration.
Endpoints
Description | Endpoints |
---|---|
Get all Climate FieldView app information | GET /app-keys/ClimateFieldView |
Get a Climate FieldView app information | GET /app-keys/ClimateFieldView/{appName} |
Create a Climate FieldView app information | POST /app-keys/ClimateFieldView/{appName} |
Update a Climate FieldView app information | PUT /app-keys/ClimateFieldView/{appName} |
Delete a Climate FieldView app information | DELETE /app-keys/ClimateFieldView/{appName} |
Get all Climate FieldView app information
 GET /app-keys/ClimateFieldView
Get all Climate FieldView app information from the API Owner.
Request examples
- cURL
- Python
- JavaScript
Response
Get a Climate FieldView app information
 GET /app-keys/ClimateFieldView/{appName}
Get a Climate FieldView app information from the API Owner.
Request examples
- cURL
- Python
- JavaScript
Response
Create a Climate FieldView app information
 POST /app-keys/ClimateFieldView/{appName}
Create a Climate FieldView app information.
Request body
Request examples
- cURL
- Python
- JavaScript
Update a Climate FieldView app information
 PUT /app-keys/ClimateFieldView/{appName}
Update a Climate FieldView app information.
Request body
Request examples
- cURL
- Python
- JavaScript
Delete a Climate FieldView app information
 DELETE /app-keys/ClimateFieldView/{appName}
Delete a Climate FieldView app information.
Request examples
- cURL
- Python
- JavaScript
CNHI
To enable CNHI as a provider in the widget you need to have your application already registered with CNHI. You can find more info on how to create a developer account here.
Required integration
Soon we will add the necessary information to carry out this integration.
Endpoints
Description | Endpoints |
---|---|
Get all CNHI app information | GET /app-keys/CNHI |
Get a CNHI app information | GET /app-keys/CNHI/{appName}/{clientEnvironment} |
Create a CNHI app information | POST /app-keys/CNHI/{appName}/{clientEnvironment} |
Update a CNHI app information | PUT /app-keys/CNHI/{appName}/{clientEnvironment} |
Delete a CNHI app information | DELETE /app-keys/CNHI/{appName}/{clientEnvironment} |
Get all CNHI app information
 GET /app-keys/CNHI
Get all CNHI app information from the API Owner.
Request examples
- cURL
- Python
- JavaScript
Response
Get a CNHI app information
 GET /app-keys/CNHI/{appName}/{clientEnvironment}
Get a CNHI app information from the API Owner.
Request examples
- cURL
- Python
- JavaScript
Response
Create a CNHI app information
 POST /app-keys/CNHI/{appName}/{clientEnvironment}
Create a CNHI app information.
Request body
Request examples
- cURL
- Python
- JavaScript
Update a CNHI app information
 PUT /app-keys/CNHI/{appName}/{clientEnvironment}
Update a CNHI app information.
Request body
Request examples
- cURL
- Python
- JavaScript
Delete a CNHI app information
 DELETE /app-keys/CNHI/{appName}/{clientEnvironment}
Delete a CNHI app information.
Request examples
- cURL
- Python
- JavaScript
John Deere
To enable John Deere as a provider in the widget you need to have your application already registered with John Deere. You can find more info on how to create a developer account here.
Required integration
Soon we will add the necessary information to carry out this integration.
Endpoints
Description | Endpoints |
---|---|
Get all John Deere app information | GET /app-keys/JohnDeere |
Get a John Deere app information | GET /app-keys/JohnDeere/{appName}/{clientEnvironment} |
Create a John Deere app information | POST /app-keys/JohnDeere/{appName}/{clientEnvironment} |
Update a John Deere app information | PUT /app-keys/JohnDeere/{appName}/{clientEnvironment} |
Delete a John Deere app information | DELETE /app-keys/JohnDeere/{appName}/{clientEnvironment} |
Get all John Deere app information
 GET /app-keys/JohnDeere
Get all John Deere app information from the API Owner.
Request examples
- cURL
- Python
- JavaScript
Response
Get a John Deere app information
 GET /app-keys/JohnDeere/{appName}/{clientEnvironment}
Get a John Deere app information from the API Owner.
Request examples
- cURL
- Python
- JavaScript
Response
Create a John Deere app information
 POST /app-keys/JohnDeere/{appName}/{clientEnvironment}
Create a John Deere app information.
Request body
Request examples
- cURL
- Python
- JavaScript
Update a John Deere app information
 PUT /app-keys/JohnDeere/{appName}/{clientEnvironment}
Update a John Deere app information.
Request body
Request examples
- cURL
- Python
- JavaScript
Delete a John Deere app information
 DELETE /app-keys/JohnDeere/{appName}/{clientEnvironment}
Delete a John Deere app information.
Request examples
- cURL
- Python
- JavaScript
Trimble
To enable Trimble as a provider in the widget you need to have your application already registered with Trimble. You can find more info on how to create a developer account here.
Required integration
Soon we will add the necessary information to carry out this integration.
Endpoints
Description | Endpoints |
---|---|
Get all Trimble app information | GET /app-keys/Trimble |
Get a Trimble app information | GET /app-keys/Trimble/{appName} |
Create a Trimble app information | POST /app-keys/Trimble/{appName} |
Update a Trimble app information | PUT /app-keys/Trimble/{appName} |
Delete a Trimble app information | DELETE /app-keys/Trimble/{appName} |
Get all Trimble app information
 GET /app-keys/Trimble
Get all Trimble app information from the API Owner.
Request examples
- cURL
- Python
- JavaScript
Response
Get a Trimble app information
 GET /app-keys/Trimble/{appName}
Get a Trimble app information from the API Owner.
Request examples
- cURL
- Python
- JavaScript
Response
Create a Trimble app information
 POST /app-keys/Trimble/{appName}
Create a Trimble app information.
Request body
Request examples
- cURL
- Python
- JavaScript
Update a Trimble app information
 PUT /app-keys/Trimble/{appName}
Update a Trimble app information.
Request body
Request examples
- cURL
- Python
- JavaScript
Delete a Trimble app information
 DELETE /app-keys/Trimble/{appName}
Delete a Trimble app information.
Request examples
- cURL
- Python
- JavaScript