API endpoint that allows events to be viewed or edited.

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

{
    "id": 3398,
    "name": "Monday, Aug 14-15 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/3398/?format=api",
    "deployment": {
        "id": 100,
        "name": "North Cont pos",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/100/?format=api",
        "user_permissions": []
    },
    "start": "2023-08-14T21:00:00",
    "end": "2023-08-15T04:50:00",
    "day": "2023-08-14",
    "date_label": "Aug 14-15 2023",
    "duration": "28200.0",
    "duration_label": "7 hours 50 min",
    "captures_count": 4140,
    "detections_count": 7,
    "occurrences_count": 1,
    "stats": {
        "detections_max_count": 7,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3398&ordering=timestamp",
    "first_capture": {
        "id": 9114337,
        "details": "https://api.beluga.insectai.org/api/v2/captures/9114337/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/dep000009/snapshot_images/01-20230814210000-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-08-14T21:00:00",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "3:00 AM"
                ],
                "y": [
                    1
                ],
                "ticktext": [
                    "3:00 AM:00",
                    "3:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    1
                ],
                "y": [
                    "Crambus pascuella",
                    "Noctua janthe",
                    "Idaea rusticata",
                    "Agriphila straminella",
                    "Cosmia trapezina",
                    "Anania verbascalis",
                    "Opisthograptis luteolata"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-04-30T10:36:53.032314",
    "updated_at": "2024-04-30T10:36:53.303159",
    "user_permissions": []
}