Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/2780/?format=api
{ "id": 2780, "name": "Wednesday, Aug 30-31 2023", "details": "https://api.beluga.insectai.org/api/v2/events/2780/?format=api", "deployment": { "id": 12, "name": "Newfoundland - Unit 2", "details": "https://api.beluga.insectai.org/api/v2/deployments/12/?format=api", "user_permissions": [] }, "start": "2023-08-30T22:09:59", "end": "2023-08-31T03:40:00", "day": "2023-08-30", "date_label": "Aug 30-31 2023", "duration": "19801.0", "duration_label": "5 hours 30 min", "captures_count": 732, "detections_count": 39, "occurrences_count": 26, "stats": { "detections_max_count": 4, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2780&ordering=timestamp", "first_capture": { "id": 5624428, "details": "https://api.beluga.insectai.org/api/v2/captures/5624428/?format=api", "url": "https://static.dev.insectai.org/ami-trapdata/newfoundland/Unit-2/01-20230830220959-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2023-08-30T22:09:59", "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", "2:00 AM", "3:00 AM" ], "y": [ 1, 7, 10, 1, 5, 2 ], "ticktext": [ "10:00 PM:00", "3:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 1, 1, 1, 1, 2, 2, 2, 2, 2, 3 ], "y": [ "Parapediasia teterellus", "Notocelia rosaecolana", "Gymnandrosoma punctidiscanum", "Epinotia medioviridana", "Oegoconia quadripuncta", "Sonia constrictana", "Epinotia trigonella", "Coleophora mayrella", "Orgyia antiqua", "Xylesthia pruniramiella" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-02-20T15:25:27.814845", "updated_at": "2024-11-13T15:49:48.281059", "user_permissions": [] }