Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/3042/?format=api
{ "id": 3042, "name": "Friday, Jul 21-22 2023", "details": "https://api.beluga.insectai.org/api/v2/events/3042/?format=api", "deployment": { "id": 104, "name": "Pymoor pos", "details": "https://api.beluga.insectai.org/api/v2/deployments/104/?format=api", "user_permissions": [] }, "start": "2023-07-21T21:10:00", "end": "2023-07-22T04:00:29", "day": "2023-07-21", "date_label": "Jul 21-22 2023", "duration": "24629.0", "duration_label": "6 hours 50 min", "captures_count": 8659, "detections_count": 99, "occurrences_count": 15, "stats": { "detections_max_count": 23, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3042&ordering=timestamp", "first_capture": { "id": 6940838, "details": "https://api.beluga.insectai.org/api/v2/captures/6940838/?format=api", "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/dep000013/snapshot_images/01-20230721211000-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2023-07-21T21:10:00", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "10:00 PM", "11:00 PM", "12:00 AM", "1:00 AM", "2:00 AM" ], "y": [ 5, 6, 4, 4, 1 ], "ticktext": [ "10:00 PM:00", "2:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 1, 1, 1, 1, 1, 2, 2, 3, 4, 4 ], "y": [ "Orthotelia sparganella", "Longalatedes elymi", "Coenobia rufa", "Macroglossum stellatarum", "Paranthrene tabaniformis", "Lacanobia oleracea", "Caloptilia suberinella Tgstr.", "Plodia interpunctella", "Chrysoteuchia culmella", "Thyridopteryx ephemeraeformis" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-04-25T10:42:21.215680", "updated_at": "2024-04-26T01:16:48.824094", "user_permissions": [] }