Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/2842/?format=api
{ "id": 2842, "name": "Wednesday, Sep 6 2023", "details": "https://api.beluga.insectai.org/api/v2/events/2842/?format=api", "deployment": { "id": 74, "name": "PFS_Moth_Wall", "details": "https://api.beluga.insectai.org/api/v2/deployments/74/?format=api", "user_permissions": [] }, "start": "2023-09-06T01:10:01", "end": "2023-09-06T04:50:00", "day": "2023-09-06", "date_label": "Sep 6 2023", "duration": "13199.0", "duration_label": "3 hours 39 min", "captures_count": 19, "detections_count": 5, "occurrences_count": 5, "stats": { "detections_max_count": 2, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2842&ordering=timestamp", "first_capture": { "id": 6238608, "details": "https://api.beluga.insectai.org/api/v2/captures/6238608/?format=api", "url": "https://static.dev.insectai.org/ami-trapdata/newfoundland/MothWall/Project_20230906011001_5069.JPG", "width": 6080, "height": 3420, "timestamp": "2023-09-06T01:10:01", "detections_count": 1, "detections": [ { "id": 60313, "details": "https://api.beluga.insectai.org/api/v2/detections/60313/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/crops-dev/project_20230906011001_5069/1901-111-2047-279-1711311155.jpg", "width": null, "height": null, "bbox": [ 1901.0, 111.0, 2047.0, 279.0 ], "occurrence": { "id": 33543, "details": "https://api.beluga.insectai.org/api/v2/occurrences/33543/?format=api", "determination": { "id": 750, "name": "Amphipyra tragopoginis", "rank": "SPECIES", "details": "https://api.beluga.insectai.org/api/v2/taxa/750/?format=api", "gbif_taxon_key": 1766210, "fieldguide_id": null, "inat_taxon_id": null, "cover_image_url": null, "cover_image_credit": null, "user_permissions": [] }, "determination_score": 0.4390277564525604, "user_permissions": [] }, "classifications": "https://api.beluga.insectai.org/api/v2/classifications/?format=api?detection=60313", "occurrence_meets_criteria": null, "user_permissions": [] } ], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "1:00 AM", "2:00 AM", "3:00 AM", "4:00 AM" ], "y": [ 1, 1, 2, 1 ], "ticktext": [ "1:00 AM:00", "4:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 1, 1, 1, 1, 1 ], "y": [ "Orgyia antiqua", "Notodonta torva", "Mompha subbistrigella", "Athetis hospes", "Amphipyra tragopoginis" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-03-24T12:20:22.483710", "updated_at": "2024-11-13T15:51:02.477092", "user_permissions": [] }