Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/2702/?format=api
{ "id": 2702, "name": "Friday, Jun 23-24 2023", "details": "https://api.beluga.insectai.org/api/v2/events/2702/?format=api", "deployment": { "id": 70, "name": "Wingscape Mothwatch", "details": "https://api.beluga.insectai.org/api/v2/deployments/70/?format=api", "user_permissions": [] }, "start": "2023-06-23T21:00:00", "end": "2023-06-24T04:55:00", "day": "2023-06-23", "date_label": "Jun 23-24 2023", "duration": "28500.0", "duration_label": "7 hours 55 min", "captures_count": 96, "detections_count": 2512, "occurrences_count": 1676, "stats": { "detections_max_count": 57, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2702&ordering=timestamp", "first_capture": { "id": 5622135, "details": "https://api.beluga.insectai.org/api/v2/captures/5622135/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/vermont/RawImages/WINGSCAPE/2023/20230623210000.jpg", "width": 6080, "height": 3420, "timestamp": "2023-06-23T21:00:00", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "9:00 PM", "10:00 PM", "11:00 PM", "12:00 AM", "1:00 AM", "2:00 AM", "3:00 AM", "4:00 AM" ], "y": [ 20, 32, 41, 62, 55, 32, 45, 33 ], "ticktext": [ "9:00 PM:00", "4:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 8, 8, 8, 11, 12, 12, 14, 19, 35, 75 ], "y": [ "Exoteleia dodecella", "Amorbia humerosana", "Ctenucha virginica", "Pasiphila rectangulata", "Spilosoma congrua", "Aphomia sociella", "Pyla fusca", "Palpita magniferalis", "Lophocampa caryae", "Cydia pomonella" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-02-03T13:52:04.478624", "updated_at": "2025-01-22T00:28:42.412093", "user_permissions": [] }