API endpoint that allows events to be viewed or edited.

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

{
    "id": 329,
    "name": "Thursday, Jul 21-22 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/329/?format=api",
    "deployment": {
        "id": 14,
        "name": "Insectarium",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/14/?format=api",
        "user_permissions": []
    },
    "start": "2022-07-21T20:40:00",
    "end": "2022-07-22T04:21:39",
    "day": "2022-07-21",
    "date_label": "Jul 21-22 2022",
    "duration": "27699.0",
    "duration_label": "7 hours 41 min",
    "captures_count": 12604,
    "detections_count": 63,
    "occurrences_count": 11,
    "stats": {
        "detections_max_count": 21,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=329&ordering=timestamp",
    "first_capture": {
        "id": 1435438,
        "details": "https://api.beluga.insectai.org/api/v2/captures/1435438/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Insectarium/2022/SnapShot/01-20220721204000-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-07-21T20:40:00",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "10:00 PM",
                    "12:00 AM",
                    "4:00 AM"
                ],
                "y": [
                    3,
                    6,
                    2
                ],
                "ticktext": [
                    "10:00 PM:00",
                    "4:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    1,
                    1,
                    1,
                    1,
                    1,
                    1,
                    5
                ],
                "y": [
                    "Amydria effrentella",
                    "Bryotropha affinis",
                    "Chimoptesis pennsylvaniana",
                    "Adela caeruleella",
                    "Dyseriocrania griseocapitella",
                    "Mompha langiella",
                    "Microcrambus elegans",
                    "Drepana arcuata",
                    "Choristoneura fumiferana",
                    "Not Lepidoptera"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-08-20T16:22:14.676491",
    "updated_at": "2024-08-09T20:10:29.044350",
    "user_permissions": []
}