Precision Planting Panorama Credentials
Form of a Panorama Credentials resource:
tip
The recommended way to create Panorama credentials is through the one-click integration endpoint:
POST /users/{leafUserId}/one-click-integration/Panorama. This handles the Cognito token exchange and sharing handshake automatically. See the Panorama authentication tutorial for a full walkthrough.
All HTTP methods should be prepended by this service's endpoint:
See below the REST resources and their endpoints available in this service.
Endpoints
| Description | Endpoints |
|---|---|
| Get the Panorama credentials | GET /users/{leafUserId}/panorama-credentials |
| Create Panorama credentials | POST /users/{leafUserId}/panorama-credentials |
| Delete Panorama credentials | DELETE /users/{leafUserId}/panorama-credentials |
Panorama Credentials Endpoints
Get the Panorama credentials
 GET /users/{leafUserId}/panorama-credentials
Get the Panorama credentials of the Leaf User based on its id and returns a JSON with the credentials. If during background processing we detect that this credential is no longer valid, the value of the status will be changed.
Request examples
- cURL
- Python
- JavaScript
Response
Create Panorama credentials
 POST /users/{leafUserId}/panorama-credentials
Create Panorama credentials for the Leaf User.
Request body
Request examples
- cURL
- Python
- JavaScript
Response
A Panorama credentials with status.
Delete Panorama credentials
 DELETE /users/{leafUserId}/panorama-credentials
Delete Leaf User's Panorama credentials.
Request examples
- cURL
- Python
- JavaScript
Troubleshooting
With these endpoints, you can do some troubleshooting to see your credential's health.
Events
 GET /users/{leafUserId}/panorama-credentials/events
Get the logs of the provider credential based on the LeafUserId sent.
Request examples
- cURL
- Python
- JavaScript
Response
warning
The logs are available only for 30 days and once the credential is deleted or disassociated with the Leaf User, the logs are no longer available.