Return a list of time intervals and the number of detections for each interval, including intervals where no source images were captured, along with meta information.

GET /api/v2/events/2848/timeline/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "data": [
        {
            "start": "2023-09-13T04:20:00",
            "end": "2023-09-13T04:21:00",
            "first_capture": {
                "id": 6238653,
                "details": "https://api.beluga.insectai.org/api/v2/captures/6238653/?format=api",
                "user_permissions": []
            },
            "top_capture": {
                "id": 6238653,
                "details": "https://api.beluga.insectai.org/api/v2/captures/6238653/?format=api",
                "user_permissions": []
            },
            "captures_count": 1,
            "detections_count": 1,
            "detections_avg": 1,
            "was_processed": true
        },
        {
            "start": "2023-09-13T04:21:00",
            "end": "2023-09-13T04:22:00",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2023-09-13T04:22:00",
            "end": "2023-09-13T04:23:00",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2023-09-13T04:23:00",
            "end": "2023-09-13T04:24:00",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2023-09-13T04:24:00",
            "end": "2023-09-13T04:25:00",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2023-09-13T04:25:00",
            "end": "2023-09-13T04:26:00",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2023-09-13T04:26:00",
            "end": "2023-09-13T04:27:00",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2023-09-13T04:27:00",
            "end": "2023-09-13T04:28:00",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2023-09-13T04:28:00",
            "end": "2023-09-13T04:29:00",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2023-09-13T04:29:00",
            "end": "2023-09-13T04:30:00",
            "first_capture": {
                "id": 6238654,
                "details": "https://api.beluga.insectai.org/api/v2/captures/6238654/?format=api",
                "user_permissions": []
            },
            "top_capture": {
                "id": 6238654,
                "details": "https://api.beluga.insectai.org/api/v2/captures/6238654/?format=api",
                "user_permissions": []
            },
            "captures_count": 1,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2023-09-13T04:30:00",
            "end": "2023-09-13T04:31:00",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2023-09-13T04:31:00",
            "end": "2023-09-13T04:32:00",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2023-09-13T04:32:00",
            "end": "2023-09-13T04:33:00",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2023-09-13T04:33:00",
            "end": "2023-09-13T04:34:00",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2023-09-13T04:34:00",
            "end": "2023-09-13T04:35:00",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2023-09-13T04:35:00",
            "end": "2023-09-13T04:36:00",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2023-09-13T04:36:00",
            "end": "2023-09-13T04:37:00",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2023-09-13T04:37:00",
            "end": "2023-09-13T04:38:00",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2023-09-13T04:38:00",
            "end": "2023-09-13T04:39:00",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2023-09-13T04:39:00",
            "end": "2023-09-13T04:40:00",
            "first_capture": {
                "id": 6238655,
                "details": "https://api.beluga.insectai.org/api/v2/captures/6238655/?format=api",
                "user_permissions": []
            },
            "top_capture": {
                "id": 6238655,
                "details": "https://api.beluga.insectai.org/api/v2/captures/6238655/?format=api",
                "user_permissions": []
            },
            "captures_count": 1,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2023-09-13T04:40:00",
            "end": "2023-09-13T04:41:00",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2023-09-13T04:41:00",
            "end": "2023-09-13T04:42:00",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2023-09-13T04:42:00",
            "end": "2023-09-13T04:43:00",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2023-09-13T04:43:00",
            "end": "2023-09-13T04:44:00",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2023-09-13T04:44:00",
            "end": "2023-09-13T04:45:00",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2023-09-13T04:45:00",
            "end": "2023-09-13T04:46:00",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2023-09-13T04:46:00",
            "end": "2023-09-13T04:47:00",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2023-09-13T04:47:00",
            "end": "2023-09-13T04:48:00",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2023-09-13T04:48:00",
            "end": "2023-09-13T04:49:00",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2023-09-13T04:49:00",
            "end": "2023-09-13T04:50:00",
            "first_capture": {
                "id": 6238656,
                "details": "https://api.beluga.insectai.org/api/v2/captures/6238656/?format=api",
                "user_permissions": []
            },
            "top_capture": {
                "id": 6238656,
                "details": "https://api.beluga.insectai.org/api/v2/captures/6238656/?format=api",
                "user_permissions": []
            },
            "captures_count": 1,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        }
    ],
    "meta": {
        "total_intervals": 30,
        "resolution_minutes": 1,
        "max_detections": 1,
        "min_detections": 0,
        "total_detections": 1,
        "timeline_start": "2023-09-13T04:20:00",
        "timeline_end": "2023-09-13T04:50:00"
    }
}