Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/3524/?format=api
{ "id": 3524, "name": "Wednesday, Aug 9-10 2023", "details": "https://api.beluga.insectai.org/api/v2/events/3524/?format=api", "deployment": { "id": 106, "name": "Salisbury", "details": "https://api.beluga.insectai.org/api/v2/deployments/106/?format=api", "user_permissions": [] }, "start": "2023-08-09T21:09:59", "end": "2023-08-10T04:29:59", "day": "2023-08-09", "date_label": "Aug 9-10 2023", "duration": "26400.0", "duration_label": "7 hours 20 min", "captures_count": 2580, "detections_count": 6, "occurrences_count": 0, "stats": { "detections_max_count": 3, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3524&ordering=timestamp", "first_capture": { "id": 9377152, "details": "https://api.beluga.insectai.org/api/v2/captures/9377152/?format=api", "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/dep000015/snapshot_images/20230809210959-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2023-08-09T21:09:59", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "3:00 AM" ], "y": [ 1 ], "ticktext": [ "3:00 AM:00", "3:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 0, 0, 0, 1 ], "y": [ "Pediasia aridella", "Pammene rhediella", "Cydia strobilella", "Aspilapteryx tringipennella", "Aporophyla nigra", "Lathronympha strigana" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-05-01T23:25:50.457684", "updated_at": "2024-05-01T23:55:15.058402", "user_permissions": [] }