Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/2908/?format=api
{ "id": 2908, "name": "Wednesday, Jul 12-13 2023", "details": "https://api.beluga.insectai.org/api/v2/events/2908/?format=api", "deployment": { "id": 105, "name": "Pymoor neg", "details": "https://api.beluga.insectai.org/api/v2/deployments/105/?format=api", "user_permissions": [] }, "start": "2023-07-12T21:09:59", "end": "2023-07-13T03:59:59", "day": "2023-07-12", "date_label": "Jul 12-13 2023", "duration": "24600.0", "duration_label": "6 hours 50 min", "captures_count": 1712, "detections_count": 50, "occurrences_count": 8, "stats": { "detections_max_count": 9, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2908&ordering=timestamp", "first_capture": { "id": 6756937, "details": "https://api.beluga.insectai.org/api/v2/captures/6756937/?format=api", "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/dep000014/snapshot_images/01-20230712210959-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2023-07-12T21:09:59", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "11:00 PM", "12:00 AM", "1:00 AM", "2:00 AM", "3:00 AM" ], "y": [ 3, 2, 1, 2, 2 ], "ticktext": [ "11:00 PM:00", "3:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 0, 0, 0, 0, 1, 1, 2, 6 ], "y": [ "Caloptilia stigmatella", "Eriocrania sparrmannella", "Dyseriocrania subpurpurella", "Cauchas rufimitrella", "Caloptilia suberinella Tgstr.", "Coleophora deauratella", "Crambus pascuella", "Coleophora mayrella", "Calybites phasianipennella", "Idaea aversata" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-04-25T10:37:42.098276", "updated_at": "2024-04-26T01:17:02.787839", "user_permissions": [] }