Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/4992/?format=api
{ "id": 4992, "name": "Monday, Sep 12-13 2022", "details": "https://api.beluga.insectai.org/api/v2/events/4992/?format=api", "deployment": { "id": 236, "name": "Rigaud", "details": "https://api.beluga.insectai.org/api/v2/deployments/236/?format=api", "user_permissions": [] }, "start": "2022-09-12T20:35:36", "end": "2022-09-13T01:49:26", "day": "2022-09-12", "date_label": "Sep 12-13 2022", "duration": "18830.0", "duration_label": "5 hours 13 min", "captures_count": 6465, "detections_count": 161, "occurrences_count": 19, "stats": { "detections_max_count": 12, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4992&ordering=timestamp", "first_capture": { "id": 17327592, "details": "https://api.beluga.insectai.org/api/v2/captures/17327592/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_09_12/20220912203536-00-01.jpg", "width": 4096, "height": 2160, "timestamp": "2022-09-12T20:35:36", "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" ], "y": [ 1, 4, 5, 9, 5, 3 ], "ticktext": [ "8:00 PM:00", "1:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 1, 1, 1, 2, 2, 2, 2, 2, 3, 3 ], "y": [ "Galasa nigrinodis", "Emmelina monodactyla", "Epinotia lindana", "Idia aemula", "Microcrambus elegans", "Campaea perlata", "Ochropleura implecta", "Ypsolophus ustella", "Pandemis lamprosana", "Choristoneura rosaceana" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-09-26T00:01:20.431001", "updated_at": "2024-10-10T19:42:07.667807", "user_permissions": [] }