API endpoint that allows events to be viewed or edited.

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

{
    "id": 262,
    "name": "Tuesday, Sep 13-14 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/262/?format=api",
    "deployment": {
        "id": 13,
        "name": "Rigaud",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/13/?format=api",
        "user_permissions": []
    },
    "start": "2022-09-13T20:37:33",
    "end": "2022-09-14T05:31:05",
    "day": "2022-09-13",
    "date_label": "Sep 13-14 2022",
    "duration": "32012.0",
    "duration_label": "8 hours 53 min",
    "captures_count": 5574,
    "detections_count": 20,
    "occurrences_count": 8,
    "stats": {
        "detections_max_count": 7,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=262&ordering=timestamp",
    "first_capture": {
        "id": 971756,
        "details": "https://api.beluga.insectai.org/api/v2/captures/971756/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_09_13/20220913203733-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-09-13T20:37:33",
        "detections_count": 0,
        "detections": [
            {
                "id": 570895,
                "details": "https://api.beluga.insectai.org/api/v2/detections/570895/?format=api",
                "url": null,
                "width": null,
                "height": null,
                "bbox": null,
                "occurrence": {
                    "id": 542937,
                    "details": "https://api.beluga.insectai.org/api/v2/occurrences/542937/?format=api",
                    "determination": null,
                    "determination_score": null,
                    "user_permissions": []
                },
                "classifications": "https://api.beluga.insectai.org/api/v2/classifications/?format=api?detection=570895",
                "occurrence_meets_criteria": null,
                "user_permissions": []
            }
        ],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "10:00 PM",
                    "12:00 AM",
                    "1:00 AM",
                    "2:00 AM"
                ],
                "y": [
                    3,
                    2,
                    1,
                    2
                ],
                "ticktext": [
                    "10:00 PM:00",
                    "2:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    1,
                    1,
                    1,
                    5
                ],
                "y": [
                    "Crambus saltuellus",
                    "Choristoneura rosaceana",
                    "Urodus parvula",
                    "Protolampra brunneicollis",
                    "Caloptilia stigmatella",
                    "Argyria nivalis",
                    "Cenopis diluticostana",
                    "Campaea perlata",
                    "Acrolophus mora",
                    "Not Lepidoptera"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-08-20T16:13:19.775455",
    "updated_at": "2024-07-23T18:55:53.572710",
    "user_permissions": []
}