Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/4587/?format=api
{ "id": 4587, "name": "Thursday, Jul 14-15 2022", "details": "https://api.beluga.insectai.org/api/v2/events/4587/?format=api", "deployment": { "id": 239, "name": "Newfoundland - Unit 2", "details": "https://api.beluga.insectai.org/api/v2/deployments/239/?format=api", "user_permissions": [] }, "start": "2022-07-14T22:02:21", "end": "2022-07-15T04:59:46", "day": "2022-07-14", "date_label": "Jul 14-15 2022", "duration": "25045.0", "duration_label": "6 hours 57 min", "captures_count": 3405, "detections_count": 74, "occurrences_count": 7, "stats": { "detections_max_count": 9, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4587&ordering=timestamp", "first_capture": { "id": 16304354, "details": "https://api.beluga.insectai.org/api/v2/captures/16304354/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/newfoundland/Unit-2/Jul 14 images/20220714220221-00-01.jpg", "width": 4096, "height": 2160, "timestamp": "2022-07-14T22:02:21", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "10:00 PM", "11:00 PM", "12:00 AM", "2:00 AM", "3:00 AM" ], "y": [ 3, 7, 1, 1, 2 ], "ticktext": [ "10:00 PM:00", "3:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 1, 1, 1, 1, 1, 1, 1, 1, 2, 4 ], "y": [ "Plutella xylostella", "Arctia caja", "Archips rosana", "Monopis crocicapitella", "Neurobathra strigifinitella", "Argyrotaenia quadrifasciana", "Holcocerina immaculella", "Archipini", "Choristoneura rosaceana", "Platynota flavedana" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-09-26T00:00:18.997213", "updated_at": "2024-10-10T19:40:25.632013", "user_permissions": [] }