Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/560/?format=api
{ "id": 560, "name": "Sunday, Jun 27-28 2021", "details": "https://api.beluga.insectai.org/api/v2/events/560/?format=api", "deployment": { "id": 16, "name": "UK - Wallingford", "details": "https://api.beluga.insectai.org/api/v2/deployments/16/?format=api", "user_permissions": [] }, "start": "2021-06-27T21:19:51", "end": "2021-06-28T06:51:39", "day": "2021-06-27", "date_label": "Jun 27-28 2021", "duration": "34308.0", "duration_label": "9 hours 31 min", "captures_count": 13596, "detections_count": 9, "occurrences_count": 0, "stats": { "detections_max_count": 5, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=560&ordering=timestamp", "first_capture": { "id": 2009319, "details": "https://api.beluga.insectai.org/api/v2/captures/2009319/?format=api", "url": "https://static.dev.insectai.org/ami-trapdata/uk/Wallingford/MOTH/06_JUNE/27_06_2021/20210627211951-00-01.jpg", "width": 3840, "height": 2160, "timestamp": "2021-06-27T21:19:51", "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, 0, 0, 0 ], "y": [ "Plodia interpunctella", "Pandemis limitata", "Euclea delphinii", "Diachrysia chrysitis", "Chrysoteuchia culmella", "Apamea remissa", "Ancylis divisana", "Acleris semipurpurana" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-08-28T13:53:35.515013", "updated_at": "2024-02-18T17:03:18.580882", "user_permissions": [] }