API endpoint that allows events to be viewed or edited.

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

{
    "id": 4182,
    "name": "Monday, Mar 25-26 2024",
    "details": "https://api.beluga.insectai.org/api/v2/events/4182/?format=api",
    "deployment": {
        "id": 120,
        "name": "Costa Rica - Garden",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/120/?format=api",
        "user_permissions": []
    },
    "start": "2024-03-25T18:29:11",
    "end": "2024-03-26T03:58:59",
    "day": "2024-03-25",
    "date_label": "Mar 25-26 2024",
    "duration": "34188.0",
    "duration_label": "9 hours 29 min",
    "captures_count": 3420,
    "detections_count": 1,
    "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=4182&ordering=timestamp",
    "first_capture": {
        "id": 11692049,
        "details": "https://api.beluga.insectai.org/api/v2/captures/11692049/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/cri/dep000037/snapshot_images/01-20240325182911-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=951e406b7eb1113e1bb05c083ce51481%2F20260403%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260403T160713Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=baee7b90ac1928126cfe5775aa0eeb113d702f9b1bf121746b9dd6db5a8847b3",
        "width": 4096,
        "height": 2160,
        "timestamp": "2024-03-25T18:29:11",
        "detections_count": 1,
        "detections": [
            {
                "id": 483260,
                "details": "https://api.beluga.insectai.org/api/v2/detections/483260/?format=api",
                "url": "https://object-arbutus.cloud.computecanada.ca/ami-media-staging/uploads/detections/45/2024-03-25/01-20240325182911-snapshot_detection_483260.jpg",
                "width": null,
                "height": null,
                "bbox": [
                    2459.0,
                    547.0,
                    2644.0,
                    648.0
                ],
                "occurrence": {
                    "id": 458764,
                    "details": "https://api.beluga.insectai.org/api/v2/occurrences/458764/?format=api",
                    "determination": {
                        "id": 11708,
                        "name": "Phereoeca uterella",
                        "rank": "UNKNOWN",
                        "details": "https://api.beluga.insectai.org/api/v2/taxa/11708/?format=api",
                        "gbif_taxon_key": null,
                        "fieldguide_id": null,
                        "inat_taxon_id": null,
                        "cover_image_url": null,
                        "cover_image_credit": null,
                        "user_permissions": []
                    },
                    "determination_score": 0.6318803429603577,
                    "user_permissions": []
                },
                "classifications": "https://api.beluga.insectai.org/api/v2/classifications/?format=api?detection=483260",
                "occurrence_meets_criteria": null,
                "user_permissions": []
            }
        ],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "6:00 PM"
                ],
                "y": [
                    1
                ],
                "ticktext": [
                    "6:00 PM:00",
                    "6:00 PM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    1
                ],
                "y": [
                    "Phereoeca uterella"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-12T15:26:32.377093",
    "updated_at": "2024-09-12T15:26:32.667405",
    "user_permissions": []
}