API endpoint that allows events to be viewed or edited.

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

{
    "id": 4636,
    "name": "Saturday, May 28-29 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4636/?format=api",
    "deployment": {
        "id": 236,
        "name": "Rigaud",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/236/?format=api",
        "user_permissions": []
    },
    "start": "2022-05-28T21:15:48",
    "end": "2022-05-29T05:31:57",
    "day": "2022-05-28",
    "date_label": "May 28-29 2022",
    "duration": "29769.0",
    "duration_label": "8 hours 16 min",
    "captures_count": 1838,
    "detections_count": 43,
    "occurrences_count": 4,
    "stats": {
        "detections_max_count": 6,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4636&ordering=timestamp",
    "first_capture": {
        "id": 15889126,
        "details": "https://api.beluga.insectai.org/api/v2/captures/15889126/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_05_28/20220528211548-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-05-28T21:15:48",
        "detections_count": 1,
        "detections": [
            {
                "id": 226437,
                "details": "https://api.beluga.insectai.org/api/v2/detections/226437/?format=api",
                "url": "https://object-arbutus.cloud.computecanada.ca/ami-media-staging/uploads/detections/85/2022-05-28/20220528211548-00-01_detection_226437.jpg",
                "width": null,
                "height": null,
                "bbox": [
                    3370.0,
                    754.0,
                    3505.0,
                    890.0
                ],
                "occurrence": {
                    "id": 201393,
                    "details": "https://api.beluga.insectai.org/api/v2/occurrences/201393/?format=api",
                    "determination": {
                        "id": 3543,
                        "name": "Coleophora mayrella",
                        "rank": "SPECIES",
                        "details": "https://api.beluga.insectai.org/api/v2/taxa/3543/?format=api",
                        "gbif_taxon_key": 5120675,
                        "fieldguide_id": null,
                        "inat_taxon_id": null,
                        "cover_image_url": null,
                        "cover_image_credit": null,
                        "user_permissions": []
                    },
                    "determination_score": 0.4153904318809509,
                    "user_permissions": []
                },
                "classifications": "https://api.beluga.insectai.org/api/v2/classifications/?format=api?detection=226437",
                "occurrence_meets_criteria": null,
                "user_permissions": []
            }
        ],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "11:00 PM",
                    "12:00 AM",
                    "1:00 AM"
                ],
                "y": [
                    1,
                    2,
                    3
                ],
                "ticktext": [
                    "11:00 PM:00",
                    "1:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    1,
                    1,
                    4
                ],
                "y": [
                    "Argyrotaenia mariana",
                    "Coleophora trifolii",
                    "Coleophora mayrella",
                    "Caloptilia rhoifoliella",
                    "Caloptilia strictella",
                    "Caloptilia stigmatella",
                    "Archips packardiana",
                    "Not Lepidoptera",
                    "Mathildana newmanella",
                    "Cladara limitaria"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:00:24.563718",
    "updated_at": "2024-10-10T19:40:46.604203",
    "user_permissions": []
}