API endpoint that allows events to be viewed or edited.

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

{
    "id": 4733,
    "name": "Friday, Jul 22-23 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4733/?format=api",
    "deployment": {
        "id": 238,
        "name": "Luna",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/238/?format=api",
        "user_permissions": []
    },
    "start": "2022-07-22T20:12:00",
    "end": "2022-07-23T01:54:50",
    "day": "2022-07-22",
    "date_label": "Jul 22-23 2022",
    "duration": "20570.0",
    "duration_label": "5 hours 42 min",
    "captures_count": 4142,
    "detections_count": 63,
    "occurrences_count": 13,
    "stats": {
        "detections_max_count": 16,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4733&ordering=timestamp",
    "first_capture": {
        "id": 17390196,
        "details": "https://api.beluga.insectai.org/api/v2/captures/17390196/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/vermont/RawImages/LUNA/2022/snapshots/2022_07_22_snapshots/20220722201200-01-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-07-22T20:12:00",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "11:00 PM",
                    "12:00 AM",
                    "1:00 AM"
                ],
                "y": [
                    5,
                    11,
                    6
                ],
                "ticktext": [
                    "11:00 PM:00",
                    "1:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    1,
                    1,
                    1,
                    1,
                    1,
                    1,
                    1,
                    2,
                    2,
                    3
                ],
                "y": [
                    "Argyria nivalis",
                    "Crambus",
                    "Agriphila vulgivagellus",
                    "Crambus agitatellus",
                    "Archips cerasivorana",
                    "Emmelina monodactyla",
                    "Endothenia hebesana",
                    "Hydrelia inornata",
                    "Hypoprepia fucosa",
                    "Microcrambus elegans"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:00:34.680670",
    "updated_at": "2024-10-10T19:40:08.836039",
    "user_permissions": []
}