Update Data - PUT
How to update data in OpenDataBio using the API
less than a minute
Attention
Only the endpoints listed below can be updated using the API, and only the listed PUT fields can be updated for each endpoint. Field values are the same as those described for the POST API. In all cases, the numeric identifier (id
or {model}_id
) of the record to be updated must be provided.Endpoint | Description | PUT Fields |
---|---|---|
individuals | Update Individuals | (id or individual_id ), collector , tag , dataset , date , notes , taxon , identifier , identification_date , modifier , identification_notes , identification_based_on_biocollection , identification_based_on_biocollection_id , identification_individual |
individual-locations | Update Individual Locations | (id or individual_location_id ), individual , (location or latitude + longitude ), altitude , location_notes , location_date_time , x , y , distance , angle |
locations | Update Locations | (id or location_id ), name , adm_level , (geom or lat + long ), parent , altitude , datum , x , y , startx , starty , notes , ismarine |
measurements | Update Measurements | (id or measurement_id ), dataset , date , object_type , person , trait_id , value , link_id , bibreference , notes , duplicated , parent_measurement |
media | Update Media Metadata | (id or media_id or media_uuid ), collector , tags , date , title_en , title_pt , license , dataset , project , notes , (location or longitude + latitude ) |
persons | Update Persons | (id or person_id ), full_name , abbreviation , email , institution , biocollection |
vouchers | Update Vouchers | (id or voucher_id ), individual , biocollection , biocollection_type , biocollection_number , number , collector , date , dataset , notes |