API endpoint that allows events to be viewed or edited.

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

{
    "id": 154,
    "name": "Friday, May 20-21 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/154/?format=api",
    "deployment": {
        "id": 13,
        "name": "Rigaud",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/13/?format=api",
        "user_permissions": []
    },
    "start": "2022-05-20T00:42:39",
    "end": "2022-05-21T02:48:29",
    "day": "2022-05-20",
    "date_label": "May 20-21 2022",
    "duration": "93950.0",
    "duration_label": "1 days 2 hours",
    "captures_count": 6115,
    "detections_count": 28,
    "occurrences_count": 8,
    "stats": {
        "detections_max_count": 13,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=154&ordering=timestamp",
    "first_capture": {
        "id": 704654,
        "details": "https://api.beluga.insectai.org/api/v2/captures/704654/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_05_20/20220520004239-00-08.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-05-20T00:42:39",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "10:00 PM"
                ],
                "y": [
                    8
                ],
                "ticktext": [
                    "10:00 PM:00",
                    "10:00 PM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    2,
                    6
                ],
                "y": [
                    "Synanthedon exitiosa",
                    "Alucita hexadactyla",
                    "Simyra nervosa",
                    "Mythimna turca",
                    "Micropterix aruncella",
                    "Mathildana newmanella",
                    "Hemileuca eglanterina",
                    "Hadula trifolii",
                    "Phyllodesma americana",
                    "Not Lepidoptera"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-08-20T16:12:38.847172",
    "updated_at": "2024-07-23T18:55:30.598871",
    "user_permissions": []
}