Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/2511/?format=api
{ "id": 2511, "name": "Wednesday, Sep 20-21 2023", "details": "https://api.beluga.insectai.org/api/v2/events/2511/?format=api", "deployment": { "id": 52, "name": "Mothra", "details": "https://api.beluga.insectai.org/api/v2/deployments/52/?format=api", "user_permissions": [] }, "start": "2023-09-20T21:10:00", "end": "2023-09-21T03:50:00", "day": "2023-09-20", "date_label": "Sep 20-21 2023", "duration": "24000.0", "duration_label": "6 hours 40 min", "captures_count": 41, "detections_count": 4, "occurrences_count": 4, "stats": { "detections_max_count": 1, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2511&ordering=timestamp", "first_capture": { "id": 4274096, "details": "https://api.beluga.insectai.org/api/v2/captures/4274096/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/vermont/RawImages/MOTHRA/2023/20230920211000-01-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2023-09-20T21:10:00", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "11:00 PM" ], "y": [ 1 ], "ticktext": [ "11:00 PM:00", "11:00 PM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 0, 1 ], "y": [ "Paleacrita vernata", "Eudonia strigalis", "Emmelina monodactyla", "Plutella xylostella" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-10-12T22:00:30.297982", "updated_at": "2025-01-15T19:04:37.178260", "user_permissions": [] }