Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/2486/?format=api
{ "id": 2486, "name": "Wednesday, Aug 2-3 2023", "details": "https://api.beluga.insectai.org/api/v2/events/2486/?format=api", "deployment": { "id": 52, "name": "Mothra", "details": "https://api.beluga.insectai.org/api/v2/deployments/52/?format=api", "user_permissions": [] }, "start": "2023-08-02T21:09:59", "end": "2023-08-03T04:00:00", "day": "2023-08-02", "date_label": "Aug 2-3 2023", "duration": "24601.0", "duration_label": "6 hours 50 min", "captures_count": 42, "detections_count": 5, "occurrences_count": 5, "stats": { "detections_max_count": 1, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2486&ordering=timestamp", "first_capture": { "id": 4272456, "details": "https://api.beluga.insectai.org/api/v2/captures/4272456/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/vermont/RawImages/MOTHRA/2023/20230802210959-01-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2023-08-02T21:09:59", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "10:00 PM", "11:00 PM" ], "y": [ 1, 1 ], "ticktext": [ "10:00 PM:00", "11:00 PM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 1, 1 ], "y": [ "Parapediasia decorellus", "Ethmia bipunctella", "Idia americalis", "Drepana arcuata" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-10-12T22:00:15.751680", "updated_at": "2025-01-15T19:04:33.938741", "user_permissions": [] }