API endpoint that allows events to be viewed or edited.

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

{
    "id": 4905,
    "name": "Wednesday, Aug 31 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4905/?format=api",
    "deployment": {
        "id": 238,
        "name": "Luna",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/238/?format=api",
        "user_permissions": []
    },
    "start": "2022-08-31T20:08:00",
    "end": "2022-08-31T23:08:54",
    "day": "2022-08-31",
    "date_label": "Aug 31 2022",
    "duration": "10854.0",
    "duration_label": "3 hours 0 min",
    "captures_count": 684,
    "detections_count": 32,
    "occurrences_count": 13,
    "stats": {
        "detections_max_count": 8,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4905&ordering=timestamp",
    "first_capture": {
        "id": 17391217,
        "details": "https://api.beluga.insectai.org/api/v2/captures/17391217/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/vermont/RawImages/LUNA/2022/snapshots/2022_08_31_snapshots/20220831200800-01-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-08-31T20:08:00",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "8:00 PM",
                    "9:00 PM",
                    "10:00 PM",
                    "11:00 PM"
                ],
                "y": [
                    4,
                    2,
                    5,
                    3
                ],
                "ticktext": [
                    "8:00 PM:00",
                    "11:00 PM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    1,
                    1,
                    1,
                    1,
                    1,
                    1,
                    1,
                    1,
                    2,
                    4
                ],
                "y": [
                    "Xestia c-nigrum",
                    "Epipagis adipaloides",
                    "Eupithecia",
                    "Platynota exasperatana",
                    "Crambus praefectellus",
                    "Eudonia strigalis",
                    "Campaea perlata",
                    "Synanthedon acerni",
                    "Lambdina fiscellaria",
                    "Scoparia biplagialis"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:01:03.482766",
    "updated_at": "2024-10-10T19:40:30.131923",
    "user_permissions": []
}