Retrieve plant data by ID

GET /plants/{id}

Responses

  • 200 application/json

    Plant data

    Hide response attributes Show response attributes object
    • id integer Required
    • num_inpn string
    • rank_code string
    • family object
      Hide family attributes Show family attributes object
      • id integer
      • name string
    • genre object
      Hide genre attributes Show genre attributes object
      • id integer
      • name string
    • scientific_name string Required
    • correct_name string Required
    • french_name string Required
    • author string Required
    • publ_year integer
    • eflore_url string Required
GET /plants/{id}
curl \
 -X GET http://104.248.160.134/api/plants/{id}
Response examples (200)
{
  "id": 42,
  "num_inpn": "string",
  "rank_code": "string",
  "family": {
    "id": 42,
    "name": "string"
  },
  "genre": {
    "id": 42,
    "name": "string"
  },
  "scientific_name": "string",
  "correct_name": "string",
  "french_name": "string",
  "author": "string",
  "publ_year": 42,
  "eflore_url": "string"
}