v31

OpenAPI 3.0.1raw.githubusercontent.com2020-12-1300352.6 KB
Corrections

Submit a correction

Submit a new correction for the given species, that will be reviewed and merged into the database. See Complete our data to get started.

post/api/v1/corrections/species/{record_id}

Path parameters

record_idstring required

The id or the slug of the requested correction

Request body

notesstring nullable

Some optional notes you can add. They will be visible to everybody

source_type'external' | 'observation' | 'report' | 'null' nullable

Where does this data come from ? If "external", you'll need to provide the "source_reference" field with the url or the name of the source, such as a wikipedia article, a publication, etc...

source_referencestring nullable

The url of the name of an article or a publication for theses changes

Example request

{
  "correction": {
    "scientific_name": "Abelmoschus nonexistus",
    "rank": "species",
    "genus": "Torilis",
    "author": "Moench",
    "common_name": "Okra|Bonnie Green Okra",
    "observations": "Vegetal flavour, Medium-yellow flowers",
    "planting_sowing_description": "A description on how to sow the plant",
    "duration": [
      "annual"
    ],
    "flower_color": [
      "yellow"
    ],
    "flower_conspicuous": true,
    "foliage_color": [
      "green|blue"
    ],
    "fruit_color": [
      "white"
    ],
    "fruit_months": [
      "jan|feb|mar"
    ],
    "edible_part": [
      "flowers"
    ],
    "light": 8,
    "atmospheric_humidity": 3,
    "average_height_unit": "cm",
    "maximum_height_unit": "cm",
    "planting_row_spacing_unit": "cm",
    "planting_spread_unit": "cm",
    "planting_days_to_harvest": 120,
    "maximum_precipitation_unit": "mm",
    "minimum_precipitation_unit": "mm",
    "minimum_root_depth_unit": "cm",
    "minimum_temperature_deg_c": 5,
    "maximum_temperature_deg_c": 20
  }
}

Response

Success