API endpoint that allows events to be viewed or edited.

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

{
    "id": 161,
    "name": "Saturday, May 28-29 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/161/?format=api",
    "deployment": {
        "id": 13,
        "name": "Rigaud",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/13/?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": 2,
    "occurrences_count": 1,
    "stats": {
        "detections_max_count": 1,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=161&ordering=timestamp",
    "first_capture": {
        "id": 717959,
        "details": "https://api.beluga.insectai.org/api/v2/captures/717959/?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": 148474,
                "details": "https://api.beluga.insectai.org/api/v2/detections/148474/?format=api",
                "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/crops-dev/202205282115480001/3370-754-3505-890-1725000671.jpg",
                "width": null,
                "height": null,
                "bbox": [
                    3370.0,
                    754.0,
                    3505.0,
                    890.0
                ],
                "occurrence": {
                    "id": 123418,
                    "details": "https://api.beluga.insectai.org/api/v2/occurrences/123418/?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.4153885841369629,
                    "user_permissions": []
                },
                "classifications": "https://api.beluga.insectai.org/api/v2/classifications/?format=api?detection=148474",
                "occurrence_meets_criteria": null,
                "user_permissions": []
            }
        ],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "3:00 AM"
                ],
                "y": [
                    1
                ],
                "ticktext": [
                    "3:00 AM:00",
                    "3:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    1
                ],
                "y": [
                    "Coleophora mayrella",
                    "Not Lepidoptera"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-08-20T16:12:40.629640",
    "updated_at": "2024-07-23T18:55:31.619448",
    "user_permissions": []
}