Environments
The production and staging base URLs, and the endpoints on each.
AgriWebb has a production and a staging environment. Credentials are issued per environment, so call the base URLs that match yours.
Production
Authorisation server, base URL https://auth.agriwebb.com/:
| Name | Method | Path |
|---|---|---|
| Authorisation Request | GET | /oauth2/authorize |
| Token Exchange | POST | /oauth2/token |
| OAuth 2.0 Metadata | GET | /.well-known/oauth-authorization-server |
API, base URL https://api.agriwebb.com/:
| Name | Method | Path |
|---|---|---|
| GraphQL | POST | /v2 |
| Marketplace Callback | POST | /v2/marketplace/callback |
| Create Report | POST | /v2/report |
| List Reports | GET | /v2/report |
| Get Report | GET | /v2/report/{id} |
Staging
Authorisation server, base URL https://auth.staging.agriwebb.com/:
| Name | Method | Path |
|---|---|---|
| Authorisation Request | GET | /oauth2/authorize |
| Token Exchange | POST | /oauth2/token |
| OAuth 2.0 Metadata | GET | /.well-known/oauth-authorization-server |
API, base URL https://api.staging.agriwebb.com/:
| Name | Method | Path |
|---|---|---|
| GraphQL | POST | /v2 |
| Marketplace Callback | POST | /v2/marketplace/callback |
| Create Report | POST | /v2/report |
| List Reports | GET | /v2/report |
| Get Report | GET | /v2/report/{id} |