Набор представлений для модели подсчёта посещений страниц

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

{
    "count": 5276,
    "next": "http://backend.radif.ru/api/visits/?format=api&page=2",
    "previous": null,
    "results": [
        {
            "id": 50,
            "url": "/api/images/12/",
            "hits": 67,
            "updated": "2025-08-18T10:33:19.564688+03:00",
            "user": null
        },
        {
            "id": 36,
            "url": "/api/images/10/",
            "hits": 64,
            "updated": "2025-08-18T10:32:39.125447+03:00",
            "user": null
        },
        {
            "id": 3152,
            "url": "/1111.tar.gz",
            "hits": 17,
            "updated": "2025-06-26T02:46:04.198989+03:00",
            "user": null
        },
        {
            "id": 10,
            "url": "/api/visits/",
            "hits": 9,
            "updated": "2024-06-22T11:37:07.970113+03:00",
            "user": 1
        },
        {
            "id": 71,
            "url": "/swagger.json",
            "hits": 236,
            "updated": "2025-08-19T15:28:19.352150+03:00",
            "user": null
        },
        {
            "id": 61,
            "url": "/api/images/22/",
            "hits": 522,
            "updated": "2025-08-21T02:51:33.114187+03:00",
            "user": null
        },
        {
            "id": 40,
            "url": "/api/projects/",
            "hits": 1190,
            "updated": "2025-08-21T19:01:44.478869+03:00",
            "user": null
        },
        {
            "id": 62,
            "url": "/api/images/22/resize/",
            "hits": 2,
            "updated": "2021-12-31T02:54:43.640804+03:00",
            "user": 2
        },
        {
            "id": 31,
            "url": "/api/images/7/",
            "hits": 61,
            "updated": "2025-08-18T10:31:11.688051+03:00",
            "user": null
        },
        {
            "id": 78,
            "url": "/api/todos/3/",
            "hits": 381,
            "updated": "2025-08-20T02:41:51.313778+03:00",
            "user": null
        },
        {
            "id": 35,
            "url": "/api/images/10/resize/",
            "hits": 3,
            "updated": "2021-12-30T19:28:30.909266+03:00",
            "user": 1
        },
        {
            "id": 59,
            "url": "/api/images/22/",
            "hits": 7,
            "updated": "2021-12-31T02:55:03.072030+03:00",
            "user": 2
        },
        {
            "id": 115,
            "url": "/QnEVQ4aJxzXaq",
            "hits": 60,
            "updated": "2025-08-18T10:29:30.606496+03:00",
            "user": null
        },
        {
            "id": 95,
            "url": "/accounts/login/",
            "hits": 542,
            "updated": "2025-08-21T04:38:52.724371+03:00",
            "user": null
        },
        {
            "id": 30,
            "url": "/api/images/6/",
            "hits": 69,
            "updated": "2025-08-18T10:31:01.482138+03:00",
            "user": null
        },
        {
            "id": 91,
            "url": "/api/users/active/",
            "hits": 2,
            "updated": "2022-01-05T16:11:40.846504+03:00",
            "user": 1
        },
        {
            "id": 107,
            "url": "/api/images/4/",
            "hits": 61,
            "updated": "2025-08-18T10:30:41.396595+03:00",
            "user": null
        },
        {
            "id": 76,
            "url": "/api/users/3/login/",
            "hits": 482,
            "updated": "2025-08-20T06:44:22.878731+03:00",
            "user": null
        },
        {
            "id": 77,
            "url": "/api/users/",
            "hits": 2827,
            "updated": "2025-08-21T19:00:57.095442+03:00",
            "user": null
        },
        {
            "id": 63,
            "url": "/api/images/10/",
            "hits": 2,
            "updated": "2021-12-31T02:57:21.724811+03:00",
            "user": 2
        },
        {
            "id": 58,
            "url": "/",
            "hits": 5,
            "updated": "2021-12-31T03:01:10.174763+03:00",
            "user": 2
        },
        {
            "id": 3,
            "url": "/api/auth/login/",
            "hits": 3765,
            "updated": "2025-08-21T16:25:33.968877+03:00",
            "user": null
        },
        {
            "id": 74,
            "url": "/administration/",
            "hits": 229,
            "updated": "2025-08-18T10:34:41.129380+03:00",
            "user": null
        },
        {
            "id": 92,
            "url": "/api/users/superusers/",
            "hits": 2,
            "updated": "2022-01-05T16:11:47.166566+03:00",
            "user": 1
        },
        {
            "id": 11,
            "url": "/api/projects/",
            "hits": 3,
            "updated": "2022-01-05T16:10:51.336133+03:00",
            "user": 1
        },
        {
            "id": 19,
            "url": "/swagger.yaml",
            "hits": 208,
            "updated": "2025-08-21T03:28:33.733618+03:00",
            "user": null
        },
        {
            "id": 46,
            "url": "/api/images/19/",
            "hits": 60,
            "updated": "2025-08-18T10:34:21.019879+03:00",
            "user": null
        },
        {
            "id": 102,
            "url": "/api/images/1/resize/",
            "hits": 105,
            "updated": "2025-08-18T10:38:40.272853+03:00",
            "user": null
        },
        {
            "id": 15,
            "url": "/api/images/3/",
            "hits": 4,
            "updated": "2023-03-06T10:48:31.861881+03:00",
            "user": 1
        },
        {
            "id": 16,
            "url": "/api/images/3/resize/",
            "hits": 2,
            "updated": "2021-12-30T00:17:00.109266+03:00",
            "user": 1
        },
        {
            "id": 13,
            "url": "/api/images/4/",
            "hits": 4,
            "updated": "2021-12-30T00:17:29.588396+03:00",
            "user": 1
        },
        {
            "id": 17,
            "url": "/api/images/1/",
            "hits": 2,
            "updated": "2021-12-30T00:17:34.611790+03:00",
            "user": 1
        },
        {
            "id": 18,
            "url": "/api/images/1/resize/",
            "hits": 3,
            "updated": "2021-12-30T00:17:41.430642+03:00",
            "user": 1
        },
        {
            "id": 3170,
            "url": "/media.tar.gz",
            "hits": 16,
            "updated": "2025-06-26T02:44:57.676376+03:00",
            "user": null
        },
        {
            "id": 52,
            "url": "/api/images/15/resize/",
            "hits": 178,
            "updated": "2025-08-21T14:26:09.987770+03:00",
            "user": null
        },
        {
            "id": 84,
            "url": "/api/users/active/",
            "hits": 686,
            "updated": "2025-08-21T14:09:37.708187+03:00",
            "user": null
        },
        {
            "id": 4,
            "url": "/api/images/",
            "hits": 51,
            "updated": "2023-03-06T10:48:09.671589+03:00",
            "user": 1
        },
        {
            "id": 22,
            "url": "/todos/async_fish_todos/",
            "hits": 3,
            "updated": "2021-12-30T13:55:40.061863+03:00",
            "user": 1
        },
        {
            "id": 32,
            "url": "/api/images/8/",
            "hits": 60,
            "updated": "2025-08-18T10:31:23.157584+03:00",
            "user": null
        },
        {
            "id": 34,
            "url": "/api/images/10/",
            "hits": 4,
            "updated": "2021-12-30T21:41:39.165552+03:00",
            "user": 1
        },
        {
            "id": 21,
            "url": "/todos/async_fish_todos/",
            "hits": 60,
            "updated": "2025-08-18T10:39:56.571440+03:00",
            "user": null
        },
        {
            "id": 53,
            "url": "/api/",
            "hits": 8,
            "updated": "2021-12-31T03:01:16.760149+03:00",
            "user": 2
        },
        {
            "id": 221,
            "url": "/adminer/",
            "hits": 49,
            "updated": "2025-08-18T10:26:07.994655+03:00",
            "user": null
        },
        {
            "id": 64,
            "url": "/favicon.ico",
            "hits": 2,
            "updated": "2021-12-31T03:01:17.491563+03:00",
            "user": 2
        },
        {
            "id": 54,
            "url": "/api/images/",
            "hits": 10,
            "updated": "2021-12-31T03:01:20.554632+03:00",
            "user": 2
        },
        {
            "id": 60,
            "url": "/api/auth/logout/",
            "hits": 3,
            "updated": "2021-12-31T03:01:25.201894+03:00",
            "user": 2
        },
        {
            "id": 55,
            "url": "/api/todos/",
            "hits": 2,
            "updated": "2021-12-31T02:47:26.133358+03:00",
            "user": 2
        },
        {
            "id": 56,
            "url": "/api/users/",
            "hits": 2,
            "updated": "2021-12-31T02:47:32.462644+03:00",
            "user": 2
        },
        {
            "id": 93,
            "url": "/api/todos/active/",
            "hits": 2,
            "updated": "2022-01-05T16:12:18.241288+03:00",
            "user": 1
        },
        {
            "id": 57,
            "url": "/api/projects/",
            "hits": 2,
            "updated": "2021-12-31T02:47:37.369120+03:00",
            "user": 2
        },
        {
            "id": 7,
            "url": "/api/",
            "hits": 16,
            "updated": "2024-07-03T16:12:45.486491+03:00",
            "user": 1
        },
        {
            "id": 96,
            "url": "/UgSEzzwNqKz8CKOHeWgOER",
            "hits": 60,
            "updated": "2025-08-18T10:39:40.922931+03:00",
            "user": null
        },
        {
            "id": 42,
            "url": "/api/projects/7/",
            "hits": 77,
            "updated": "2025-08-18T10:35:45.679735+03:00",
            "user": null
        },
        {
            "id": 101,
            "url": "/api/projects/inactive/",
            "hits": 501,
            "updated": "2025-08-21T18:51:06.492053+03:00",
            "user": null
        },
        {
            "id": 88,
            "url": "/api/projects/active/",
            "hits": 2,
            "updated": "2022-01-05T16:10:56.138333+03:00",
            "user": 1
        },
        {
            "id": 44,
            "url": "/api/images/18/",
            "hits": 69,
            "updated": "2025-08-18T10:34:09.051768+03:00",
            "user": null
        },
        {
            "id": 66,
            "url": "/api/images/23/resize/",
            "hits": 3,
            "updated": "2021-12-31T03:23:09.452982+03:00",
            "user": 1
        },
        {
            "id": 239,
            "url": "/adminer-4.7.3-mysql.php",
            "hits": 55,
            "updated": "2025-08-18T10:39:46.920394+03:00",
            "user": null
        },
        {
            "id": 37,
            "url": "/api/images/11/",
            "hits": 65,
            "updated": "2025-08-18T10:32:55.021279+03:00",
            "user": null
        },
        {
            "id": 3128,
            "url": "/ddd.tar.gz",
            "hits": 20,
            "updated": "2025-06-26T02:45:32.278325+03:00",
            "user": null
        },
        {
            "id": 224,
            "url": "/adminer-4.7.7.php",
            "hits": 62,
            "updated": "2025-08-18T10:36:57.666614+03:00",
            "user": null
        },
        {
            "id": 65,
            "url": "/api/images/23/",
            "hits": 4,
            "updated": "2021-12-31T03:23:46.882008+03:00",
            "user": 1
        },
        {
            "id": 39,
            "url": "/api/todos/34/",
            "hits": 75,
            "updated": "2025-08-18T10:31:54.013639+03:00",
            "user": null
        },
        {
            "id": 4746,
            "url": "/wp-content/plugins/adminer/inc/editor/index.php",
            "hits": 7,
            "updated": "2025-08-18T10:53:03.420713+03:00",
            "user": null
        },
        {
            "id": 28,
            "url": "/api/images/3/",
            "hits": 133,
            "updated": "2025-08-18T10:30:24.440284+03:00",
            "user": null
        },
        {
            "id": 233,
            "url": "/adminer-4.8.0-mysql.php",
            "hits": 63,
            "updated": "2025-08-19T02:08:11.472761+03:00",
            "user": null
        },
        {
            "id": 1546,
            "url": "/wp/xmlrpc.php",
            "hits": 37,
            "updated": "2025-08-18T10:32:09.524879+03:00",
            "user": null
        },
        {
            "id": 103,
            "url": "/api/images/10/resize/",
            "hits": 126,
            "updated": "2025-08-19T04:10:21.827315+03:00",
            "user": null
        },
        {
            "id": 83,
            "url": "/api/projects/active/",
            "hits": 497,
            "updated": "2025-08-18T10:47:13.952392+03:00",
            "user": null
        },
        {
            "id": 97,
            "url": "/.env",
            "hits": 251,
            "updated": "2025-08-21T10:56:39.997529+03:00",
            "user": null
        },
        {
            "id": 230,
            "url": "/adminer-4.7.6.php",
            "hits": 56,
            "updated": "2025-08-18T10:36:49.088800+03:00",
            "user": null
        },
        {
            "id": 89,
            "url": "/api/projects/inactive/",
            "hits": 2,
            "updated": "2022-01-05T16:11:03.131103+03:00",
            "user": 1
        },
        {
            "id": 67,
            "url": "/swagger/",
            "hits": 7,
            "updated": "2024-06-22T11:36:58.063437+03:00",
            "user": 1
        },
        {
            "id": 38,
            "url": "/api/todos/",
            "hits": 2881,
            "updated": "2025-08-21T19:02:01.731549+03:00",
            "user": null
        },
        {
            "id": 26,
            "url": "/api/images/1/",
            "hits": 68,
            "updated": "2025-08-18T10:30:06.494535+03:00",
            "user": null
        },
        {
            "id": 94,
            "url": "/api/todos/inactive/",
            "hits": 2,
            "updated": "2022-01-05T16:12:31.253953+03:00",
            "user": 1
        },
        {
            "id": 49,
            "url": "/api/images/16/",
            "hits": 65,
            "updated": "2025-08-18T10:33:52.394531+03:00",
            "user": null
        },
        {
            "id": 87,
            "url": "/api/users/",
            "hits": 3,
            "updated": "2022-01-05T16:11:32.078641+03:00",
            "user": 1
        },
        {
            "id": 43,
            "url": "/api/images/13/",
            "hits": 77,
            "updated": "2025-08-18T10:33:29.316416+03:00",
            "user": null
        },
        {
            "id": 218,
            "url": "/api/u003c/au003e",
            "hits": 54,
            "updated": "2025-08-18T10:36:27.549050+03:00",
            "user": null
        },
        {
            "id": 98,
            "url": "/sitemap.xml",
            "hits": 185,
            "updated": "2025-07-29T18:26:58.415120+03:00",
            "user": null
        },
        {
            "id": 27,
            "url": "/api/images/2/",
            "hits": 68,
            "updated": "2025-08-18T10:30:16.336572+03:00",
            "user": null
        },
        {
            "id": 1553,
            "url": "/SUEnvd4hFCamiTXJWBHA",
            "hits": 50,
            "updated": "2025-08-18T10:38:23.900643+03:00",
            "user": null
        },
        {
            "id": 100,
            "url": "/api/auth/logout/",
            "hits": 176,
            "updated": "2025-08-20T19:50:34.650692+03:00",
            "user": null
        },
        {
            "id": 70,
            "url": "/api/token/refresh/",
            "hits": 165,
            "updated": "2025-08-18T10:37:42.583280+03:00",
            "user": null
        },
        {
            "id": 9,
            "url": "/api/todos/async_fish_todos/",
            "hits": 5,
            "updated": "2022-01-05T16:12:36.047615+03:00",
            "user": 1
        },
        {
            "id": 236,
            "url": "/adminer-4.6.3.php",
            "hits": 60,
            "updated": "2025-08-18T10:36:35.179949+03:00",
            "user": null
        },
        {
            "id": 90,
            "url": "/api/users/inactive/",
            "hits": 2,
            "updated": "2022-01-05T16:11:38.759054+03:00",
            "user": 1
        },
        {
            "id": 5,
            "url": "/",
            "hits": 22,
            "updated": "2024-06-22T11:18:27.481901+03:00",
            "user": 1
        },
        {
            "id": 1535,
            "url": "/phpmyadmin/",
            "hits": 47,
            "updated": "2025-08-18T10:27:15.968803+03:00",
            "user": null
        },
        {
            "id": 99,
            "url": "/api/projects/3/",
            "hits": 372,
            "updated": "2025-08-20T03:50:48.815596+03:00",
            "user": null
        },
        {
            "id": 8,
            "url": "/api/todos/",
            "hits": 7,
            "updated": "2022-01-05T16:12:14.323449+03:00",
            "user": 1
        },
        {
            "id": 117,
            "url": "/jFphHTpIYAilSdq",
            "hits": 64,
            "updated": "2025-08-18T10:36:10.210924+03:00",
            "user": null
        },
        {
            "id": 68,
            "url": "/api/roles/only/",
            "hits": 637,
            "updated": "2025-08-18T10:41:36.873155+03:00",
            "user": null
        },
        {
            "id": 29,
            "url": "/api/images/5/",
            "hits": 70,
            "updated": "2025-08-18T10:30:48.527513+03:00",
            "user": null
        },
        {
            "id": 1522,
            "url": "/api/wrapper",
            "hits": 44,
            "updated": "2025-08-18T10:26:45.177070+03:00",
            "user": null
        },
        {
            "id": 33,
            "url": "/api/images/9/",
            "hits": 71,
            "updated": "2025-08-18T10:31:40.917308+03:00",
            "user": null
        },
        {
            "id": 51,
            "url": "/api/images/14/",
            "hits": 59,
            "updated": "2025-08-18T10:33:40.711841+03:00",
            "user": null
        },
        {
            "id": 227,
            "url": "/tools/adminer.php",
            "hits": 52,
            "updated": "2025-08-18T10:37:21.905113+03:00",
            "user": null
        },
        {
            "id": 86,
            "url": "/api/todos/inactive/",
            "hits": 516,
            "updated": "2025-08-20T07:25:16.288616+03:00",
            "user": null
        }
    ]
}