Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/2519/?format=api
{ "id": 2519, "name": "Monday, Jun 20-21 2022", "details": "https://api.beluga.insectai.org/api/v2/events/2519/?format=api", "deployment": { "id": 53, "name": "Luna", "details": "https://api.beluga.insectai.org/api/v2/deployments/53/?format=api", "user_permissions": [] }, "start": "2022-06-20T20:02:00", "end": "2022-06-21T05:24:15", "day": "2022-06-20", "date_label": "Jun 20-21 2022", "duration": "33735.0", "duration_label": "9 hours 22 min", "captures_count": 5877, "detections_count": 406, "occurrences_count": 123, "stats": { "detections_max_count": 15, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2519&ordering=timestamp", "first_capture": { "id": 5072815, "details": "https://api.beluga.insectai.org/api/v2/captures/5072815/?format=api", "url": "https://static.dev.insectai.org/ami-trapdata/vermont/RawImages/LUNA/2022/snapshots/2022_06_20_snapshots/20220620200200-01-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2022-06-20T20:02:00", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "8:00 PM", "9:00 PM", "10:00 PM", "11:00 PM", "12:00 AM", "1:00 AM", "2:00 AM", "3:00 AM", "4:00 AM", "5:00 AM" ], "y": [ 1, 1, 7, 10, 23, 38, 30, 20, 19, 15 ], "ticktext": [ "8:00 PM:00", "5:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 4, 4, 4, 4, 7, 9, 16, 22, 26, 38 ], "y": [ "Herpetogramma pertextalis", "Iridopsis larvaria", "Marathyssa inficita", "Hydrelia inornata", "Baileya ophthalmica", "Heterocampa guttivitta", "Campaea perlata", "Palpita magniferalis", "Lophocampa caryae", "Dryocampa rubicunda" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-10-12T22:13:05.223796", "updated_at": "2024-09-05T00:17:57.157735", "user_permissions": [] }