AsRun model is a historic log over what was sent through playout.

video - Points to the Video which was played if there is one. Can be empty if something other than a video was played. The field is mutually exclusive with program_name.

program_name - A free form text input saying what was played. If video is set, this field should not be set. Examples of where you'd use this field is e.g. when broadcasting live. Defaults to the empty string.

playout - The playout this entry corresponds with. This will almost always be 'main' which it defaults to.

played_at - Time when the playout started. Defaults to now.

in_ms - The inpoint where the video/stream was started at. In milliseconds. Normally 0 which it defaults to.

out_ms - The outpoint where the video/stream stopped. This would often be the duration of the video, or how long we live streamed a particular URL. Can be null (None) if this is 'currently happening'.

Query parameters

page_size - How many items per page. If set to 0 it will list all items. Default is 50 items.

ordering - You can order the results by any visible field. Prepend a minus to order in descending order. I.e. ?ordering=-played_at to show newest items first.

GET /api/asrun/?ordering=-out_ms
HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "count": 320,
    "next": "https://frikanalen.no/api/asrun/?limit=50&offset=50&ordering=-out_ms",
    "previous": null,
    "results": [
        {
            "id": 102,
            "video": 623156,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-15T19:52:37.773000Z",
            "inMs": 0,
            "outMs": 4684000
        },
        {
            "id": 78,
            "video": 623989,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-15T16:46:14.380000Z",
            "inMs": 0,
            "outMs": 4207000
        },
        {
            "id": 129,
            "video": 623990,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-15T23:34:31.645000Z",
            "inMs": 0,
            "outMs": 3635000
        },
        {
            "id": 311,
            "video": 623990,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-30T21:30:25.966000Z",
            "inMs": 0,
            "outMs": 3635000
        },
        {
            "id": 38,
            "video": 624695,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-15T11:00:00Z",
            "inMs": 0,
            "outMs": 3491000
        },
        {
            "id": 11,
            "video": 623416,
            "programName": "",
            "playout": "main",
            "playedAt": "2011-10-05T14:06:47.172000Z",
            "inMs": 0,
            "outMs": 2755000
        },
        {
            "id": 12,
            "video": 623416,
            "programName": "",
            "playout": "main",
            "playedAt": "2011-10-05T14:08:13.766000Z",
            "inMs": 0,
            "outMs": 2755000
        },
        {
            "id": 13,
            "video": 623416,
            "programName": "",
            "playout": "main",
            "playedAt": "2011-10-05T14:08:47.372000Z",
            "inMs": 0,
            "outMs": 2755000
        },
        {
            "id": 10,
            "video": 623416,
            "programName": "",
            "playout": "main",
            "playedAt": "2011-10-05T14:04:58.261000Z",
            "inMs": 0,
            "outMs": 2755000
        },
        {
            "id": 14,
            "video": 623416,
            "programName": "",
            "playout": "main",
            "playedAt": "2011-10-05T14:09:52.272000Z",
            "inMs": 0,
            "outMs": 2755000
        },
        {
            "id": 47,
            "video": 623260,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-15T12:32:00.013000Z",
            "inMs": 0,
            "outMs": 2585000
        },
        {
            "id": 234,
            "video": 623260,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T09:21:35.068000Z",
            "inMs": 0,
            "outMs": 2585000
        },
        {
            "id": 51,
            "video": 623343,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-15T13:42:00.001000Z",
            "inMs": 0,
            "outMs": 2377000
        },
        {
            "id": 171,
            "video": 623959,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T02:47:12.179000Z",
            "inMs": 0,
            "outMs": 1755000
        },
        {
            "id": 231,
            "video": 623785,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T08:51:41.088000Z",
            "inMs": 0,
            "outMs": 1754000
        },
        {
            "id": 204,
            "video": 624499,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T06:02:05.461000Z",
            "inMs": 0,
            "outMs": 1746000
        },
        {
            "id": 96,
            "video": 623114,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-15T19:03:56.988000Z",
            "inMs": 0,
            "outMs": 1742000
        },
        {
            "id": 58,
            "video": 624645,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-15T14:30:00Z",
            "inMs": 0,
            "outMs": 1740000
        },
        {
            "id": 93,
            "video": 622104,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-15T18:34:17.842000Z",
            "inMs": 0,
            "outMs": 1740000
        },
        {
            "id": 81,
            "video": 624544,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-15T17:57:00.708000Z",
            "inMs": 0,
            "outMs": 1740000
        },
        {
            "id": 126,
            "video": 623605,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-15T23:04:53.382000Z",
            "inMs": 0,
            "outMs": 1739000
        },
        {
            "id": 302,
            "video": 623605,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-30T20:35:48.203000Z",
            "inMs": 0,
            "outMs": 1739000
        },
        {
            "id": 270,
            "video": 623293,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T12:32:30.762000Z",
            "inMs": 0,
            "outMs": 1738000
        },
        {
            "id": 186,
            "video": 623261,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T04:15:48.331000Z",
            "inMs": 0,
            "outMs": 1734000
        },
        {
            "id": 249,
            "video": 624305,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T11:04:42.173000Z",
            "inMs": 0,
            "outMs": 1731000
        },
        {
            "id": 44,
            "video": 624586,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-15T12:01:00Z",
            "inMs": 0,
            "outMs": 1725000
        },
        {
            "id": 66,
            "video": 624513,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-15T16:00:00.013000Z",
            "inMs": 0,
            "outMs": 1704000
        },
        {
            "id": 123,
            "video": 623996,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-15T22:35:50.662000Z",
            "inMs": 0,
            "outMs": 1703000
        },
        {
            "id": 201,
            "video": 623395,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T05:33:40.582000Z",
            "inMs": 0,
            "outMs": 1665000
        },
        {
            "id": 207,
            "video": 623039,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T06:31:51.308000Z",
            "inMs": 0,
            "outMs": 1645000
        },
        {
            "id": 108,
            "video": 624655,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-15T21:31:00.009000Z",
            "inMs": 0,
            "outMs": 1643000
        },
        {
            "id": 289,
            "video": 622427,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-19T14:04:43.223000Z",
            "inMs": 0,
            "outMs": 1640000
        },
        {
            "id": 198,
            "video": 624348,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T05:05:45.206000Z",
            "inMs": 0,
            "outMs": 1636000
        },
        {
            "id": 222,
            "video": 622540,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T07:54:19.602000Z",
            "inMs": 0,
            "outMs": 1634000
        },
        {
            "id": 225,
            "video": 623451,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T08:22:12.998000Z",
            "inMs": 0,
            "outMs": 1615000
        },
        {
            "id": 314,
            "video": 623606,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-30T22:31:41.364000Z",
            "inMs": 0,
            "outMs": 1596000
        },
        {
            "id": 183,
            "video": 623971,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T03:48:53.453000Z",
            "inMs": 0,
            "outMs": 1575000
        },
        {
            "id": 61,
            "video": 624679,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-15T15:00:00.019000Z",
            "inMs": 0,
            "outMs": 1560000
        },
        {
            "id": 62,
            "video": 623056,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-15T15:26:00.049000Z",
            "inMs": 0,
            "outMs": 1560000
        },
        {
            "id": 264,
            "video": 623672,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T12:03:17.099000Z",
            "inMs": 0,
            "outMs": 1555000
        },
        {
            "id": 50,
            "video": 622571,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-15T13:16:00.026000Z",
            "inMs": 0,
            "outMs": 1555000
        },
        {
            "id": 273,
            "video": 623546,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T13:02:07.993000Z",
            "inMs": 0,
            "outMs": 1500000
        },
        {
            "id": 135,
            "video": 624066,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T00:39:33.147000Z",
            "inMs": 0,
            "outMs": 1413000
        },
        {
            "id": 243,
            "video": 622195,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T10:23:45.886000Z",
            "inMs": 0,
            "outMs": 1408000
        },
        {
            "id": 279,
            "video": 624492,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T13:39:52.275000Z",
            "inMs": 0,
            "outMs": 1351000
        },
        {
            "id": 117,
            "video": 622512,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-15T22:05:07.538000Z",
            "inMs": 0,
            "outMs": 1348000
        },
        {
            "id": 180,
            "video": 623910,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T03:26:40.272000Z",
            "inMs": 0,
            "outMs": 1294000
        },
        {
            "id": 305,
            "video": 622329,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-30T21:05:26.486000Z",
            "inMs": 0,
            "outMs": 1280000
        },
        {
            "id": 153,
            "video": 623548,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T01:22:14.204000Z",
            "inMs": 0,
            "outMs": 1274000
        },
        {
            "id": 210,
            "video": 624206,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T06:59:56.456000Z",
            "inMs": 0,
            "outMs": 1218000
        }
    ]
}