API endpoint that allows events to be viewed or edited.

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

{
    "id": 5014,
    "name": "Sunday, Sep 25-26 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/5014/?format=api",
    "deployment": {
        "id": 236,
        "name": "Rigaud",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/236/?format=api",
        "user_permissions": []
    },
    "start": "2022-09-25T20:36:06",
    "end": "2022-09-26T05:31:11",
    "day": "2022-09-25",
    "date_label": "Sep 25-26 2022",
    "duration": "32105.0",
    "duration_label": "8 hours 55 min",
    "captures_count": 1591,
    "detections_count": 23,
    "occurrences_count": 13,
    "stats": {
        "detections_max_count": 2,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=5014&ordering=timestamp",
    "first_capture": {
        "id": 17376362,
        "details": "https://api.beluga.insectai.org/api/v2/captures/17376362/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_09_25/20220925203606-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-09-25T20:36:06",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "1:00 AM",
                    "2:00 AM",
                    "3:00 AM",
                    "4:00 AM",
                    "5:00 AM"
                ],
                "y": [
                    1,
                    1,
                    2,
                    6,
                    4
                ],
                "ticktext": [
                    "1:00 AM:00",
                    "5:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    3,
                    5,
                    6
                ],
                "y": [
                    "Virbia laeta",
                    "Coleophora deauratella",
                    "Virbia aurantiaca",
                    "Lyonetia prunifoliella",
                    "Catocala promissa",
                    "Eriocrania semipurpurella",
                    "Elasmopalpus lignosella",
                    "Metalectra discalis",
                    "Idia aemula",
                    "Catocala cerogama"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:01:26.377596",
    "updated_at": "2024-10-10T19:42:19.811711",
    "user_permissions": []
}