This API/Projects provides lots of information about plantations, their needs, and sowing advice.
This project is protected by throttling.
You can compute your remaining requests via the responses headers.
Header | Description | Example |
---|---|---|
x-ratelimit-limit |
the maximum number of requests | 20 |
x-ratelimit-remaining |
remaining requests | 18 |
x-ratelimit-reset |
time to reset the counter | 30 |
Header | Description | Example |
---|---|---|
Content-Range |
The Content-Range response HTTP header indicates where in a full body message a partial message belongs. like elements {range-start}-{range-end}/{size} |
elements 0-10/1 |
The HTTP Authorization
request header is required to authenticate a user on many endpoints.
This header must be provided like :
curl -X 'GET' ...
-H 'Authorization: Bearer {TOKEN}'
To obtain this {TOKEN}
you must call the endpoint /account/login
(cf SwaggerUI).
{
"statusCode": 400,
"message": [
{
"value": "0",
"property": "example",
"constraints": {
"matches": "example must match ^/[a-z0-9_-]/$ regular expression",
"isLength": "example must be longer than or equal to 3 characters",
"isString": "example must be a string"
}
}
],
"error": "Bad Request"
}
View the OpenGarden Public Roadmap
For the versions available, see the tags on this repository.
We use SemVer for versioning.
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.