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

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

{
    "count": 5526,
    "next": "http://backend.radif.ru/api/visits/?format=api&page=2",
    "previous": null,
    "results": [
        {
            "id": 68,
            "url": "/api/roles/only/",
            "hits": 745,
            "updated": "2025-11-20T19:57:12.122533+03:00",
            "user": null
        },
        {
            "id": 107,
            "url": "/api/images/4/",
            "hits": 73,
            "updated": "2025-11-19T02:49:26.499413+03:00",
            "user": null
        },
        {
            "id": 51,
            "url": "/api/images/14/",
            "hits": 71,
            "updated": "2025-11-19T02:51:35.057901+03:00",
            "user": null
        },
        {
            "id": 10,
            "url": "/api/visits/",
            "hits": 9,
            "updated": "2024-06-22T11:37:07.970113+03:00",
            "user": 1
        },
        {
            "id": 1546,
            "url": "/wp/xmlrpc.php",
            "hits": 47,
            "updated": "2025-11-13T01:47:09.884181+03:00",
            "user": null
        },
        {
            "id": 43,
            "url": "/api/images/13/",
            "hits": 91,
            "updated": "2025-11-22T07:18:49.038048+03:00",
            "user": null
        },
        {
            "id": 70,
            "url": "/api/token/refresh/",
            "hits": 199,
            "updated": "2025-11-19T16:24:27.494546+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": 1535,
            "url": "/phpmyadmin/",
            "hits": 55,
            "updated": "2025-11-11T19:45:50.507117+03:00",
            "user": null
        },
        {
            "id": 99,
            "url": "/api/projects/3/",
            "hits": 439,
            "updated": "2025-11-19T23:09:21.884941+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": 29,
            "url": "/api/images/5/",
            "hits": 82,
            "updated": "2025-11-14T06:00:45.765099+03:00",
            "user": null
        },
        {
            "id": 19,
            "url": "/swagger.yaml",
            "hits": 239,
            "updated": "2025-11-19T16:13:19.637910+03:00",
            "user": null
        },
        {
            "id": 50,
            "url": "/api/images/12/",
            "hits": 81,
            "updated": "2025-11-19T02:52:11.177852+03:00",
            "user": null
        },
        {
            "id": 91,
            "url": "/api/users/active/",
            "hits": 2,
            "updated": "2022-01-05T16:11:40.846504+03:00",
            "user": 1
        },
        {
            "id": 86,
            "url": "/api/todos/inactive/",
            "hits": 589,
            "updated": "2025-11-22T07:40:48.892780+03:00",
            "user": null
        },
        {
            "id": 3128,
            "url": "/ddd.tar.gz",
            "hits": 25,
            "updated": "2025-11-06T17:57:33.555134+03:00",
            "user": null
        },
        {
            "id": 27,
            "url": "/api/images/2/",
            "hits": 80,
            "updated": "2025-11-19T02:49:46.413904+03:00",
            "user": null
        },
        {
            "id": 74,
            "url": "/administration/",
            "hits": 264,
            "updated": "2025-11-20T11:25:46.677462+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": 48,
            "url": "/api/images/17/",
            "hits": 72,
            "updated": "2025-11-19T02:52:28.642181+03:00",
            "user": null
        },
        {
            "id": 97,
            "url": "/.env",
            "hits": 298,
            "updated": "2025-11-21T22:17:08.556048+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": 31,
            "url": "/api/images/7/",
            "hits": 74,
            "updated": "2025-11-14T23:34:53.514763+03:00",
            "user": null
        },
        {
            "id": 233,
            "url": "/adminer-4.8.0-mysql.php",
            "hits": 71,
            "updated": "2025-11-19T03:16:27.405279+03:00",
            "user": null
        },
        {
            "id": 30,
            "url": "/api/images/6/",
            "hits": 81,
            "updated": "2025-11-19T02:50:05.441774+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": 218,
            "url": "/api/u003c/au003e",
            "hits": 64,
            "updated": "2025-11-11T19:52:53.217999+03:00",
            "user": null
        },
        {
            "id": 21,
            "url": "/todos/async_fish_todos/",
            "hits": 71,
            "updated": "2025-11-19T03:15:17.278042+03:00",
            "user": null
        },
        {
            "id": 98,
            "url": "/sitemap.xml",
            "hits": 203,
            "updated": "2025-11-18T23:50:56.034317+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": 47,
            "url": "/api/images/20/",
            "hits": 77,
            "updated": "2025-11-19T02:51:18.189659+03:00",
            "user": null
        },
        {
            "id": 34,
            "url": "/api/images/10/",
            "hits": 4,
            "updated": "2021-12-30T21:41:39.165552+03:00",
            "user": 1
        },
        {
            "id": 49,
            "url": "/api/images/16/",
            "hits": 80,
            "updated": "2025-11-19T02:53:39.454653+03:00",
            "user": null
        },
        {
            "id": 53,
            "url": "/api/",
            "hits": 8,
            "updated": "2021-12-31T03:01:16.760149+03:00",
            "user": 2
        },
        {
            "id": 46,
            "url": "/api/images/19/",
            "hits": 83,
            "updated": "2025-11-19T02:52:46.011011+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": 61,
            "url": "/api/images/22/",
            "hits": 602,
            "updated": "2025-11-22T05:47:02.229962+03:00",
            "user": null
        },
        {
            "id": 100,
            "url": "/api/auth/logout/",
            "hits": 202,
            "updated": "2025-11-21T17:52:30.403544+03:00",
            "user": null
        },
        {
            "id": 88,
            "url": "/api/projects/active/",
            "hits": 2,
            "updated": "2022-01-05T16:10:56.138333+03:00",
            "user": 1
        },
        {
            "id": 78,
            "url": "/api/todos/3/",
            "hits": 428,
            "updated": "2025-11-19T15:52:59.778912+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": 82,
            "url": "/api/users/inactive/",
            "hits": 759,
            "updated": "2025-11-22T02:43:23.488103+03:00",
            "user": null
        },
        {
            "id": 39,
            "url": "/api/todos/34/",
            "hits": 87,
            "updated": "2025-11-21T15:55:10.651523+03:00",
            "user": null
        },
        {
            "id": 103,
            "url": "/api/images/10/resize/",
            "hits": 151,
            "updated": "2025-11-15T22:26:55.321620+03:00",
            "user": null
        },
        {
            "id": 221,
            "url": "/adminer/",
            "hits": 58,
            "updated": "2025-11-19T02:48:50.665889+03:00",
            "user": null
        },
        {
            "id": 65,
            "url": "/api/images/23/",
            "hits": 4,
            "updated": "2021-12-31T03:23:46.882008+03:00",
            "user": 1
        },
        {
            "id": 38,
            "url": "/api/todos/",
            "hits": 3623,
            "updated": "2025-11-22T08:32:19.661963+03:00",
            "user": null
        },
        {
            "id": 236,
            "url": "/adminer-4.6.3.php",
            "hits": 73,
            "updated": "2025-11-19T03:06:42.942428+03:00",
            "user": null
        },
        {
            "id": 83,
            "url": "/api/projects/active/",
            "hits": 578,
            "updated": "2025-11-20T19:59:57.812005+03:00",
            "user": null
        },
        {
            "id": 40,
            "url": "/api/projects/",
            "hits": 1501,
            "updated": "2025-11-22T08:31:59.005822+03:00",
            "user": null
        },
        {
            "id": 44,
            "url": "/api/images/18/",
            "hits": 82,
            "updated": "2025-11-16T07:13:41.037434+03:00",
            "user": null
        },
        {
            "id": 71,
            "url": "/swagger.json",
            "hits": 273,
            "updated": "2025-11-20T13:33:47.947168+03:00",
            "user": null
        },
        {
            "id": 33,
            "url": "/api/images/9/",
            "hits": 83,
            "updated": "2025-11-11T19:47:56.761261+03:00",
            "user": null
        },
        {
            "id": 32,
            "url": "/api/images/8/",
            "hits": 73,
            "updated": "2025-11-21T16:04:58.964286+03:00",
            "user": null
        },
        {
            "id": 3152,
            "url": "/1111.tar.gz",
            "hits": 22,
            "updated": "2025-11-06T17:58:00.958979+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": 1553,
            "url": "/SUEnvd4hFCamiTXJWBHA",
            "hits": 62,
            "updated": "2025-11-19T03:19:10.698594+03:00",
            "user": null
        },
        {
            "id": 239,
            "url": "/adminer-4.7.3-mysql.php",
            "hits": 66,
            "updated": "2025-11-11T19:56:22.767413+03:00",
            "user": null
        },
        {
            "id": 94,
            "url": "/api/todos/inactive/",
            "hits": 2,
            "updated": "2022-01-05T16:12:31.253953+03:00",
            "user": 1
        },
        {
            "id": 96,
            "url": "/UgSEzzwNqKz8CKOHeWgOER",
            "hits": 72,
            "updated": "2025-11-19T03:19:47.968133+03:00",
            "user": null
        },
        {
            "id": 87,
            "url": "/api/users/",
            "hits": 3,
            "updated": "2022-01-05T16:11:32.078641+03:00",
            "user": 1
        },
        {
            "id": 42,
            "url": "/api/projects/7/",
            "hits": 91,
            "updated": "2025-11-16T17:57:58.055060+03:00",
            "user": null
        },
        {
            "id": 72,
            "url": "/api/users/3/fio/",
            "hits": 546,
            "updated": "2025-11-20T13:26:26.360625+03:00",
            "user": null
        },
        {
            "id": 37,
            "url": "/api/images/11/",
            "hits": 80,
            "updated": "2025-11-19T02:53:57.369224+03:00",
            "user": null
        },
        {
            "id": 95,
            "url": "/accounts/login/",
            "hits": 617,
            "updated": "2025-11-22T04:53:38.272269+03:00",
            "user": null
        },
        {
            "id": 3,
            "url": "/api/auth/login/",
            "hits": 4301,
            "updated": "2025-11-22T07:34:28.217524+03:00",
            "user": null
        },
        {
            "id": 102,
            "url": "/api/images/1/resize/",
            "hits": 130,
            "updated": "2025-11-22T03:44:37.853244+03:00",
            "user": null
        },
        {
            "id": 41,
            "url": "/api/users/1/",
            "hits": 496,
            "updated": "2025-11-21T16:03:38.931071+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": 52,
            "url": "/api/images/15/resize/",
            "hits": 248,
            "updated": "2025-11-21T17:17:00.677506+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": 224,
            "url": "/adminer-4.7.7.php",
            "hits": 73,
            "updated": "2025-11-11T19:53:51.910083+03:00",
            "user": null
        },
        {
            "id": 230,
            "url": "/adminer-4.7.6.php",
            "hits": 69,
            "updated": "2025-11-19T03:06:25.288140+03:00",
            "user": null
        },
        {
            "id": 8,
            "url": "/api/todos/",
            "hits": 7,
            "updated": "2022-01-05T16:12:14.323449+03:00",
            "user": 1
        },
        {
            "id": 1522,
            "url": "/api/wrapper",
            "hits": 53,
            "updated": "2025-11-11T19:45:17.102363+03:00",
            "user": null
        },
        {
            "id": 28,
            "url": "/api/images/3/",
            "hits": 150,
            "updated": "2025-11-18T00:06:53.024331+03:00",
            "user": null
        },
        {
            "id": 117,
            "url": "/jFphHTpIYAilSdq",
            "hits": 77,
            "updated": "2025-11-19T03:18:17.842005+03:00",
            "user": null
        },
        {
            "id": 26,
            "url": "/api/images/1/",
            "hits": 81,
            "updated": "2025-11-16T07:15:07.575358+03:00",
            "user": null
        },
        {
            "id": 77,
            "url": "/api/users/",
            "hits": 3419,
            "updated": "2025-11-22T08:31:58.633159+03:00",
            "user": null
        },
        {
            "id": 3170,
            "url": "/media.tar.gz",
            "hits": 21,
            "updated": "2025-11-06T17:57:24.831650+03:00",
            "user": null
        },
        {
            "id": 227,
            "url": "/tools/adminer.php",
            "hits": 63,
            "updated": "2025-11-11T19:54:01.640414+03:00",
            "user": null
        },
        {
            "id": 76,
            "url": "/api/users/3/login/",
            "hits": 549,
            "updated": "2025-11-21T21:51:07.390713+03:00",
            "user": null
        }
    ]
}