Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/4850/?format=api
{ "id": 4850, "name": "Sunday, Jul 17 2022", "details": "https://api.beluga.insectai.org/api/v2/events/4850/?format=api", "deployment": { "id": 236, "name": "Rigaud", "details": "https://api.beluga.insectai.org/api/v2/deployments/236/?format=api", "user_permissions": [] }, "start": "2022-07-17T20:45:49", "end": "2022-07-17T22:11:48", "day": "2022-07-17", "date_label": "Jul 17 2022", "duration": "5159.0", "duration_label": "1 hours 25 min", "captures_count": 1013, "detections_count": 55, "occurrences_count": 5, "stats": { "detections_max_count": 16, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4850&ordering=timestamp", "first_capture": { "id": 16275009, "details": "https://api.beluga.insectai.org/api/v2/captures/16275009/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_07_17/20220717204549-00-01.jpg", "width": 4096, "height": 2160, "timestamp": "2022-07-17T20:45:49", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "9:00 PM", "10:00 PM" ], "y": [ 6, 2 ], "ticktext": [ "9:00 PM:00", "10:00 PM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 1, 1, 1, 1, 1, 1, 1, 1 ], "y": [ "Arta statalis", "Barbara mappana", "Crambini", "Blepharomastix ranalis", "Teleiopsis diffinis", "Scardia anatomella", "Idia aemula", "Crambus albellus", "Choristoneura rosaceana", "Not Lepidoptera" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-09-26T00:00:55.513831", "updated_at": "2024-10-10T19:41:31.431636", "user_permissions": [] }