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/525/timeline/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "data": [
        {
            "start": "2021-05-02T22:36:18",
            "end": "2021-05-02T22:37:18",
            "first_capture": {
                "id": 1904414,
                "details": "https://api.beluga.insectai.org/api/v2/captures/1904414/?format=api",
                "user_permissions": []
            },
            "top_capture": {
                "id": 1904417,
                "details": "https://api.beluga.insectai.org/api/v2/captures/1904417/?format=api",
                "user_permissions": []
            },
            "captures_count": 4,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2021-05-02T22:37:18",
            "end": "2021-05-02T22:38:18",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2021-05-02T22:38:18",
            "end": "2021-05-02T22:39:18",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2021-05-02T22:39:18",
            "end": "2021-05-02T22:40:18",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2021-05-02T22:40:18",
            "end": "2021-05-02T22:41:18",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2021-05-02T22:41:18",
            "end": "2021-05-02T22:42:18",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2021-05-02T22:42:18",
            "end": "2021-05-02T22:43:18",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2021-05-02T22:43:18",
            "end": "2021-05-02T22:44:18",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2021-05-02T22:44:18",
            "end": "2021-05-02T22:45:18",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2021-05-02T22:45:18",
            "end": "2021-05-02T22:46:18",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2021-05-02T22:46:18",
            "end": "2021-05-02T22:47:18",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2021-05-02T22:47:18",
            "end": "2021-05-02T22:48:18",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2021-05-02T22:48:18",
            "end": "2021-05-02T22:49:18",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2021-05-02T22:49:18",
            "end": "2021-05-02T22:50:18",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2021-05-02T22:50:18",
            "end": "2021-05-02T22:51:18",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2021-05-02T22:51:18",
            "end": "2021-05-02T22:52:18",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2021-05-02T22:52:18",
            "end": "2021-05-02T22:53:18",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2021-05-02T22:53:18",
            "end": "2021-05-02T22:54:18",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2021-05-02T22:54:18",
            "end": "2021-05-02T22:55:18",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2021-05-02T22:55:18",
            "end": "2021-05-02T22:56:18",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2021-05-02T22:56:18",
            "end": "2021-05-02T22:57:18",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2021-05-02T22:57:18",
            "end": "2021-05-02T22:58:18",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2021-05-02T22:58:18",
            "end": "2021-05-02T22:59:18",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2021-05-02T22:59:18",
            "end": "2021-05-02T23:00:18",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2021-05-02T23:00:18",
            "end": "2021-05-02T23:00:42",
            "first_capture": {
                "id": 1904418,
                "details": "https://api.beluga.insectai.org/api/v2/captures/1904418/?format=api",
                "user_permissions": []
            },
            "top_capture": {
                "id": 1904421,
                "details": "https://api.beluga.insectai.org/api/v2/captures/1904421/?format=api",
                "user_permissions": []
            },
            "captures_count": 4,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        }
    ],
    "meta": {
        "total_intervals": 25,
        "resolution_minutes": 1,
        "max_detections": 0,
        "min_detections": 0,
        "total_detections": 0,
        "timeline_start": "2021-05-02T22:36:18",
        "timeline_end": "2021-05-02T23:00:42"
    }
}