Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/49/?format=api
{ "id": 49, "name": "Saturday, Jul 16-17 2022", "details": "https://api.beluga.insectai.org/api/v2/events/49/?format=api", "deployment": { "id": 12, "name": "Newfoundland - Unit 2", "details": "https://api.beluga.insectai.org/api/v2/deployments/12/?format=api", "user_permissions": [] }, "start": "2022-07-16T22:03:47", "end": "2022-07-17T04:59:46", "day": "2022-07-16", "date_label": "Jul 16-17 2022", "duration": "24959.0", "duration_label": "6 hours 55 min", "captures_count": 8417, "detections_count": 297, "occurrences_count": 254, "stats": { "detections_max_count": 20, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=49&ordering=timestamp", "first_capture": { "id": 228095, "details": "https://api.beluga.insectai.org/api/v2/captures/228095/?format=api", "url": "https://static.dev.insectai.org/ami-trapdata/newfoundland/Unit-2/Jul 16 images/20220716220347-00-01.jpg", "width": 4096, "height": 2160, "timestamp": "2022-07-16T22:03:47", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "10:00 PM", "11:00 PM", "12:00 AM", "1:00 AM", "2:00 AM", "3:00 AM", "4:00 AM" ], "y": [ 4, 14, 59, 44, 22, 12, 99 ], "ticktext": [ "10:00 PM:00", "4:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 4, 4, 5, 5, 6, 7, 8, 8, 10, 63 ], "y": [ "Endothenia hebesana", "Plutella xylostella", "Cenopis pettitana", "Platynota flavedana", "Choristoneura fumiferana", "Parascotia fuliginaria", "Spilonota ocellana", "Disclisioprocta stellata", "Choristoneura rosaceana", "Pasiphila rectangulata" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-08-20T05:49:11.243708", "updated_at": "2024-11-13T15:49:19.661871", "user_permissions": [] }