Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/2876/?format=api
{ "id": 2876, "name": "Monday, Sep 4-5 2023", "details": "https://api.beluga.insectai.org/api/v2/events/2876/?format=api", "deployment": { "id": 92, "name": "Ox Cont pos", "details": "https://api.beluga.insectai.org/api/v2/deployments/92/?format=api", "user_permissions": [] }, "start": "2023-09-04T21:00:52", "end": "2023-09-05T04:30:00", "day": "2023-09-04", "date_label": "Sep 4-5 2023", "duration": "26948.0", "duration_label": "7 hours 29 min", "captures_count": 2010, "detections_count": 3, "occurrences_count": 1, "stats": { "detections_max_count": 3, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2876&ordering=timestamp", "first_capture": { "id": 6401815, "details": "https://api.beluga.insectai.org/api/v2/captures/6401815/?format=api", "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/dep000001/motion_images/20230904210052-00-01.jpg", "width": 4096, "height": 2160, "timestamp": "2023-09-04T21:00:52", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "3:00 AM" ], "y": [ 1 ], "ticktext": [ "3:00 AM:00", "3:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 1 ], "y": [ "Xestia c-nigrum", "Crambus pratella", "Hypena proboscidalis" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-04-25T10:36:05.445507", "updated_at": "2024-04-26T01:17:22.505414", "user_permissions": [] }