API endpoint that allows events to be viewed or edited.

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

{
    "id": 3197,
    "name": "Tuesday, Jan 2-3 2024",
    "details": "https://api.beluga.insectai.org/api/v2/events/3197/?format=api",
    "deployment": {
        "id": 111,
        "name": "Panama - trap 4",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/111/?format=api",
        "user_permissions": []
    },
    "start": "2024-01-02T18:00:00",
    "end": "2024-01-03T05:00:00",
    "day": "2024-01-02",
    "date_label": "Jan 2-3 2024",
    "duration": "39600.0",
    "duration_label": "11 hours 0 min",
    "captures_count": 3961,
    "detections_count": 1117,
    "occurrences_count": 316,
    "stats": {
        "detections_max_count": 28,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3197&ordering=timestamp",
    "first_capture": {
        "id": 8383158,
        "details": "https://api.beluga.insectai.org/api/v2/captures/8383158/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/pan/dep000020/snapshot_images/20240102180000-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=951e406b7eb1113e1bb05c083ce51481%2F20260412%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260412T003922Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=118c9a4530a314f910becf735d5c186c760f3facd635b3926d842153dbfa2405",
        "width": 4096,
        "height": 2160,
        "timestamp": "2024-01-02T18:00:00",
        "detections_count": 1,
        "detections": [
            {
                "id": 109423,
                "details": "https://api.beluga.insectai.org/api/v2/detections/109423/?format=api",
                "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/crops-dev/20240102180000snapshot/1774-286-1843-451-1716029439.jpg",
                "width": null,
                "height": null,
                "bbox": [
                    1774.0,
                    286.0,
                    1843.0,
                    451.0
                ],
                "occurrence": {
                    "id": 83536,
                    "details": "https://api.beluga.insectai.org/api/v2/occurrences/83536/?format=api",
                    "determination": {
                        "id": 2211,
                        "name": "Plodia interpunctella",
                        "rank": "SPECIES",
                        "details": "https://api.beluga.insectai.org/api/v2/taxa/2211/?format=api",
                        "gbif_taxon_key": 1873079,
                        "fieldguide_id": null,
                        "inat_taxon_id": null,
                        "cover_image_url": null,
                        "cover_image_credit": null,
                        "user_permissions": []
                    },
                    "determination_score": 0.4594534933567047,
                    "user_permissions": []
                },
                "classifications": "https://api.beluga.insectai.org/api/v2/classifications/?format=api?detection=109423",
                "occurrence_meets_criteria": null,
                "user_permissions": []
            }
        ],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "6:00 PM",
                    "7:00 PM",
                    "8:00 PM",
                    "9:00 PM",
                    "10:00 PM",
                    "11:00 PM",
                    "12:00 AM",
                    "1:00 AM",
                    "2:00 AM",
                    "3:00 AM",
                    "4:00 AM"
                ],
                "y": [
                    4,
                    26,
                    49,
                    51,
                    52,
                    46,
                    24,
                    51,
                    56,
                    37,
                    30
                ],
                "ticktext": [
                    "6:00 PM:00",
                    "4:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    9,
                    11,
                    11,
                    12,
                    16,
                    17,
                    22,
                    24,
                    36,
                    195
                ],
                "y": [
                    "Ephestia elutella",
                    "Macaria abydata",
                    "Condylorrhiza vestigialis",
                    "Herpetogramma phaeopteralis",
                    "Syngamia florella",
                    "Elasmopalpus lignosella",
                    "Sosxetra grata",
                    "Acrolophus panamae",
                    "Cecrita biundata",
                    "Plodia interpunctella"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-04-29T14:57:53.123618",
    "updated_at": "2024-09-20T06:59:10.059956",
    "user_permissions": []
}