API endpoint that allows events to be viewed or edited.

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

{
    "id": 3153,
    "name": "Tuesday, Jan 23 2024",
    "details": "https://api.beluga.insectai.org/api/v2/events/3153/?format=api",
    "deployment": {
        "id": 109,
        "name": "Panama - trap 2",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/109/?format=api",
        "user_permissions": []
    },
    "start": "2024-01-23T08:50:40",
    "end": "2024-01-23T08:51:00",
    "day": "2024-01-23",
    "date_label": "Jan 23 2024",
    "duration": "20.0",
    "duration_label": "0 minutes",
    "captures_count": 3,
    "detections_count": 1,
    "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=3153&ordering=timestamp",
    "first_capture": {
        "id": 8269743,
        "details": "https://api.beluga.insectai.org/api/v2/captures/8269743/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/pan/dep000018/snapshot_images/20240123085040-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=951e406b7eb1113e1bb05c083ce51481%2F20260403%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260403T161714Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=208ee2811aa48aefde638d9421f3d2d1fd880a5be6e05d13b473c79f7b88e818",
        "width": 4096,
        "height": 2160,
        "timestamp": "2024-01-23T08:50:40",
        "detections_count": 1,
        "detections": [
            {
                "id": 102677,
                "details": "https://api.beluga.insectai.org/api/v2/detections/102677/?format=api",
                "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/crops-dev/20240123085040snapshot/926-32-1187-196-1716013625.jpg",
                "width": null,
                "height": null,
                "bbox": [
                    926.0,
                    32.0,
                    1187.0,
                    196.0
                ],
                "occurrence": {
                    "id": 76693,
                    "details": "https://api.beluga.insectai.org/api/v2/occurrences/76693/?format=api",
                    "determination": {
                        "id": 6173,
                        "name": "Herpetogramma phaeopteralis",
                        "rank": "SPECIES",
                        "details": "https://api.beluga.insectai.org/api/v2/taxa/6173/?format=api",
                        "gbif_taxon_key": 1882960,
                        "fieldguide_id": null,
                        "inat_taxon_id": null,
                        "cover_image_url": null,
                        "cover_image_credit": null,
                        "user_permissions": []
                    },
                    "determination_score": 0.14937721192836761,
                    "user_permissions": []
                },
                "classifications": "https://api.beluga.insectai.org/api/v2/classifications/?format=api?detection=102677",
                "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": [
                    "Herpetogramma phaeopteralis"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-04-29T14:50:37.755087",
    "updated_at": "2024-09-20T06:48:49.403520",
    "user_permissions": []
}