Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/2437/?format=api
{ "id": 2437, "name": "Wednesday, May 10-11 2023", "details": "https://api.beluga.insectai.org/api/v2/events/2437/?format=api", "deployment": { "id": 52, "name": "Mothra", "details": "https://api.beluga.insectai.org/api/v2/deployments/52/?format=api", "user_permissions": [] }, "start": "2023-05-10T21:10:00", "end": "2023-05-11T04:00:00", "day": "2023-05-10", "date_label": "May 10-11 2023", "duration": "24600.0", "duration_label": "6 hours 50 min", "captures_count": 131, "detections_count": 13, "occurrences_count": 12, "stats": { "detections_max_count": 1, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2437&ordering=timestamp", "first_capture": { "id": 4269341, "details": "https://api.beluga.insectai.org/api/v2/captures/4269341/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/vermont/RawImages/MOTHRA/2023/20230510211000-01-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2023-05-10T21:10:00", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [], "y": [], "ticktext": [] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 0, 0, 0, 0, 0, 0 ], "y": [ "Parectopa robiniella", "Lyonetia prunifoliella", "Eustixia pupula", "Emmelina monodactyla", "Carmenta bassiformis", "Argyresthia goedartella", "Amorbia humerosana", "Agnippe prunifoliella" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-10-12T21:59:50.962827", "updated_at": "2025-01-15T19:04:17.686198", "user_permissions": [] }