API endpoint that allows events to be viewed or edited.

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

{
    "id": 325,
    "name": "Saturday, Jul 16-17 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/325/?format=api",
    "deployment": {
        "id": 14,
        "name": "Insectarium",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/14/?format=api",
        "user_permissions": []
    },
    "start": "2022-07-16T20:33:02",
    "end": "2022-07-17T04:39:59",
    "day": "2022-07-16",
    "date_label": "Jul 16-17 2022",
    "duration": "29217.0",
    "duration_label": "8 hours 6 min",
    "captures_count": 12570,
    "detections_count": 1,
    "occurrences_count": 2,
    "stats": {
        "detections_max_count": 1,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=325&ordering=timestamp",
    "first_capture": {
        "id": 1023316,
        "details": "https://api.beluga.insectai.org/api/v2/captures/1023316/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Insectarium/2022/2022_07_16/20220716203302-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-07-16T20:33:02",
        "detections_count": 0,
        "detections": [
            {
                "id": 570775,
                "details": "https://api.beluga.insectai.org/api/v2/detections/570775/?format=api",
                "url": null,
                "width": null,
                "height": null,
                "bbox": null,
                "occurrence": {
                    "id": 542817,
                    "details": "https://api.beluga.insectai.org/api/v2/occurrences/542817/?format=api",
                    "determination": null,
                    "determination_score": null,
                    "user_permissions": []
                },
                "classifications": "https://api.beluga.insectai.org/api/v2/classifications/?format=api?detection=570775",
                "occurrence_meets_criteria": null,
                "user_permissions": []
            }
        ],
        "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,
                    1,
                    1
                ],
                "y": [
                    "Anstenoptilia marmarodactyla",
                    "Ephestiodes infimella",
                    "Coleophora mayrella",
                    "Cosmia praeacuta",
                    "Cisthene packardii",
                    "Choristoneura fumiferana",
                    "Archips packardiana",
                    "Amorbia humerosana",
                    "Hypoprepia fucosa",
                    "Adela caeruleella"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-08-20T16:22:07.151296",
    "updated_at": "2024-08-09T20:10:26.317452",
    "user_permissions": []
}