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=-video
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=-video",
    "previous": null,
    "results": [
        {
            "id": 9,
            "video": 524748,
            "programName": "",
            "playout": "main",
            "playedAt": "2015-01-01T10:00:00Z",
            "inMs": 0,
            "outMs": 0
        },
        {
            "id": 93,
            "video": 622104,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-15T18:34:17.842000Z",
            "inMs": 0,
            "outMs": 1740000
        },
        {
            "id": 258,
            "video": 622145,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T11:44:35.550000Z",
            "inMs": 0,
            "outMs": 443000
        },
        {
            "id": 296,
            "video": 622146,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-30T20:24:27.198000Z",
            "inMs": 0,
            "outMs": 458000
        },
        {
            "id": 105,
            "video": 622192,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-15T21:11:21.511000Z",
            "inMs": 0,
            "outMs": 1095000
        },
        {
            "id": 243,
            "video": 622195,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T10:23:45.886000Z",
            "inMs": 0,
            "outMs": 1408000
        },
        {
            "id": 147,
            "video": 622204,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T01:14:08.744000Z",
            "inMs": 0,
            "outMs": 297000
        },
        {
            "id": 69,
            "video": 622214,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-15T16:29:03.204000Z",
            "inMs": 0,
            "outMs": 311000
        },
        {
            "id": 174,
            "video": 622307,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T03:17:06.451000Z",
            "inMs": 0,
            "outMs": 191000
        },
        {
            "id": 32,
            "video": 622325,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-15T10:53:49.250000Z",
            "inMs": 0,
            "outMs": 221000
        },
        {
            "id": 305,
            "video": 622329,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-30T21:05:26.486000Z",
            "inMs": 0,
            "outMs": 1280000
        },
        {
            "id": 317,
            "video": 622397,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-30T22:58:56.810000Z",
            "inMs": 0,
            "outMs": 187000
        },
        {
            "id": 144,
            "video": 622402,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T01:10:50.713000Z",
            "inMs": 0,
            "outMs": 159000
        },
        {
            "id": 237,
            "video": 622406,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T10:05:19.827000Z",
            "inMs": 0,
            "outMs": 160000
        },
        {
            "id": 323,
            "video": 622412,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-30T23:05:06.950000Z",
            "inMs": 0,
            "outMs": 488000
        },
        {
            "id": 23,
            "video": 622418,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-15T10:47:25.744000Z",
            "inMs": 0,
            "outMs": 129000
        },
        {
            "id": 75,
            "video": 622419,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-15T16:44:33.861000Z",
            "inMs": 0,
            "outMs": 61000
        },
        {
            "id": 289,
            "video": 622427,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-19T14:04:43.223000Z",
            "inMs": 0,
            "outMs": 1640000
        },
        {
            "id": 246,
            "video": 622433,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T10:47:53.824000Z",
            "inMs": 0,
            "outMs": 969000
        },
        {
            "id": 117,
            "video": 622512,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-15T22:05:07.538000Z",
            "inMs": 0,
            "outMs": 1348000
        },
        {
            "id": 222,
            "video": 622540,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T07:54:19.602000Z",
            "inMs": 0,
            "outMs": 1634000
        },
        {
            "id": 228,
            "video": 622548,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T08:49:48.069000Z",
            "inMs": 0,
            "outMs": 74000
        },
        {
            "id": 159,
            "video": 622548,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T02:00:11.263000Z",
            "inMs": 0,
            "outMs": 74000
        },
        {
            "id": 17,
            "video": 622561,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-15T10:35:10.045000Z",
            "inMs": 0,
            "outMs": 1054000
        },
        {
            "id": 50,
            "video": 622571,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-15T13:16:00.026000Z",
            "inMs": 0,
            "outMs": 1555000
        },
        {
            "id": 114,
            "video": 622966,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-15T22:01:28.805000Z",
            "inMs": 0,
            "outMs": 179000
        },
        {
            "id": 90,
            "video": 622966,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-15T18:30:39.118000Z",
            "inMs": 0,
            "outMs": 179000
        },
        {
            "id": 20,
            "video": 623032,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-15T10:36:46.084000Z",
            "inMs": 0,
            "outMs": 856000
        },
        {
            "id": 63,
            "video": 623036,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-15T15:52:00.047000Z",
            "inMs": 0,
            "outMs": 405000
        },
        {
            "id": 207,
            "video": 623039,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T06:31:51.308000Z",
            "inMs": 0,
            "outMs": 1645000
        },
        {
            "id": 165,
            "video": 623046,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T02:22:14.440000Z",
            "inMs": 0,
            "outMs": 284000
        },
        {
            "id": 62,
            "video": 623056,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-15T15:26:00.049000Z",
            "inMs": 0,
            "outMs": 1560000
        },
        {
            "id": 72,
            "video": 623077,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-15T16:34:53.405000Z",
            "inMs": 0,
            "outMs": 541000
        },
        {
            "id": 96,
            "video": 623114,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-15T19:03:56.988000Z",
            "inMs": 0,
            "outMs": 1742000
        },
        {
            "id": 102,
            "video": 623156,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-15T19:52:37.773000Z",
            "inMs": 0,
            "outMs": 4684000
        },
        {
            "id": 156,
            "video": 623232,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T01:44:08.081000Z",
            "inMs": 0,
            "outMs": 924000
        },
        {
            "id": 234,
            "video": 623260,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T09:21:35.068000Z",
            "inMs": 0,
            "outMs": 2585000
        },
        {
            "id": 47,
            "video": 623260,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-15T12:32:00.013000Z",
            "inMs": 0,
            "outMs": 2585000
        },
        {
            "id": 186,
            "video": 623261,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T04:15:48.331000Z",
            "inMs": 0,
            "outMs": 1734000
        },
        {
            "id": 270,
            "video": 623293,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T12:32:30.762000Z",
            "inMs": 0,
            "outMs": 1738000
        },
        {
            "id": 51,
            "video": 623343,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-15T13:42:00.001000Z",
            "inMs": 0,
            "outMs": 2377000
        },
        {
            "id": 201,
            "video": 623395,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T05:33:40.582000Z",
            "inMs": 0,
            "outMs": 1665000
        },
        {
            "id": 13,
            "video": 623416,
            "programName": "",
            "playout": "main",
            "playedAt": "2011-10-05T14:08:47.372000Z",
            "inMs": 0,
            "outMs": 2755000
        },
        {
            "id": 11,
            "video": 623416,
            "programName": "",
            "playout": "main",
            "playedAt": "2011-10-05T14:06:47.172000Z",
            "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": 12,
            "video": 623416,
            "programName": "",
            "playout": "main",
            "playedAt": "2011-10-05T14:08:13.766000Z",
            "inMs": 0,
            "outMs": 2755000
        },
        {
            "id": 225,
            "video": 623451,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T08:22:12.998000Z",
            "inMs": 0,
            "outMs": 1615000
        },
        {
            "id": 273,
            "video": 623546,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T13:02:07.993000Z",
            "inMs": 0,
            "outMs": 1500000
        },
        {
            "id": 153,
            "video": 623548,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T01:22:14.204000Z",
            "inMs": 0,
            "outMs": 1274000
        }
    ]
}