API endpoint that allows events to be viewed or edited.

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

{
    "id": 3459,
    "name": "Wednesday, Aug 23-24 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/3459/?format=api",
    "deployment": {
        "id": 98,
        "name": "Dorset Agri pos",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/98/?format=api",
        "user_permissions": []
    },
    "start": "2023-08-23T21:08:22",
    "end": "2023-08-24T04:30:00",
    "day": "2023-08-23",
    "date_label": "Aug 23-24 2023",
    "duration": "26498.0",
    "duration_label": "7 hours 21 min",
    "captures_count": 2898,
    "detections_count": 8,
    "occurrences_count": 2,
    "stats": {
        "detections_max_count": 5,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3459&ordering=timestamp",
    "first_capture": {
        "id": 9177765,
        "details": "https://api.beluga.insectai.org/api/v2/captures/9177765/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/dep000008/motion_images/20230823210822-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-08-23T21:08:22",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "2:00 AM",
                    "3:00 AM"
                ],
                "y": [
                    1,
                    3
                ],
                "ticktext": [
                    "2:00 AM:00",
                    "3:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    1,
                    1,
                    2
                ],
                "y": [
                    "Emmelina monodactyla",
                    "Agrius cingulata",
                    "Agriphila geniculea",
                    "Nonagria typhae",
                    "Enarmonia formosana",
                    "Ennomos alniaria"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-05-01T23:04:10.784025",
    "updated_at": "2024-05-01T23:04:11.064237",
    "user_permissions": []
}