Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/2905/?format=api
{ "id": 2905, "name": "Wednesday, Jul 5-6 2023", "details": "https://api.beluga.insectai.org/api/v2/events/2905/?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-05T21:09:59", "end": "2023-07-06T03:59:59", "day": "2023-07-05", "date_label": "Jul 5-6 2023", "duration": "24600.0", "duration_label": "6 hours 50 min", "captures_count": 1519, "detections_count": 20, "occurrences_count": 2, "stats": { "detections_max_count": 7, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2905&ordering=timestamp", "first_capture": { "id": 6756920, "details": "https://api.beluga.insectai.org/api/v2/captures/6756920/?format=api", "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/dep000014/snapshot_images/01-20230705210959-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2023-07-05T21:09:59", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "10:00 PM", "11:00 PM", "12:00 AM" ], "y": [ 3, 3, 1 ], "ticktext": [ "10:00 PM:00", "12:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 0, 0, 1, 1, 1, 1, 1, 2 ], "y": [ "Agrius cingulata", "Ypsolopha mucronella", "Scythropia crataegella", "Schreckensteinia festaliella", "Plutella xylostella", "Thyridopteryx ephemeraeformis", "Autographa gamma", "Hippotion celerio", "Eucosma conterminana", "Chrysoteuchia culmella" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-04-25T10:37:41.522369", "updated_at": "2024-04-26T01:17:02.348877", "user_permissions": [] }