Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/2993/?format=api
{ "id": 2993, "name": "Friday, Aug 4-5 2023", "details": "https://api.beluga.insectai.org/api/v2/events/2993/?format=api", "deployment": { "id": 94, "name": "Ox Agri pos", "details": "https://api.beluga.insectai.org/api/v2/deployments/94/?format=api", "user_permissions": [] }, "start": "2023-08-04T20:59:59", "end": "2023-08-05T04:30:00", "day": "2023-08-04", "date_label": "Aug 4-5 2023", "duration": "27001.0", "duration_label": "7 hours 30 min", "captures_count": 3129, "detections_count": 8, "occurrences_count": 4, "stats": { "detections_max_count": 3, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2993&ordering=timestamp", "first_capture": { "id": 6876291, "details": "https://api.beluga.insectai.org/api/v2/captures/6876291/?format=api", "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/dep000003/snapshot_images/20230804205959-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2023-08-04T20:59:59", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "10:00 PM", "3:00 AM", "4:00 AM" ], "y": [ 1, 2, 2 ], "ticktext": [ "10:00 PM:00", "4:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 0, 2, 3 ], "y": [ "Zygaena filipendulae", "Crambus pascuella", "Coleophora mayrella", "Lymantria monacha", "Eremobia ochroleuca" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-04-25T10:39:24.689437", "updated_at": "2024-04-26T01:17:48.917219", "user_permissions": [] }