Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/4570/?format=api
{ "id": 4570, "name": "Saturday, Jul 9-10 2022", "details": "https://api.beluga.insectai.org/api/v2/events/4570/?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-09T00:00:01", "end": "2022-07-10T02:22:47", "day": "2022-07-09", "date_label": "Jul 9-10 2022", "duration": "94966.0", "duration_label": "1 days 2 hours", "captures_count": 6608, "detections_count": 467, "occurrences_count": 36, "stats": { "detections_max_count": 21, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4570&ordering=timestamp", "first_capture": { "id": 15951593, "details": "https://api.beluga.insectai.org/api/v2/captures/15951593/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/newfoundland/Unit-1/2022_07_09/20220709000001-00-31.jpg", "width": 4096, "height": 2160, "timestamp": "2022-07-09T00:00:01", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "10:00 PM", "11:00 PM", "12:00 AM", "1:00 AM", "3:00 AM" ], "y": [ 1, 1, 55, 11, 6 ], "ticktext": [ "10:00 PM:00", "3:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 2, 2, 2, 2, 2, 4, 5, 5, 8, 20 ], "y": [ "Eucosma cana", "Coleophora mayrella", "Apotomis", "Apotomis funerea", "Dysstroma citrata", "Archips strianus", "Choristoneura fumiferana", "Endothenia hebesana", "Choristoneura rosaceana", "Clepsis persicana" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-09-26T00:00:16.163308", "updated_at": "2024-10-10T19:40:14.834599", "user_permissions": [] }