API endpoint that allows events to be viewed or edited.

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

{
    "id": 2478,
    "name": "Wednesday, Jul 19 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/2478/?format=api",
    "deployment": {
        "id": 52,
        "name": "Mothra",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/52/?format=api",
        "user_permissions": []
    },
    "start": "2023-07-19T21:07:35",
    "end": "2023-07-19T23:19:25",
    "day": "2023-07-19",
    "date_label": "Jul 19 2023",
    "duration": "7910.0",
    "duration_label": "2 hours 11 min",
    "captures_count": 761,
    "detections_count": 74,
    "occurrences_count": 73,
    "stats": {
        "detections_max_count": 13,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2478&ordering=timestamp",
    "first_capture": {
        "id": 4622970,
        "details": "https://api.beluga.insectai.org/api/v2/captures/4622970/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/vermont/RawImages/MOTHRA/2023/2023_07_19/20230719210735-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-07-19T21:07:35",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "9:00 PM",
                    "10:00 PM",
                    "11:00 PM"
                ],
                "y": [
                    1,
                    3,
                    9
                ],
                "ticktext": [
                    "9:00 PM:00",
                    "11:00 PM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    1,
                    1,
                    1,
                    2,
                    2,
                    3,
                    3
                ],
                "y": [
                    "Chionodes mediofuscella",
                    "Apantesis vittata",
                    "Aristotelia roseosuffusella",
                    "Renia discoloralis",
                    "Endothenia hebesana",
                    "Olethreutes fasciatana",
                    "Microcrambus elegans",
                    "Halysidota tessellaris",
                    "Alcis porcelaria",
                    "Palthis asopialis"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-10-12T22:00:04.724766",
    "updated_at": "2025-01-15T19:04:31.926395",
    "user_permissions": []
}