Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/2918/?format=api
{ "id": 2918, "name": "Friday, Aug 4-5 2023", "details": "https://api.beluga.insectai.org/api/v2/events/2918/?format=api", "deployment": { "id": 105, "name": "Pymoor neg", "details": "https://api.beluga.insectai.org/api/v2/deployments/105/?format=api", "user_permissions": [] }, "start": "2023-08-04T21:09:59", "end": "2023-08-05T03:59:59", "day": "2023-08-04", "date_label": "Aug 4-5 2023", "duration": "24600.0", "duration_label": "6 hours 50 min", "captures_count": 4172, "detections_count": 36, "occurrences_count": 5, "stats": { "detections_max_count": 21, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2918&ordering=timestamp", "first_capture": { "id": 6756998, "details": "https://api.beluga.insectai.org/api/v2/captures/6756998/?format=api", "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/dep000014/snapshot_images/01-20230804210959-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2023-08-04T21:09:59", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "9:00 PM", "1:00 AM", "2:00 AM" ], "y": [ 4, 1, 1 ], "ticktext": [ "9:00 PM:00", "2:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 0, 0, 0, 0, 0, 0, 1, 5 ], "y": [ "Rhodometra sacraria", "Plutella xylostella", "Plodia interpunctella", "Operophtera brumata", "Nematopogon adansoniella Vill.", "Macroglossum stellatarum", "Diaphania hyalinata", "Crambus pratella", "Esperia sulphurella", "Thyridopteryx ephemeraeformis" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-04-25T10:37:44.315602", "updated_at": "2024-04-26T01:17:06.763730", "user_permissions": [] }