API endpoint that allows events to be viewed or edited.

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

{
    "id": 4590,
    "name": "Friday, Jun 24-25 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4590/?format=api",
    "deployment": {
        "id": 238,
        "name": "Luna",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/238/?format=api",
        "user_permissions": []
    },
    "start": "2022-06-24T20:05:59",
    "end": "2022-06-25T00:12:10",
    "day": "2022-06-24",
    "date_label": "Jun 24-25 2022",
    "duration": "14771.0",
    "duration_label": "4 hours 6 min",
    "captures_count": 2735,
    "detections_count": 21,
    "occurrences_count": 5,
    "stats": {
        "detections_max_count": 12,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4590&ordering=timestamp",
    "first_capture": {
        "id": 17389408,
        "details": "https://api.beluga.insectai.org/api/v2/captures/17389408/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/vermont/RawImages/LUNA/2022/snapshots/2022_06_24_snapshots/20220624200559-01-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-06-24T20:05:59",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "10:00 PM",
                    "12:00 AM"
                ],
                "y": [
                    1,
                    5
                ],
                "ticktext": [
                    "10:00 PM:00",
                    "12:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    1,
                    1,
                    2,
                    2
                ],
                "y": [
                    "Macaria signaria",
                    "Epiblema otiosana",
                    "Costaconvexa centrostrigaria",
                    "Coleophora mayrella",
                    "Cnephasia stephensiana",
                    "Asaphocrita aphidiella",
                    "Adela caeruleella",
                    "Hydrelia inornata",
                    "Dryocampa rubicunda",
                    "Choristoneura rosaceana"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:00:19.255431",
    "updated_at": "2024-10-10T19:39:57.418151",
    "user_permissions": []
}