Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/3438/?format=api
{ "id": 3438, "name": "Monday, Feb 12-13 2024", "details": "https://api.beluga.insectai.org/api/v2/events/3438/?format=api", "deployment": { "id": 123, "name": "Costa Rica - Restoration", "details": "https://api.beluga.insectai.org/api/v2/deployments/123/?format=api", "user_permissions": [] }, "start": "2024-02-12T09:53:59", "end": "2024-02-13T04:00:00", "day": "2024-02-12", "date_label": "Feb 12-13 2024", "duration": "65161.0", "duration_label": "18 hours 6 min", "captures_count": 3419, "detections_count": 90, "occurrences_count": 28, "stats": { "detections_max_count": 26, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3438&ordering=timestamp", "first_capture": { "id": 9127563, "details": "https://api.beluga.insectai.org/api/v2/captures/9127563/?format=api", "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/cri/dep000040/snapshot_images/01-20240212095359-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=951e406b7eb1113e1bb05c083ce51481%2F20260411%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260411T221922Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=9b25edde05e5b87d63f01fd745c91d83051fec01e6f4a25eb175cc1e8b46b181", "width": 4096, "height": 2160, "timestamp": "2024-02-12T09:53:59", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "12:00 AM", "1:00 AM", "2:00 AM", "3:00 AM" ], "y": [ 11, 4, 11, 12 ], "ticktext": [ "12:00 AM:00", "3:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 1, 1, 1, 1, 2, 2, 2, 2, 4, 5 ], "y": [ "Diastema tigris", "Achyra bifidalis", "Artace cribrarius", "Automeris io", "Macaria abydata", "Erastria decrepitaria", "Pyrausta bicoloralis", "Enyo lugubris", "Norape ovina", "Eublemma minima" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-05-01T22:46:58.382435", "updated_at": "2024-09-12T19:41:21.473630", "user_permissions": [] }