API endpoint that allows events to be viewed or edited.

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

{
    "id": 4912,
    "name": "Sunday, Sep 4 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4912/?format=api",
    "deployment": {
        "id": 238,
        "name": "Luna",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/238/?format=api",
        "user_permissions": []
    },
    "start": "2022-09-04T20:12:00",
    "end": "2022-09-04T23:25:16",
    "day": "2022-09-04",
    "date_label": "Sep 4 2022",
    "duration": "11596.0",
    "duration_label": "3 hours 13 min",
    "captures_count": 1823,
    "detections_count": 185,
    "occurrences_count": 28,
    "stats": {
        "detections_max_count": 13,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4912&ordering=timestamp",
    "first_capture": {
        "id": 17391279,
        "details": "https://api.beluga.insectai.org/api/v2/captures/17391279/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/vermont/RawImages/LUNA/2022/snapshots/2022_09_04_snapshots/20220904201200-01-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-09-04T20:12: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": [
                    3,
                    7,
                    22,
                    8
                ],
                "ticktext": [
                    "8:00 PM:00",
                    "11:00 PM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    1,
                    1,
                    1,
                    1,
                    1,
                    2,
                    2,
                    3,
                    5,
                    15
                ],
                "y": [
                    "Arctia caja",
                    "Coleophora mayrella",
                    "Eudonia heterosalis",
                    "Agriphila vulgivagellus",
                    "Endothenia hebesana",
                    "Argyrotaenia velutinana",
                    "Clepsis peritana",
                    "Microcrambus elegans",
                    "Scoparia biplagialis",
                    "Campaea perlata"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:01:04.655919",
    "updated_at": "2024-10-10T19:40:31.443831",
    "user_permissions": []
}