API endpoint that allows events to be viewed or edited.

GET /api/v2/events/349/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 349,
    "name": "Friday, Aug 19-20 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/349/?format=api",
    "deployment": {
        "id": 14,
        "name": "Insectarium",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/14/?format=api",
        "user_permissions": []
    },
    "start": "2022-08-19T20:33:19",
    "end": "2022-08-20T06:32:58",
    "day": "2022-08-19",
    "date_label": "Aug 19-20 2022",
    "duration": "35979.0",
    "duration_label": "9 hours 59 min",
    "captures_count": 17555,
    "detections_count": 474,
    "occurrences_count": 206,
    "stats": {
        "detections_max_count": 109,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=349&ordering=timestamp",
    "first_capture": {
        "id": 1217975,
        "details": "https://api.beluga.insectai.org/api/v2/captures/1217975/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Insectarium/2022/2022_08_19/20220819203319-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-08-19T20:33:19",
        "detections_count": 0,
        "detections": [
            {
                "id": 571035,
                "details": "https://api.beluga.insectai.org/api/v2/detections/571035/?format=api",
                "url": null,
                "width": null,
                "height": null,
                "bbox": null,
                "occurrence": {
                    "id": 543077,
                    "details": "https://api.beluga.insectai.org/api/v2/occurrences/543077/?format=api",
                    "determination": null,
                    "determination_score": null,
                    "user_permissions": []
                },
                "classifications": "https://api.beluga.insectai.org/api/v2/classifications/?format=api?detection=571035",
                "occurrence_meets_criteria": null,
                "user_permissions": []
            }
        ],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "9:00 PM",
                    "10:00 PM",
                    "2:00 AM",
                    "6:00 AM"
                ],
                "y": [
                    70,
                    46,
                    51,
                    37
                ],
                "ticktext": [
                    "9:00 PM:00",
                    "6:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    1,
                    1,
                    1,
                    1,
                    2,
                    2,
                    2,
                    3,
                    7,
                    165
                ],
                "y": [
                    "Agriphila vulgivagellus",
                    "Catocala cerogama",
                    "Autographa precationis",
                    "Cenopis reticulatana",
                    "Crambus saltuellus",
                    "Eucopina tocullionana",
                    "Chrysoteuchia topiarius",
                    "Choristoneura fumiferana",
                    "Choristoneura rosaceana",
                    "Not Lepidoptera"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-08-20T16:22:38.174068",
    "updated_at": "2024-08-09T20:10:38.100470",
    "user_permissions": []
}