Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/4691/?format=api
{ "id": 4691, "name": "Saturday, Jun 11 2022", "details": "https://api.beluga.insectai.org/api/v2/events/4691/?format=api", "deployment": { "id": 236, "name": "Rigaud", "details": "https://api.beluga.insectai.org/api/v2/deployments/236/?format=api", "user_permissions": [] }, "start": "2022-06-11T21:23:04", "end": "2022-06-11T23:24:02", "day": "2022-06-11", "date_label": "Jun 11 2022", "duration": "7258.0", "duration_label": "2 hours 0 min", "captures_count": 1366, "detections_count": 29, "occurrences_count": 5, "stats": { "detections_max_count": 8, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4691&ordering=timestamp", "first_capture": { "id": 15919996, "details": "https://api.beluga.insectai.org/api/v2/captures/15919996/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_06_11/20220611212304-00-01.jpg", "width": 4096, "height": 2160, "timestamp": "2022-06-11T21:23:04", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "10:00 PM", "11:00 PM" ], "y": [ 4, 4 ], "ticktext": [ "10:00 PM:00", "11:00 PM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 0, 0, 0, 1, 1, 1, 1, 4 ], "y": [ "Eupithecia russeliata", "Eudryas unio", "Emmelina monodactyla", "Dioryctria abietivorella", "Coleophora mayrella", "Phragmatobia fuliginosa", "Palpita magniferalis", "Caloptilia stigmatella", "Leuconycta diphteroides", "Campaea perlata" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-09-26T00:00:30.541674", "updated_at": "2024-10-10T19:41:02.670560", "user_permissions": [] }