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

{
    "count": 320,
    "next": "https://frikanalen.no/api/asrun/?format=api&limit=50&offset=100",
    "previous": "https://frikanalen.no/api/asrun/?format=api&limit=50",
    "results": [
        {
            "id": 279,
            "video": 624492,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T13:39:52.275000Z",
            "inMs": 0,
            "outMs": 1351000
        },
        {
            "id": 278,
            "video": null,
            "programName": "Frikanalen Vignett",
            "playout": "main",
            "playedAt": "2012-01-16T13:39:25.274000Z",
            "inMs": 0,
            "outMs": 27000
        },
        {
            "id": 277,
            "video": null,
            "programName": "Jukebox pause screen",
            "playout": "main",
            "playedAt": "2012-01-16T13:39:13.272000Z",
            "inMs": 0,
            "outMs": 12000
        },
        {
            "id": 276,
            "video": 624504,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T13:27:47.156000Z",
            "inMs": 0,
            "outMs": 899000
        },
        {
            "id": 275,
            "video": null,
            "programName": "Frikanalen Vignett",
            "playout": "main",
            "playedAt": "2012-01-16T13:27:20.143000Z",
            "inMs": 0,
            "outMs": 27000
        },
        {
            "id": 274,
            "video": null,
            "programName": "Jukebox pause screen",
            "playout": "main",
            "playedAt": "2012-01-16T13:27:08.141000Z",
            "inMs": 0,
            "outMs": 12000
        },
        {
            "id": 273,
            "video": 623546,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T13:02:07.993000Z",
            "inMs": 0,
            "outMs": 1500000
        },
        {
            "id": 272,
            "video": null,
            "programName": "Frikanalen Vignett",
            "playout": "main",
            "playedAt": "2012-01-16T13:01:40.979000Z",
            "inMs": 0,
            "outMs": 27000
        },
        {
            "id": 271,
            "video": null,
            "programName": "Jukebox pause screen",
            "playout": "main",
            "playedAt": "2012-01-16T13:01:28.978000Z",
            "inMs": 0,
            "outMs": 12000
        },
        {
            "id": 270,
            "video": 623293,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T12:32:30.762000Z",
            "inMs": 0,
            "outMs": 1738000
        },
        {
            "id": 269,
            "video": null,
            "programName": "Frikanalen Vignett",
            "playout": "main",
            "playedAt": "2012-01-16T12:32:03.760000Z",
            "inMs": 0,
            "outMs": 27000
        },
        {
            "id": 268,
            "video": null,
            "programName": "Jukebox pause screen",
            "playout": "main",
            "playedAt": "2012-01-16T12:31:51.759000Z",
            "inMs": 0,
            "outMs": 12000
        },
        {
            "id": 267,
            "video": 624380,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T12:29:51.872000Z",
            "inMs": 0,
            "outMs": 119000
        },
        {
            "id": 266,
            "video": null,
            "programName": "Frikanalen Vignett",
            "playout": "main",
            "playedAt": "2012-01-16T12:29:24.858000Z",
            "inMs": 0,
            "outMs": 27000
        },
        {
            "id": 265,
            "video": null,
            "programName": "Jukebox pause screen",
            "playout": "main",
            "playedAt": "2012-01-16T12:29:12.857000Z",
            "inMs": 0,
            "outMs": 12000
        },
        {
            "id": 264,
            "video": 623672,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T12:03:17.099000Z",
            "inMs": 0,
            "outMs": 1555000
        },
        {
            "id": 263,
            "video": null,
            "programName": "Frikanalen Vignett",
            "playout": "main",
            "playedAt": "2012-01-16T12:02:50.089000Z",
            "inMs": 0,
            "outMs": 27000
        },
        {
            "id": 262,
            "video": null,
            "programName": "Jukebox pause screen",
            "playout": "main",
            "playedAt": "2012-01-16T12:02:38.087000Z",
            "inMs": 0,
            "outMs": 12000
        },
        {
            "id": 261,
            "video": 624104,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T11:52:38.036000Z",
            "inMs": 0,
            "outMs": 600000
        },
        {
            "id": 260,
            "video": null,
            "programName": "Frikanalen Vignett",
            "playout": "main",
            "playedAt": "2012-01-16T11:52:11.024000Z",
            "inMs": 0,
            "outMs": 27000
        },
        {
            "id": 259,
            "video": null,
            "programName": "Jukebox pause screen",
            "playout": "main",
            "playedAt": "2012-01-16T11:51:59.023000Z",
            "inMs": 0,
            "outMs": 12000
        },
        {
            "id": 258,
            "video": 622145,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T11:44:35.550000Z",
            "inMs": 0,
            "outMs": 443000
        },
        {
            "id": 257,
            "video": null,
            "programName": "Frikanalen Vignett",
            "playout": "main",
            "playedAt": "2012-01-16T11:44:08.548000Z",
            "inMs": 0,
            "outMs": 27000
        },
        {
            "id": 256,
            "video": null,
            "programName": "Jukebox pause screen",
            "playout": "main",
            "playedAt": "2012-01-16T11:43:56.548000Z",
            "inMs": 0,
            "outMs": 12000
        },
        {
            "id": 255,
            "video": 623811,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T11:42:06.698000Z",
            "inMs": 0,
            "outMs": 109000
        },
        {
            "id": 254,
            "video": null,
            "programName": "Frikanalen Vignett",
            "playout": "main",
            "playedAt": "2012-01-16T11:41:39.684000Z",
            "inMs": 0,
            "outMs": 27000
        },
        {
            "id": 253,
            "video": null,
            "programName": "Jukebox pause screen",
            "playout": "main",
            "playedAt": "2012-01-16T11:41:27.683000Z",
            "inMs": 0,
            "outMs": 12000
        },
        {
            "id": 252,
            "video": 624207,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T11:34:12.485000Z",
            "inMs": 0,
            "outMs": 435000
        },
        {
            "id": 251,
            "video": null,
            "programName": "Frikanalen Vignett",
            "playout": "main",
            "playedAt": "2012-01-16T11:33:45.472000Z",
            "inMs": 0,
            "outMs": 27000
        },
        {
            "id": 250,
            "video": null,
            "programName": "Jukebox pause screen",
            "playout": "main",
            "playedAt": "2012-01-16T11:33:33.470000Z",
            "inMs": 0,
            "outMs": 12000
        },
        {
            "id": 249,
            "video": 624305,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T11:04:42.173000Z",
            "inMs": 0,
            "outMs": 1731000
        },
        {
            "id": 248,
            "video": null,
            "programName": "Frikanalen Vignett",
            "playout": "main",
            "playedAt": "2012-01-16T11:04:15.107000Z",
            "inMs": 0,
            "outMs": 27000
        },
        {
            "id": 247,
            "video": null,
            "programName": "Jukebox pause screen",
            "playout": "main",
            "playedAt": "2012-01-16T11:04:03.105000Z",
            "inMs": 0,
            "outMs": 12000
        },
        {
            "id": 246,
            "video": 622433,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T10:47:53.824000Z",
            "inMs": 0,
            "outMs": 969000
        },
        {
            "id": 245,
            "video": null,
            "programName": "Frikanalen Vignett",
            "playout": "main",
            "playedAt": "2012-01-16T10:47:26.810000Z",
            "inMs": 0,
            "outMs": 27000
        },
        {
            "id": 244,
            "video": null,
            "programName": "Jukebox pause screen",
            "playout": "main",
            "playedAt": "2012-01-16T10:47:14.809000Z",
            "inMs": 0,
            "outMs": 12000
        },
        {
            "id": 243,
            "video": 622195,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T10:23:45.886000Z",
            "inMs": 0,
            "outMs": 1408000
        },
        {
            "id": 242,
            "video": null,
            "programName": "Frikanalen Vignett",
            "playout": "main",
            "playedAt": "2012-01-16T10:23:18.855000Z",
            "inMs": 0,
            "outMs": 27000
        },
        {
            "id": 241,
            "video": null,
            "programName": "Jukebox pause screen",
            "playout": "main",
            "playedAt": "2012-01-16T10:23:06.854000Z",
            "inMs": 0,
            "outMs": 12000
        },
        {
            "id": 240,
            "video": 624203,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T10:08:38.962000Z",
            "inMs": 0,
            "outMs": 867000
        },
        {
            "id": 239,
            "video": null,
            "programName": "Frikanalen Vignett",
            "playout": "main",
            "playedAt": "2012-01-16T10:08:11.945000Z",
            "inMs": 0,
            "outMs": 27000
        },
        {
            "id": 238,
            "video": null,
            "programName": "Jukebox pause screen",
            "playout": "main",
            "playedAt": "2012-01-16T10:07:59.944000Z",
            "inMs": 0,
            "outMs": 12000
        },
        {
            "id": 237,
            "video": 622406,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T10:05:19.827000Z",
            "inMs": 0,
            "outMs": 160000
        },
        {
            "id": 236,
            "video": null,
            "programName": "Frikanalen Vignett",
            "playout": "main",
            "playedAt": "2012-01-16T10:04:52.812000Z",
            "inMs": 0,
            "outMs": 27000
        },
        {
            "id": 235,
            "video": null,
            "programName": "Jukebox pause screen",
            "playout": "main",
            "playedAt": "2012-01-16T10:04:40.812000Z",
            "inMs": 0,
            "outMs": 12000
        },
        {
            "id": 234,
            "video": 623260,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T09:21:35.068000Z",
            "inMs": 0,
            "outMs": 2585000
        },
        {
            "id": 233,
            "video": null,
            "programName": "Frikanalen Vignett",
            "playout": "main",
            "playedAt": "2012-01-16T09:21:08.055000Z",
            "inMs": 0,
            "outMs": 27000
        },
        {
            "id": 232,
            "video": null,
            "programName": "Jukebox pause screen",
            "playout": "main",
            "playedAt": "2012-01-16T09:20:56.053000Z",
            "inMs": 0,
            "outMs": 12000
        },
        {
            "id": 231,
            "video": 623785,
            "programName": "",
            "playout": "main",
            "playedAt": "2012-01-16T08:51:41.088000Z",
            "inMs": 0,
            "outMs": 1754000
        },
        {
            "id": 230,
            "video": null,
            "programName": "Frikanalen Vignett",
            "playout": "main",
            "playedAt": "2012-01-16T08:51:14.079000Z",
            "inMs": 0,
            "outMs": 27000
        }
    ]
}