API endpoint that allows events to be viewed or edited.

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

{
    "id": 5241,
    "name": "Wednesday, Aug 7-8 2024",
    "details": "https://api.beluga.insectai.org/api/v2/events/5241/?format=api",
    "deployment": {
        "id": 52,
        "name": "Mothra",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/52/?format=api",
        "user_permissions": []
    },
    "start": "2024-08-07T20:59:00",
    "end": "2024-08-08T03:58:59",
    "day": "2024-08-07",
    "date_label": "Aug 7-8 2024",
    "duration": "25199.0",
    "duration_label": "6 hours 59 min",
    "captures_count": 2521,
    "detections_count": 15,
    "occurrences_count": 15,
    "stats": {
        "detections_max_count": 4,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=5241&ordering=timestamp",
    "first_capture": {
        "id": 19181821,
        "details": "https://api.beluga.insectai.org/api/v2/captures/19181821/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/vermont/RawImages/MOTHRA/01-20240807205900-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2024-08-07T20:59:00",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "12:00 AM",
                    "1:00 AM",
                    "2:00 AM",
                    "3:00 AM"
                ],
                "y": [
                    4,
                    2,
                    2,
                    1
                ],
                "ticktext": [
                    "12:00 AM:00",
                    "3:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    1,
                    1,
                    1,
                    2,
                    2,
                    2
                ],
                "y": [
                    "Eriocrania semipurpurella",
                    "Elasmopalpus lignosella",
                    "Argyrotaenia quadrifasciana",
                    "Macaria bisignata",
                    "Plusia putnami",
                    "Hypagyrtis unipunctata",
                    "Eudonia strigalis",
                    "Pyrausta acrionalis",
                    "Not a Moth",
                    "Nematocampa resistaria"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2025-01-14T21:48:59.505418",
    "updated_at": "2025-01-15T19:04:42.492253",
    "user_permissions": []
}