Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/2720/?format=api
{ "id": 2720, "name": "Wednesday, May 31-1 2023", "details": "https://api.beluga.insectai.org/api/v2/events/2720/?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-05-31T22:04:52", "end": "2023-06-01T04:00:00", "day": "2023-05-31", "date_label": "May 31-1 2023", "duration": "21308.0", "duration_label": "5 hours 55 min", "captures_count": 77, "detections_count": 2, "occurrences_count": 0, "stats": { "detections_max_count": 1, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2720&ordering=timestamp", "first_capture": { "id": 5623956, "details": "https://api.beluga.insectai.org/api/v2/captures/5623956/?format=api", "url": "https://static.dev.insectai.org/ami-trapdata/newfoundland/Unit-2/01-20230531220452-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2023-05-31T22:04:52", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [], "y": [], "ticktext": [] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0 ], "y": [ "Not Lepidoptera" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-02-20T15:25:21.128309", "updated_at": "2024-11-13T15:49:36.508104", "user_permissions": [] }