Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/642/?format=api
{ "id": 642, "name": "Sunday, Sep 18 2022", "details": "https://api.beluga.insectai.org/api/v2/events/642/?format=api", "deployment": { "id": 18, "name": "Vermont - Mothra", "details": "https://api.beluga.insectai.org/api/v2/deployments/18/?format=api", "user_permissions": [] }, "start": "2022-09-18T19:16:39", "end": "2022-09-18T23:54:05", "day": "2022-09-18", "date_label": "Sep 18 2022", "duration": "16646.0", "duration_label": "4 hours 37 min", "captures_count": 3858, "detections_count": 21, "occurrences_count": 1, "stats": { "detections_max_count": 10, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=642&ordering=timestamp", "first_capture": { "id": 2587419, "details": "https://api.beluga.insectai.org/api/v2/captures/2587419/?format=api", "url": "https://static.dev.insectai.org/ami-trapdata/vermont/RawImages2022VT/Mothra_movement/2022_09_18/20220918191639-00-01.jpg", "width": 4096, "height": 2160, "timestamp": "2022-09-18T19:16:39", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "10:00 PM" ], "y": [ 1 ], "ticktext": [ "10:00 PM:00", "10:00 PM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 0, 0, 1 ], "y": [ "Papaipema inquaesita", "Herpetogramma thestealis", "Fissicrambus mutabilis", "Catocala obscura", "Sparganothis sulfureana" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-09-04T09:41:14.747858", "updated_at": "2023-12-07T01:11:52.482207", "user_permissions": [] }