API endpoint that allows events to be viewed or edited.

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

{
    "id": 4155,
    "name": "Wednesday, Jul 24-25 2024",
    "details": "https://api.beluga.insectai.org/api/v2/events/4155/?format=api",
    "deployment": {
        "id": 116,
        "name": "Costa Rica - Swamp",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/116/?format=api",
        "user_permissions": []
    },
    "start": "2024-07-24T18:30:39",
    "end": "2024-07-25T04:01:00",
    "day": "2024-07-24",
    "date_label": "Jul 24-25 2024",
    "duration": "34221.0",
    "duration_label": "9 hours 30 min",
    "captures_count": 3423,
    "detections_count": 20,
    "occurrences_count": 3,
    "stats": {
        "detections_max_count": 20,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4155&ordering=timestamp",
    "first_capture": {
        "id": 13426452,
        "details": "https://api.beluga.insectai.org/api/v2/captures/13426452/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/cri/dep000033/snapshot_images/01-20240724183039-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=951e406b7eb1113e1bb05c083ce51481%2F20260411%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260411T232352Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=d6e62c7065608edeb589b78c657bde9ad8ae4ea4b05f5aaef451a535e95a1566",
        "width": 4096,
        "height": 2160,
        "timestamp": "2024-07-24T18:30:39",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "2:00 AM"
                ],
                "y": [
                    3
                ],
                "ticktext": [
                    "2:00 AM:00",
                    "2:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    1,
                    1,
                    1
                ],
                "y": [
                    "Pachylia ficus",
                    "Othorene verana",
                    "Megalopyge opercularis",
                    "Lophocampa annulosa",
                    "Lambdina fiscellaria",
                    "Isogona snowi",
                    "Eublemma minima",
                    "Enyo lugubris",
                    "Cryptographis nitidalis",
                    "Perigramma vicina"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-12T15:25:03.107105",
    "updated_at": "2024-09-12T15:25:03.381351",
    "user_permissions": []
}