Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/5002/?format=api
{ "id": 5002, "name": "Saturday, Sep 17 2022", "details": "https://api.beluga.insectai.org/api/v2/events/5002/?format=api", "deployment": { "id": 236, "name": "Rigaud", "details": "https://api.beluga.insectai.org/api/v2/deployments/236/?format=api", "user_permissions": [] }, "start": "2022-09-17T20:33:46", "end": "2022-09-17T23:38:23", "day": "2022-09-17", "date_label": "Sep 17 2022", "duration": "11077.0", "duration_label": "3 hours 4 min", "captures_count": 654, "detections_count": 5, "occurrences_count": 0, "stats": { "detections_max_count": 2, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=5002&ordering=timestamp", "first_capture": { "id": 17359171, "details": "https://api.beluga.insectai.org/api/v2/captures/17359171/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_09_17/20220917203346-00-01.jpg", "width": 4096, "height": 2160, "timestamp": "2022-09-17T20:33:46", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [], "y": [], "ticktext": [] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 0, 0, 0 ], "y": [ "Thyridopteryx ephemeraeformis", "Scythris inspersella", "Plutella xylostella", "Eriocrania semipurpurella", "Adela caeruleella" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-09-26T00:01:23.912555", "updated_at": "2024-10-10T19:42:08.750884", "user_permissions": [] }