API endpoint that allows events to be viewed or edited.

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

{
    "id": 2970,
    "name": "Monday, Sep 18-19 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/2970/?format=api",
    "deployment": {
        "id": 93,
        "name": "Ox Cont neg",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/93/?format=api",
        "user_permissions": []
    },
    "start": "2023-09-18T20:59:59",
    "end": "2023-09-19T04:19:59",
    "day": "2023-09-18",
    "date_label": "Sep 18-19 2023",
    "duration": "26400.0",
    "duration_label": "7 hours 20 min",
    "captures_count": 104,
    "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=2970&ordering=timestamp",
    "first_capture": {
        "id": 6831720,
        "details": "https://api.beluga.insectai.org/api/v2/captures/6831720/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/dep000002/snapshot_images/20230918205959-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-09-18T20:59:59",
        "detections_count": 1,
        "detections": [
            {
                "id": 84398,
                "details": "https://api.beluga.insectai.org/api/v2/detections/84398/?format=api",
                "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/crops-dev/20230918205959snapshot/1594-1548-1640-1630-1714681435.jpg",
                "width": null,
                "height": null,
                "bbox": [
                    1594.0,
                    1548.0,
                    1640.0,
                    1630.0
                ],
                "occurrence": {
                    "id": 56867,
                    "details": "https://api.beluga.insectai.org/api/v2/occurrences/56867/?format=api",
                    "determination": {
                        "id": 2276,
                        "name": "Galleria mellonella",
                        "rank": "SPECIES",
                        "details": "https://api.beluga.insectai.org/api/v2/taxa/2276/?format=api",
                        "gbif_taxon_key": 1876542,
                        "fieldguide_id": null,
                        "inat_taxon_id": null,
                        "cover_image_url": null,
                        "cover_image_credit": null,
                        "user_permissions": []
                    },
                    "determination_score": 0.12958058714866638,
                    "user_permissions": []
                },
                "classifications": "https://api.beluga.insectai.org/api/v2/classifications/?format=api?detection=84398",
                "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,
                    0
                ],
                "y": [
                    "Galleria mellonella",
                    "Abraxas grossulariata"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-04-25T10:38:36.482910",
    "updated_at": "2024-04-26T01:17:42.632464",
    "user_permissions": []
}