API endpoint that allows events to be viewed or edited.

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

{
    "id": 342,
    "name": "Friday, Aug 5-6 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/342/?format=api",
    "deployment": {
        "id": 14,
        "name": "Insectarium",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/14/?format=api",
        "user_permissions": []
    },
    "start": "2022-08-05T20:40:00",
    "end": "2022-08-06T05:48:57",
    "day": "2022-08-05",
    "date_label": "Aug 5-6 2022",
    "duration": "32937.0",
    "duration_label": "9 hours 8 min",
    "captures_count": 15704,
    "detections_count": 148,
    "occurrences_count": 91,
    "stats": {
        "detections_max_count": 72,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=342&ordering=timestamp",
    "first_capture": {
        "id": 1435464,
        "details": "https://api.beluga.insectai.org/api/v2/captures/1435464/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Insectarium/2022/SnapShot/01-20220805204000-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-08-05T20:40:00",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "10:00 PM",
                    "4:00 AM"
                ],
                "y": [
                    77,
                    14
                ],
                "ticktext": [
                    "10:00 PM:00",
                    "4:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    1,
                    1,
                    1,
                    1,
                    2,
                    5,
                    80
                ],
                "y": [
                    "Acrolophus mora",
                    "Aphomia terrenella",
                    "Arctia parthenos",
                    "Acleris semipurpurana",
                    "Nephelodes minians",
                    "Macaria signaria",
                    "Microtheoris ophionalis",
                    "Nematocampa resistaria",
                    "Choristoneura rosaceana",
                    "Not Lepidoptera"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-08-20T16:22:30.719264",
    "updated_at": "2024-08-09T20:10:35.210448",
    "user_permissions": []
}