API endpoint that allows events to be viewed or edited.

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

{
    "id": 149,
    "name": "Saturday, May 14 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/149/?format=api",
    "deployment": {
        "id": 13,
        "name": "Rigaud",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/13/?format=api",
        "user_permissions": []
    },
    "start": "2022-05-14T11:42:44",
    "end": "2022-05-14T19:41:56",
    "day": "2022-05-14",
    "date_label": "May 14 2022",
    "duration": "28752.0",
    "duration_label": "7 hours 59 min",
    "captures_count": 1661,
    "detections_count": 2,
    "occurrences_count": 0,
    "stats": {
        "detections_max_count": 1,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=149&ordering=timestamp",
    "first_capture": {
        "id": 1013792,
        "details": "https://api.beluga.insectai.org/api/v2/captures/1013792/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/_Tests/2022_05_14/20220514114244-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-05-14T11:42:44",
        "detections_count": 1,
        "detections": [
            {
                "id": 146406,
                "details": "https://api.beluga.insectai.org/api/v2/detections/146406/?format=api",
                "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/crops-dev/202205141142440001/3433-926-3531-1023-1724997049.jpg",
                "width": null,
                "height": null,
                "bbox": [
                    3433.0,
                    926.0,
                    3531.0,
                    1023.0
                ],
                "occurrence": {
                    "id": 121350,
                    "details": "https://api.beluga.insectai.org/api/v2/occurrences/121350/?format=api",
                    "determination": {
                        "id": 4573,
                        "name": "Acleris nivisellana",
                        "rank": "SPECIES",
                        "details": "https://api.beluga.insectai.org/api/v2/taxa/4573/?format=api",
                        "gbif_taxon_key": 1740389,
                        "fieldguide_id": null,
                        "inat_taxon_id": null,
                        "cover_image_url": null,
                        "cover_image_credit": null,
                        "user_permissions": []
                    },
                    "determination_score": 0.03815796971321106,
                    "user_permissions": []
                },
                "classifications": "https://api.beluga.insectai.org/api/v2/classifications/?format=api?detection=146406",
                "occurrence_meets_criteria": null,
                "user_permissions": []
            }
        ],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [],
                "y": [],
                "ticktext": []
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0
                ],
                "y": [
                    "Acleris nivisellana"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-08-20T16:12:38.074968",
    "updated_at": "2024-07-23T18:55:29.446807",
    "user_permissions": []
}