Sightings

Merge sightings.

Merges the sent list into the stored list, last writer wins on updatedAt, and answers the merged list. Repeating the same body changes nothing, so a retry after a network failure is safe. At most 2000 entries.

put/sightings

Request

  • Base URL: https://animalchecklist.com/api/v1
  • URL: https://animalchecklist.com/api/v1/sightings
  • Auth: one of:
    • HTTP bearer
    • API key in cookie ac_session

Headers

X-Account-Idstring uuid

Required with session-cookie authentication; omit with a sync code.

Request body

Example request

{
  "sightings": [
    {
      "animalId": "red-fox"
    }
  ]
}

Response

The merged list.

Example response

{
  "data": [
    {
      "animalId": "red-fox"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.