Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/4572/?format=api
{ "id": 4572, "name": "Tuesday, Jul 12-13 2022", "details": "https://api.beluga.insectai.org/api/v2/events/4572/?format=api", "deployment": { "id": 239, "name": "Newfoundland - Unit 2", "details": "https://api.beluga.insectai.org/api/v2/deployments/239/?format=api", "user_permissions": [] }, "start": "2022-07-12T22:16:37", "end": "2022-07-13T04:59:37", "day": "2022-07-12", "date_label": "Jul 12-13 2022", "duration": "24180.0", "duration_label": "6 hours 43 min", "captures_count": 16390, "detections_count": 779, "occurrences_count": 104, "stats": { "detections_max_count": 20, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4572&ordering=timestamp", "first_capture": { "id": 16226834, "details": "https://api.beluga.insectai.org/api/v2/captures/16226834/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/newfoundland/Unit-2/Jul 12 images/20220712221637-00-01.jpg", "width": 4096, "height": 2160, "timestamp": "2022-07-12T22:16:37", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "11:00 PM", "12:00 AM", "1:00 AM", "2:00 AM", "3:00 AM", "4:00 AM" ], "y": [ 25, 23, 30, 26, 18, 27 ], "ticktext": [ "11:00 PM:00", "4:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 3, 6, 6, 8, 9, 9, 12, 13, 14, 25 ], "y": [ "Chrysoteuchia topiarius", "Eulithis explanata", "Hydriomena perfracta", "Gluphisia septentrionis", "Epiblema otiosana", "Archips strianus", "Cenopis pettitana", "Leucoma salicis", "Choristoneura fumiferana", "Choristoneura rosaceana" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-09-26T00:00:16.976159", "updated_at": "2024-10-10T19:40:23.107622", "user_permissions": [] }