Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/263/?format=api
{ "id": 263, "name": "Wednesday, Sep 14-15 2022", "details": "https://api.beluga.insectai.org/api/v2/events/263/?format=api", "deployment": { "id": 13, "name": "Rigaud", "details": "https://api.beluga.insectai.org/api/v2/deployments/13/?format=api", "user_permissions": [] }, "start": "2022-09-14T20:36:46", "end": "2022-09-15T05:22:54", "day": "2022-09-14", "date_label": "Sep 14-15 2022", "duration": "31568.0", "duration_label": "8 hours 46 min", "captures_count": 1398, "detections_count": 5, "occurrences_count": 2, "stats": { "detections_max_count": 1, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=263&ordering=timestamp", "first_capture": { "id": 977330, "details": "https://api.beluga.insectai.org/api/v2/captures/977330/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_09_14/20220914203646-00-01.jpg", "width": 4096, "height": 2160, "timestamp": "2022-09-14T20:36:46", "detections_count": 0, "detections": [ { "id": 571442, "details": "https://api.beluga.insectai.org/api/v2/detections/571442/?format=api", "url": null, "width": null, "height": null, "bbox": null, "occurrence": { "id": 543484, "details": "https://api.beluga.insectai.org/api/v2/occurrences/543484/?format=api", "determination": null, "determination_score": null, "user_permissions": [] }, "classifications": "https://api.beluga.insectai.org/api/v2/classifications/?format=api?detection=571442", "occurrence_meets_criteria": null, "user_permissions": [] } ], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "10:00 PM", "3:00 AM" ], "y": [ 1, 1 ], "ticktext": [ "10:00 PM:00", "3:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 2 ], "y": [ "Micropterix calthella", "Not Lepidoptera" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-08-20T16:13:21.003659", "updated_at": "2024-07-23T18:55:53.701204", "user_permissions": [] }