Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/2487/?format=api
{ "id": 2487, "name": "Friday, Aug 4-5 2023", "details": "https://api.beluga.insectai.org/api/v2/events/2487/?format=api", "deployment": { "id": 52, "name": "Mothra", "details": "https://api.beluga.insectai.org/api/v2/deployments/52/?format=api", "user_permissions": [] }, "start": "2023-08-04T21:10:00", "end": "2023-08-05T00:29:59", "day": "2023-08-04", "date_label": "Aug 4-5 2023", "duration": "11999.0", "duration_label": "3 hours 19 min", "captures_count": 21, "detections_count": 28, "occurrences_count": 28, "stats": { "detections_max_count": 6, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2487&ordering=timestamp", "first_capture": { "id": 4272498, "details": "https://api.beluga.insectai.org/api/v2/captures/4272498/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/vermont/RawImages/MOTHRA/2023/20230804211000-01-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2023-08-04T21:10:00", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "10:00 PM", "11:00 PM", "12:00 AM" ], "y": [ 1, 1, 6 ], "ticktext": [ "10:00 PM:00", "12:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 0, 1, 1, 1, 1, 1, 1, 2 ], "y": [ "Choristoneura rosaceana", "Cenopis directana", "Cenopis reticulatana", "Protoboarmia porcelaria", "Eudonia strigalis", "Alcis porcelaria", "Campaea perlata", "Hypoprepia fucosa", "Lymantria dispar", "Macaria aemulataria" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-10-12T22:00:15.817719", "updated_at": "2025-01-15T19:04:34.053590", "user_permissions": [] }