Get Plants
Returns a list of plants.
GET
/plants
curl --request GET \
--url https://api.example.com/plants
import requests
url = "https://api.example.com/plants"
response = requests.get(url)
const response = await fetch("https://api.example.com/plants", {
method: "GET",
});
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, _ := http.NewRequest("GET", "https://api.example.com/plants", nil)
resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()
data, _ := io.ReadAll(resp.Body)
fmt.Println(string(data))
}
A list of plants.
{
"name": "<string>",
"tag": "<string>"
}
Invalid request.
{
"error": "<string>",
"message": "<string>"
}
Parameters
limit
Maximum number of plants to return.
Get Plants
Query Parameters
Maximum number of plants to return.