API endpoint that allows events to be viewed or edited.

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

{
    "id": 2826,
    "name": "Friday, Aug 11 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/2826/?format=api",
    "deployment": {
        "id": 74,
        "name": "PFS_Moth_Wall",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/74/?format=api",
        "user_permissions": []
    },
    "start": "2023-08-11T01:00:00",
    "end": "2023-08-11T04:45:01",
    "day": "2023-08-11",
    "date_label": "Aug 11 2023",
    "duration": "13501.0",
    "duration_label": "3 hours 45 min",
    "captures_count": 16,
    "detections_count": 14,
    "occurrences_count": 13,
    "stats": {
        "detections_max_count": 4,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2826&ordering=timestamp",
    "first_capture": {
        "id": 6238447,
        "details": "https://api.beluga.insectai.org/api/v2/captures/6238447/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/newfoundland/MothWall/Project_20230811010000_4547.JPG",
        "width": 6080,
        "height": 3420,
        "timestamp": "2023-08-11T01:00:00",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "1:00 AM",
                    "2:00 AM",
                    "3:00 AM"
                ],
                "y": [
                    1,
                    2,
                    6
                ],
                "ticktext": [
                    "1:00 AM:00",
                    "3:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    1,
                    1,
                    1,
                    1,
                    1,
                    1,
                    1,
                    2
                ],
                "y": [
                    "Not Lepidoptera",
                    "Parapediasia teterellus",
                    "Acrocercops brongniardella",
                    "Parapoynx allionealis",
                    "Herpetogramma sphingealis",
                    "Herpetogramma phaeopteralis",
                    "Ennomos subsignaria",
                    "Choristoneura rosaceana",
                    "Lomographa vestaliata"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-03-24T12:20:21.767946",
    "updated_at": "2024-11-13T15:51:01.509795",
    "user_permissions": []
}