Retrieve a list of images

GET /images

Responses

  • 200 application/json

    A list of images

    Hide response attributes Show response attributes object
    • id integer
    • author string
    • location string
    • publ_date string(date)
    • organ string
    • url string
    • plant object
      Hide plant attributes Show plant 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 /images
curl \
 -X GET http://104.248.160.134/api/images
Response examples (200)
[
  {
    "id": 42,
    "author": "string",
    "location": "string",
    "publ_date": "2024-05-04",
    "organ": "string",
    "url": "string",
    "plant": {
      "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"
    }
  }
]