Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/2942/?format=api
{ "id": 2942, "name": "Monday, Oct 2-3 2023", "details": "https://api.beluga.insectai.org/api/v2/events/2942/?format=api", "deployment": { "id": 105, "name": "Pymoor neg", "details": "https://api.beluga.insectai.org/api/v2/deployments/105/?format=api", "user_permissions": [] }, "start": "2023-10-02T21:09:59", "end": "2023-10-03T03:49:59", "day": "2023-10-02", "date_label": "Oct 2-3 2023", "duration": "24000.0", "duration_label": "6 hours 40 min", "captures_count": 2050, "detections_count": 5, "occurrences_count": 0, "stats": { "detections_max_count": 5, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2942&ordering=timestamp", "first_capture": { "id": 6757038, "details": "https://api.beluga.insectai.org/api/v2/captures/6757038/?format=api", "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/dep000014/snapshot_images/01-20231002210959-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2023-10-02T21:09:59", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "10:00 PM" ], "y": [ 1 ], "ticktext": [ "10:00 PM:00", "10:00 PM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 0, 0, 1 ], "y": [ "Nomophila noctuella", "Bedellia somnulentella", "Aspitates ochrearia", "Amblyptilia acanthadactyla", "Esperia sulphurella" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-04-25T10:37:50.087065", "updated_at": "2024-04-26T01:17:13.652789", "user_permissions": [] }