Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/854/?format=api
{ "id": 854, "name": "Friday, Sep 1-2 2023", "details": "https://api.beluga.insectai.org/api/v2/events/854/?format=api", "deployment": { "id": 26, "name": "UK - Farringdon (+)", "details": "https://api.beluga.insectai.org/api/v2/deployments/26/?format=api", "user_permissions": [] }, "start": "2023-09-01T21:01:29", "end": "2023-09-02T04:29:17", "day": "2023-09-01", "date_label": "Sep 1-2 2023", "duration": "26868.0", "duration_label": "7 hours 27 min", "captures_count": 1952, "detections_count": 5, "occurrences_count": 5, "stats": { "detections_max_count": 5, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=854&ordering=timestamp", "first_capture": { "id": 4207844, "details": "https://api.beluga.insectai.org/api/v2/captures/4207844/?format=api", "url": "https://static.dev.insectai.org/ami-trapdata/uk/Ag0+/farringdon/positive/2023_09_01/20230901210129-00-01.jpg", "width": 4096, "height": 2160, "timestamp": "2023-09-01T21:01:29", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "4:00 AM" ], "y": [ 3 ], "ticktext": [ "4:00 AM:00", "4:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 1, 1, 1 ], "y": [ "Mythimna pallens", "Agriphila tristellus", "Xestia c-nigrum", "Not Lepidoptera", "Campaea margaritaria" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-09-20T16:09:44.606377", "updated_at": "2023-12-07T01:01:50.099151", "user_permissions": [] }