API endpoint that allows events to be viewed or edited.

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

{
    "id": 2552,
    "name": "Saturday, Jul 23 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/2552/?format=api",
    "deployment": {
        "id": 53,
        "name": "Luna",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/53/?format=api",
        "user_permissions": []
    },
    "start": "2022-07-23T20:13:00",
    "end": "2022-07-23T22:52:25",
    "day": "2022-07-23",
    "date_label": "Jul 23 2022",
    "duration": "9565.0",
    "duration_label": "2 hours 39 min",
    "captures_count": 1574,
    "detections_count": 174,
    "occurrences_count": 28,
    "stats": {
        "detections_max_count": 14,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2552&ordering=timestamp",
    "first_capture": {
        "id": 5073817,
        "details": "https://api.beluga.insectai.org/api/v2/captures/5073817/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/vermont/RawImages/LUNA/2022/snapshots/2022_07_23_snapshots/20220723201300-01-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-07-23T20:13:00",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "9:00 PM",
                    "10:00 PM"
                ],
                "y": [
                    10,
                    22
                ],
                "ticktext": [
                    "9:00 PM:00",
                    "10:00 PM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    1,
                    1,
                    1,
                    1,
                    2,
                    2,
                    2,
                    2,
                    3,
                    12
                ],
                "y": [
                    "Chrysoteuchia topiarius",
                    "Disclisioprocta stellata",
                    "Dichomeris heriguronis",
                    "Panthea acronyctoides",
                    "Hypoprepia fucosa",
                    "Platynota exasperatana",
                    "Platytes vobisne",
                    "Haploa contigua",
                    "Phragmatobia fuliginosa",
                    "Drepana arcuata"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-10-13T02:36:11.769313",
    "updated_at": "2024-09-05T00:18:11.490013",
    "user_permissions": []
}