Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/4569/?format=api
{ "id": 4569, "name": "Monday, Jul 11-12 2022", "details": "https://api.beluga.insectai.org/api/v2/events/4569/?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-11T23:06:07", "end": "2022-07-12T04:59:46", "day": "2022-07-11", "date_label": "Jul 11-12 2022", "duration": "21219.0", "duration_label": "5 hours 53 min", "captures_count": 16550, "detections_count": 933, "occurrences_count": 154, "stats": { "detections_max_count": 20, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4569&ordering=timestamp", "first_capture": { "id": 15916593, "details": "https://api.beluga.insectai.org/api/v2/captures/15916593/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/newfoundland/Unit-2/20220711230607-00-01.jpg", "width": 4096, "height": 2160, "timestamp": "2022-07-11T23:06:07", "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": [ 1, 36, 26, 57, 52, 56 ], "ticktext": [ "11:00 PM:00", "4:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 4, 5, 5, 6, 7, 8, 9, 23, 36, 67 ], "y": [ "Disclisioprocta stellata", "Dysstroma citrata", "Macaria signaria", "Clepsis persicana", "Palthis angulalis", "Epiblema otiosana", "Gluphisia septentrionis", "Acronicta fragilis", "Pasiphila rectangulata", "Choristoneura rosaceana" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-09-26T00:00:15.598226", "updated_at": "2024-10-10T19:40:21.893593", "user_permissions": [] }