API endpoint that allows events to be viewed or edited.

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

{
    "id": 4709,
    "name": "Thursday, Aug 11-12 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4709/?format=api",
    "deployment": {
        "id": 239,
        "name": "Newfoundland - Unit 2",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/239/?format=api",
        "user_permissions": []
    },
    "start": "2022-08-11T22:02:51",
    "end": "2022-08-12T03:40:51",
    "day": "2022-08-11",
    "date_label": "Aug 11-12 2022",
    "duration": "20280.0",
    "duration_label": "5 hours 38 min",
    "captures_count": 6849,
    "detections_count": 890,
    "occurrences_count": 203,
    "stats": {
        "detections_max_count": 22,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4709&ordering=timestamp",
    "first_capture": {
        "id": 15973740,
        "details": "https://api.beluga.insectai.org/api/v2/captures/15973740/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/newfoundland/Unit-2/Aug 11/20220811220251-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-08-11T22:02:51",
        "detections_count": 1,
        "detections": [
            {
                "id": 273265,
                "details": "https://api.beluga.insectai.org/api/v2/detections/273265/?format=api",
                "url": "https://object-arbutus.cloud.computecanada.ca/ami-media-staging/uploads/detections/85/2022-08-11/20220811220251-00-01_detection_273265.jpg",
                "width": null,
                "height": null,
                "bbox": [
                    2952.0,
                    195.0,
                    3019.0,
                    309.0
                ],
                "occurrence": {
                    "id": 248221,
                    "details": "https://api.beluga.insectai.org/api/v2/occurrences/248221/?format=api",
                    "determination": {
                        "id": 5657,
                        "name": "Mathildana newmanella",
                        "rank": "SPECIES",
                        "details": "https://api.beluga.insectai.org/api/v2/taxa/5657/?format=api",
                        "gbif_taxon_key": 1837900,
                        "fieldguide_id": null,
                        "inat_taxon_id": null,
                        "cover_image_url": null,
                        "cover_image_credit": null,
                        "user_permissions": []
                    },
                    "determination_score": 0.13441523909568787,
                    "user_permissions": []
                },
                "classifications": "https://api.beluga.insectai.org/api/v2/classifications/?format=api?detection=273265",
                "occurrence_meets_criteria": null,
                "user_permissions": []
            }
        ],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "10:00 PM",
                    "11:00 PM",
                    "12:00 AM",
                    "1:00 AM",
                    "2:00 AM",
                    "3:00 AM"
                ],
                "y": [
                    29,
                    70,
                    59,
                    80,
                    48,
                    20
                ],
                "ticktext": [
                    "10:00 PM:00",
                    "3:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    2,
                    2,
                    3,
                    3,
                    4,
                    5,
                    16,
                    46,
                    66,
                    142
                ],
                "y": [
                    "Not Lepidoptera",
                    "Not Identifiable",
                    "Eriocrania semipurpurella",
                    "Platynota flavedana",
                    "Ortholepis pasadamia",
                    "Argyrotaenia velutinana",
                    "Choristoneura rosaceana",
                    "Acleris forsskaleana",
                    "Cenopis pettitana",
                    "Archips argyrospila"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:00:32.667353",
    "updated_at": "2024-10-10T19:40:50.408202",
    "user_permissions": []
}