API endpoint that allows events to be viewed or edited.

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

{
    "id": 5038,
    "name": "Wednesday, Oct 12-13 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/5038/?format=api",
    "deployment": {
        "id": 236,
        "name": "Rigaud",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/236/?format=api",
        "user_permissions": []
    },
    "start": "2022-10-12T00:12:07",
    "end": "2022-10-13T03:57:13",
    "day": "2022-10-12",
    "date_label": "Oct 12-13 2022",
    "duration": "99906.0",
    "duration_label": "1 days 3 hours",
    "captures_count": 800,
    "detections_count": 12,
    "occurrences_count": 4,
    "stats": {
        "detections_max_count": 3,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=5038&ordering=timestamp",
    "first_capture": {
        "id": 17392230,
        "details": "https://api.beluga.insectai.org/api/v2/captures/17392230/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_10_12/20221012001207-00-02.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-10-12T00:12:07",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "9:00 PM",
                    "10:00 PM",
                    "3:00 AM"
                ],
                "y": [
                    2,
                    1,
                    1
                ],
                "ticktext": [
                    "9:00 PM:00",
                    "3:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    1,
                    3
                ],
                "y": [
                    "Alypia octomaculata",
                    "Synanthedon pini",
                    "Alsophila aescularia",
                    "Phobetron pithecium",
                    "Coleophora mayrella",
                    "Cladara atroliturata",
                    "Caloptilia robustella",
                    "Aristotelia roseosuffusella",
                    "Epirrita autumnata",
                    "Alsophila pometaria"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:01:29.591915",
    "updated_at": "2024-10-10T19:42:24.447679",
    "user_permissions": []
}