Encounters
Update encounter fields
Changed onApply JSON Patch operations (RFC 6902) to modify encounter fields. Supports operations: add, remove, replace, move, copy.
Common updatable fields include: genus, specificEpithet, year, month, day, sex, lifeStage, country, locationId, verbatimLocality, decimalLatitude, decimalLongitude, individualId, occurrenceId, behavior, and more.
Special fields like acousticTag, satelliteTag, metalTags, measurements, and assets can also be modified. Some fields (genus, specificEpithet, year, submitterID) cannot be removed.
patch/api/v3/encounters/{encounterId}
Request
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- AuthAPI key in cookie JSESSIONID
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
encounterIdstring uuid required
Encounter UUID
Request body
Example request
[
{
"path": "/locationId"
}
]Response
Patch applied successfully
Changes
- info
endpoint added
- info
- breaking
api removed without deprecation
- breaking