API endpoint that allows events to be viewed or edited.

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

{
    "id": 3261,
    "name": "Friday, Jul 21-22 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/3261/?format=api",
    "deployment": {
        "id": 103,
        "name": "North Agri neg",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/103/?format=api",
        "user_permissions": []
    },
    "start": "2023-07-21T21:00:00",
    "end": "2023-07-22T05:00:00",
    "day": "2023-07-21",
    "date_label": "Jul 21-22 2023",
    "duration": "28800.0",
    "duration_label": "8 hours 0 min",
    "captures_count": 4321,
    "detections_count": 9,
    "occurrences_count": 1,
    "stats": {
        "detections_max_count": 5,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3261&ordering=timestamp",
    "first_capture": {
        "id": 8948943,
        "details": "https://api.beluga.insectai.org/api/v2/captures/8948943/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/dep000012/snapshot_images/01-20230721210000-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-07-21T21:00:00",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "11:00 PM"
                ],
                "y": [
                    3
                ],
                "ticktext": [
                    "11:00 PM:00",
                    "11:00 PM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    1,
                    1,
                    1
                ],
                "y": [
                    "Eremobia ochroleuca",
                    "Crambus pascuella",
                    "Ypsolopha parenthesella",
                    "Atolmis rubricollis",
                    "Thyridopteryx ephemeraeformis",
                    "Coleophora mayrella",
                    "Chrysoteuchia culmella",
                    "Homoeosoma sinuella"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-04-30T10:31:10.440405",
    "updated_at": "2024-04-30T10:31:10.732078",
    "user_permissions": []
}