Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/4728/?format=api
{ "id": 4728, "name": "Monday, Aug 15-16 2022", "details": "https://api.beluga.insectai.org/api/v2/events/4728/?format=api", "deployment": { "id": 239, "name": "Newfoundland - Unit 2", "details": "https://api.beluga.insectai.org/api/v2/deployments/239/?format=api", "user_permissions": [] }, "start": "2022-08-15T22:10:00", "end": "2022-08-16T01:03:17", "day": "2022-08-15", "date_label": "Aug 15-16 2022", "duration": "10397.0", "duration_label": "2 hours 53 min", "captures_count": 3045, "detections_count": 366, "occurrences_count": 77, "stats": { "detections_max_count": 24, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4728&ordering=timestamp", "first_capture": { "id": 16007128, "details": "https://api.beluga.insectai.org/api/v2/captures/16007128/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/newfoundland/Unit-2/Aug 15/01-20220815221000-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2022-08-15T22:10:00", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "10:00 PM", "11:00 PM", "12:00 AM" ], "y": [ 2, 26, 96 ], "ticktext": [ "10:00 PM:00", "12:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 2, 2, 3, 3, 4, 5, 17, 17, 23, 40 ], "y": [ "Spilonota ocellana", "Archipini", "Olethreutes schulziana", "Argyrotaenia quadrifasciana", "Elophila icciusalis", "Argyrotaenia velutinana", "Acleris forsskaleana", "Choristoneura rosaceana", "Cenopis pettitana", "Archips argyrospila" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-09-26T00:00:34.304592", "updated_at": "2024-10-10T19:40:54.459987", "user_permissions": [] }