API endpoint that allows events to be viewed or edited.

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

{
    "id": 208,
    "name": "Thursday, Jul 14-15 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/208/?format=api",
    "deployment": {
        "id": 13,
        "name": "Rigaud",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/13/?format=api",
        "user_permissions": []
    },
    "start": "2022-07-14T21:11:36",
    "end": "2022-07-15T05:30:42",
    "day": "2022-07-14",
    "date_label": "Jul 14-15 2022",
    "duration": "29946.0",
    "duration_label": "8 hours 19 min",
    "captures_count": 4224,
    "detections_count": 24,
    "occurrences_count": 10,
    "stats": {
        "detections_max_count": 10,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=208&ordering=timestamp",
    "first_capture": {
        "id": 840108,
        "details": "https://api.beluga.insectai.org/api/v2/captures/840108/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_07_14/20220714211136-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-07-14T21:11:36",
        "detections_count": 0,
        "detections": [
            {
                "id": 569912,
                "details": "https://api.beluga.insectai.org/api/v2/detections/569912/?format=api",
                "url": null,
                "width": null,
                "height": null,
                "bbox": null,
                "occurrence": {
                    "id": 541954,
                    "details": "https://api.beluga.insectai.org/api/v2/occurrences/541954/?format=api",
                    "determination": null,
                    "determination_score": null,
                    "user_permissions": []
                },
                "classifications": "https://api.beluga.insectai.org/api/v2/classifications/?format=api?detection=569912",
                "occurrence_meets_criteria": null,
                "user_permissions": []
            }
        ],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "1:00 AM",
                    "3:00 AM"
                ],
                "y": [
                    3,
                    7
                ],
                "ticktext": [
                    "1:00 AM:00",
                    "3:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    1,
                    1,
                    1,
                    1,
                    1,
                    1,
                    1,
                    1,
                    2
                ],
                "y": [
                    "Parapediasia teterellus",
                    "Platynota idaeusalis",
                    "Pantographa limata",
                    "Not Lepidoptera",
                    "Macrochilo litophora",
                    "Idia rotundalis",
                    "Hypoprepia fucosa",
                    "Scopula limboundata",
                    "Cenopis pettitana",
                    "Crambus agitatellus"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-08-20T16:12:57.483327",
    "updated_at": "2024-07-23T18:55:42.278028",
    "user_permissions": []
}