Diseases info - flowerchecker/plant-id-examples GitHub Wiki

Get a list of all disease classes identified by the Plant.id Health assesment.

You need to authenticate with your API key when sending the request. No additional parameters are required.

⚠️ This endpoint is not a standard part of the Plant.id Health assessment and is not enabled by default. It is intended mainly for internal use. If you think you are entitled to use it, contact us at [email protected].

Request

Endpoint:

  • https://api.plant.id/v2/diseases_info

Request method:

  • POST

Response

The response is a simple JSON. Keys represent diseases classes, which Plant.id can identify and include the following information:

  • "entity_id" - unique identifier of the disease
  • "parent" - nearest parent class (higher in the hierarchy of the disease classes)
  • "parents" - list of all parent classes in our hierarchy of the disease classes

Example:

{
   "Abiotic":{
      "entity_id":456,
      "parent":null,
      "parents":[    
      ]
   },
   ...
   "Aphids":{
      "entity_id":704,
      "parent":"Sternorrhyncha",
      "parents":[
         "Animalia",
         "Insecta",
         "Hemiptera",
         "Sternorrhyncha"
      ]
   },
   ...
   "Downy mildew":{
      "entity_id":1014,
      "parent":"Peronosporaceae",
      "parents":[
         "Chromista",
         "Peronosporea",
         "Peronosporaceae"
      ]
   ...
}