Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/4974/?format=api
{ "id": 4974, "name": "Friday, Sep 2-3 2022", "details": "https://api.beluga.insectai.org/api/v2/events/4974/?format=api", "deployment": { "id": 236, "name": "Rigaud", "details": "https://api.beluga.insectai.org/api/v2/deployments/236/?format=api", "user_permissions": [] }, "start": "2022-09-02T21:44:04", "end": "2022-09-03T02:06:33", "day": "2022-09-02", "date_label": "Sep 2-3 2022", "duration": "15749.0", "duration_label": "4 hours 22 min", "captures_count": 3283, "detections_count": 44, "occurrences_count": 25, "stats": { "detections_max_count": 8, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4974&ordering=timestamp", "first_capture": { "id": 17279492, "details": "https://api.beluga.insectai.org/api/v2/captures/17279492/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_09_02/20220902214404-00-01.jpg", "width": 4096, "height": 2160, "timestamp": "2022-09-02T21:44:04", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "11:00 PM", "12:00 AM", "1:00 AM", "2:00 AM" ], "y": [ 6, 2, 17, 3 ], "ticktext": [ "11:00 PM:00", "2:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 1, 1, 1, 1, 2, 2, 2, 3, 3, 10 ], "y": [ "Noctua pronuba", "Campaea margaritaria", "Olethreutes tilianum", "Amphipyra pyramidea", "Idia aemula", "Microcrambus elegans", "Amphipyra pyramidoides", "Choristoneura rosaceana", "Pseudeustrotia carneola", "Campaea perlata" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-09-26T00:01:15.335495", "updated_at": "2024-10-10T19:42:05.181642", "user_permissions": [] }