API endpoint that allows events to be viewed or edited.

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

{
    "id": 4825,
    "name": "Sunday, Aug 7 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4825/?format=api",
    "deployment": {
        "id": 238,
        "name": "Luna",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/238/?format=api",
        "user_permissions": []
    },
    "start": "2022-08-07T20:05:58",
    "end": "2022-08-07T23:05:48",
    "day": "2022-08-07",
    "date_label": "Aug 7 2022",
    "duration": "10790.0",
    "duration_label": "2 hours 59 min",
    "captures_count": 1783,
    "detections_count": 95,
    "occurrences_count": 15,
    "stats": {
        "detections_max_count": 12,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4825&ordering=timestamp",
    "first_capture": {
        "id": 17390698,
        "details": "https://api.beluga.insectai.org/api/v2/captures/17390698/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/vermont/RawImages/LUNA/2022/snapshots/2022_08_07_snapshots/20220807200558-01-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-08-07T20:05:58",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "9:00 PM",
                    "10:00 PM"
                ],
                "y": [
                    4,
                    16
                ],
                "ticktext": [
                    "9:00 PM:00",
                    "10:00 PM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    1,
                    1,
                    1,
                    1,
                    1,
                    1,
                    1,
                    2,
                    4,
                    6
                ],
                "y": [
                    "Hypoprepia fucosa",
                    "Drepana arcuata",
                    "Coleophora mayrella",
                    "Cydia pomonella",
                    "Chrysoteuchia topiarius",
                    "Endothenia hebesana",
                    "Not Lepidoptera",
                    "Microcrambus elegans",
                    "Idia rotundalis",
                    "Platynota exasperatana"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:00:50.288020",
    "updated_at": "2024-10-10T19:40:17.999833",
    "user_permissions": []
}