List of plants
GET/plants
The plants your key can read.
Responses
- 200
- 401
- 403
- 500
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
Array [
- MOD1
]
Unique identifier (UUID) of the plant.
project_name
object
Name of the plant.
anyOf
string
[
{
"uuid": "string",
"project_name": "string"
}
]
MISSING_API_KEY: no x-api-key header.
- application/json
- Schema
- Example (from schema)
Schema
- MOD1
Stable error code to branch on, e.g. ACCESS_DENIED.
Human-readable explanation.
error
object
Same text as message, on 401 and 403 only (older clients).
anyOf
string
{
"code": "string",
"message": "string",
"error": "string"
}
UNKNOWN_API_KEY or ACCESS_DENIED: the key's access does not cover this route, plant or date.
- application/json
- Schema
- Example (from schema)
Schema
- MOD1
Stable error code to branch on, e.g. ACCESS_DENIED.
Human-readable explanation.
error
object
Same text as message, on 401 and 403 only (older clients).
anyOf
string
{
"code": "string",
"message": "string",
"error": "string"
}
INTERNAL_ERROR.
- application/json
- Schema
- Example (from schema)
Schema
- MOD1
Stable error code to branch on, e.g. ACCESS_DENIED.
Human-readable explanation.
error
object
Same text as message, on 401 and 403 only (older clients).
anyOf
string
{
"code": "string",
"message": "string",
"error": "string"
}