Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/4668/?format=api
{ "id": 4668, "name": "Wednesday, Jul 27-28 2022", "details": "https://api.beluga.insectai.org/api/v2/events/4668/?format=api", "deployment": { "id": 240, "name": "Newfoundland - Unit 1-Pasadena", "details": "https://api.beluga.insectai.org/api/v2/deployments/240/?format=api", "user_permissions": [] }, "start": "2022-07-27T00:00:00", "end": "2022-07-28T04:00:53", "day": "2022-07-27", "date_label": "Jul 27-28 2022", "duration": "100853.0", "duration_label": "1 days 4 hours", "captures_count": 11956, "detections_count": 330, "occurrences_count": 42, "stats": { "detections_max_count": 27, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4668&ordering=timestamp", "first_capture": { "id": 16209246, "details": "https://api.beluga.insectai.org/api/v2/captures/16209246/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/newfoundland/Unit-1/2022_07_27/20220727000000-00-50.jpg", "width": 4096, "height": 2160, "timestamp": "2022-07-27T00:00:00", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "10:00 PM", "12:00 AM", "1:00 AM", "2:00 AM", "3:00 AM", "4:00 AM" ], "y": [ 1, 24, 31, 12, 8, 5 ], "ticktext": [ "10:00 PM:00", "4:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 1, 2, 2, 2, 2, 3, 3, 3, 8, 33 ], "y": [ "Acleris bergmanniana", "Clepsis persicana", "Archips argyrospila", "Aethes biscana", "Eucosma cana", "Pyla fusca", "Campaea perlata", "Olethreutes schulziana", "Choristoneura rosaceana", "Cenopis pettitana" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-09-26T00:00:27.636192", "updated_at": "2024-10-10T19:40:31.146509", "user_permissions": [] }