Accept icu_cameratrap_rep as camera trap image event type
ICU sends "icu_cameratrap_rep" instead of the documented Gundi/EarthRanger type "cameratrap_rep". Events of the unknown type were stored as IGNORED, so the following attachment upload got 404 and no image was ingested. Treat both names as image events. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -79,7 +79,7 @@ ICU pusht Events ueber eine Gundi-v2-kompatible API. Der Service `gundi-receiver
|
||||
|
||||
| Route | Zweck |
|
||||
|-------|-------|
|
||||
| `POST /v2/events/` | `camera_status_report` oder `cameratrap_rep` (JSON, Objekt oder Liste) |
|
||||
| `POST /v2/events/` | `camera_status_report` oder `cameratrap_rep` / `icu_cameratrap_rep` (JSON, Objekt oder Liste) |
|
||||
| `POST /v2/events/<object_id>/attachments/` | JPEG zum `cameratrap_rep` (multipart/form-data) |
|
||||
| `GET /healthz` | Healthcheck |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user