Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/3055/?format=api
{ "id": 3055, "name": "Monday, Aug 21-22 2023", "details": "https://api.beluga.insectai.org/api/v2/events/3055/?format=api", "deployment": { "id": 104, "name": "Pymoor pos", "details": "https://api.beluga.insectai.org/api/v2/deployments/104/?format=api", "user_permissions": [] }, "start": "2023-08-21T21:00:58", "end": "2023-08-22T04:00:00", "day": "2023-08-21", "date_label": "Aug 21-22 2023", "duration": "25142.0", "duration_label": "6 hours 59 min", "captures_count": 10422, "detections_count": 12, "occurrences_count": 2, "stats": { "detections_max_count": 6, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3055&ordering=timestamp", "first_capture": { "id": 6747913, "details": "https://api.beluga.insectai.org/api/v2/captures/6747913/?format=api", "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/dep000013/motion_images/20230821210058-00-01.jpg", "width": 4096, "height": 2160, "timestamp": "2023-08-21T21:00:58", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "3:00 AM" ], "y": [ 4 ], "ticktext": [ "3:00 AM:00", "3:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 0, 0, 0, 0, 1, 1, 1, 1 ], "y": [ "Caloptilia stigmatella", "Bupalus piniaria", "Bankesia conspurcatella", "Coleophora mayrella", "Coleophora trifolii", "Aroga velocella", "Evergestis forficalis", "Diachrysia chrysitis", "Crambus pascuella", "Chiasmia clathrata" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-04-25T10:42:26.465818", "updated_at": "2024-04-26T01:16:54.945698", "user_permissions": [] }