API endpoint that allows events to be viewed or edited.

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

{
    "id": 2788,
    "name": "Tuesday, Jul 4 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/2788/?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-07-04T01:00:01",
    "end": "2023-07-04T04:45:00",
    "day": "2023-07-04",
    "date_label": "Jul 4 2023",
    "duration": "13499.0",
    "duration_label": "3 hours 44 min",
    "captures_count": 26,
    "detections_count": 14,
    "occurrences_count": 12,
    "stats": {
        "detections_max_count": 5,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2788&ordering=timestamp",
    "first_capture": {
        "id": 6237873,
        "details": "https://api.beluga.insectai.org/api/v2/captures/6237873/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/newfoundland/MothWall/Project_20230704010001_3939.JPG",
        "width": 6080,
        "height": 3420,
        "timestamp": "2023-07-04T01:00:01",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "2:00 AM",
                    "3:00 AM",
                    "4:00 AM"
                ],
                "y": [
                    4,
                    2,
                    5
                ],
                "ticktext": [
                    "2:00 AM:00",
                    "4:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    1,
                    1,
                    1,
                    1,
                    1,
                    1,
                    1,
                    2,
                    2
                ],
                "y": [
                    "Not Lepidoptera",
                    "Parapoynx allionealis",
                    "Pandemis limitata",
                    "Aspilapteryx tringipennella",
                    "Catocala cara",
                    "Parapoynx diminutalis",
                    "Macaria signaria",
                    "Lithophane fagina",
                    "Gluphisia septentrionis",
                    "Eupithecia miserulata"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-03-18T09:43:43.957261",
    "updated_at": "2024-11-13T15:50:58.832380",
    "user_permissions": []
}