Skip to content

Instantly share code, notes, and snippets.

@tomkershaw-bbc
Last active August 22, 2016 14:18
Show Gist options
  • Save tomkershaw-bbc/708f317377a48a537506378055b19c5b to your computer and use it in GitHub Desktop.
Save tomkershaw-bbc/708f317377a48a537506378055b19c5b to your computer and use it in GitHub Desktop.
{
"schema": "schema_url_here.json",
"total": 0,
"limit": 0,
"offset": 0,
"results": [
"type": "personalisation_activity",
"action": "started",
"added_at": "2016-08-05T09:59:11Z",
"activity": "plays",
"domain": "radio",
"id": "b07m5dz0", // this is the epiosde or clip pid
"uas_type": "episode", // this is either episode or clip
"urn" : "urn:bbc:radio:episode:b07llby4",
"version_id": "b07m58x5", // this is the version pid of the latest played version from UAS
"played_duration": "PT33S", // this is the played duration of the latest played version from UAS
"progress": "inprogress|paused|complete", // with applied business logic e.g. calculating 'in progress' and 'complete' windows
"availability": "available|unavailable", // available or not, for filtering
"metadata" {},
"data": {
/// episode_summary / clip_summary object
}
]
}
@betandr
Copy link

betandr commented Aug 8, 2016

/my/radio/plays

"results": [
    {
      "type": "personalisation_activity",
      "action": "started",
      "added_at": "2016-08-05T09:59:11Z",
      "activity": "plays",
      "played_duration": "PT33S",
      "domain": "radio",
      "id": "b07m5dz0", // this is the episode pid
      "version_id": "b07m58x5", //this is the version pid
      "uas_type": "episode",
      "data": {
            /// episode_summary/clip_summary from Blur
}

@tomkershaw-bbc
Copy link
Author

Added in design from Beth.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment