Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/2778/?format=api
{ "id": 2778, "name": "Wednesday, Aug 16-17 2023", "details": "https://api.beluga.insectai.org/api/v2/events/2778/?format=api", "deployment": { "id": 12, "name": "Newfoundland - Unit 2", "details": "https://api.beluga.insectai.org/api/v2/deployments/12/?format=api", "user_permissions": [] }, "start": "2023-08-16T22:09:59", "end": "2023-08-17T00:29:59", "day": "2023-08-16", "date_label": "Aug 16-17 2023", "duration": "8400.0", "duration_label": "2 hours 20 min", "captures_count": 215, "detections_count": 4, "occurrences_count": 2, "stats": { "detections_max_count": 2, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2778&ordering=timestamp", "first_capture": { "id": 5624424, "details": "https://api.beluga.insectai.org/api/v2/captures/5624424/?format=api", "url": "https://static.dev.insectai.org/ami-trapdata/newfoundland/Unit-2/01-20230816220959-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2023-08-16T22:09:59", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "11:00 PM", "12:00 AM" ], "y": [ 1, 1 ], "ticktext": [ "11:00 PM:00", "12:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 1, 1 ], "y": [ "Acleris variana", "Acleris forsskaleana", "Heliomata glarearia", "Argyrotaenia quadrifasciana" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-02-20T15:25:27.690950", "updated_at": "2024-11-13T15:49:47.615131", "user_permissions": [] }