GET mediaelement/program/{id}?inSuperUniverse={inSuperUniverse}

Returns information about a channel, program or clip

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

ChannelName, ProgramId og ClipId

string

Required

inSuperUniverse

Set this to true when accessing mediaelement for NRK Super. Will adjust script parameters to match super environment

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

Information about a channel, program or clip

MediaElementVm
NameDescriptionTypeAdditional information
Id

string

None.

Title

string

None.

Description

string

None.

MediaElementType

string

None.

MediaType

string

None.

Image

ImageInfoVm

None.

Images

CdnImageVm

None.

MediaUrl

string

None.

MediaAssets

Collection of MediaAssetVm

None.

BitrateInfo

BitrateInfoVm

None.

PlayerType

string

None.

FlashPlayerVersion

string

None.

FlashPluginVersion

string

None.

IsAvailable

boolean

None.

MessageType

string

None.

MediaAnalytics

MediaAnalyticsVm

None.

ScoresStatistics

ScoresStatisticsVm

None.

ConvivaStatistics

ConvivaStatisticsVm

None.

MessageId

string

None.

IsLive

boolean

None.

UsageRights

OnDemandUsageRightsVm

None.

AkamaiBeacon

string

None.

LiveBufferStartTime

date

None.

FullTitle

string

None.

MainTitle

string

None.

LegalAge

string

None.

RelativeOriginUrl

string

None.

Duration

time interval

None.

ShortIndexPoints

Collection of ShortIndexPointVm

None.

HasSubtitles

boolean

None.

SubtitlesDefaultOn

boolean

None.

SubtitlesUrlPath

string

None.

SeriesId

string

None.

SeriesTitle

string

None.

EpisodeNumberOrDate

string

None.

ExternalEmbeddingAllowed

boolean

None.

StartNextEpisode

integer

None.

_links

Dictionary of string [key] and Object [value]

None.

_embedded

Dictionary of string [key] and Object [value]

None.

Response Formats

application/json, text/json

Sample:
{
  "_links": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "id": "sample string 1",
  "title": "sample string 2",
  "description": "sample string 3",
  "mediaElementType": "sample string 4",
  "mediaType": "sample string 5",
  "image": {
    "id": "sample string 1",
    "cropInfo": {
      "x": 1.1,
      "y": 2.1,
      "width": 3.1,
      "height": 4.1
    }
  },
  "images": {
    "imageInfo": {
      "id": "sample string 1",
      "cropInfo": {
        "x": 1.1,
        "y": 2.1,
        "width": 3.1,
        "height": 4.1
      }
    },
    "imageWidthCropInfo": "sample string 1",
    "webImages": [
      {
        "imageUrl": "http://webapihelppage1.com",
        "pixelWidth": 2
      },
      {
        "imageUrl": "http://webapihelppage1.com",
        "pixelWidth": 2
      }
    ],
    "isDefaultImage": true
  },
  "mediaUrl": "sample string 6",
  "mediaAssets": [
    {
      "url": "sample string 1",
      "duration": "PT0.1234567S",
      "carrierId": "sample string 3",
      "webVttSubtitlesUrl": "sample string 4",
      "timedTextSubtitlesUrl": "sample string 5",
      "bufferDuration": "PT0.1234567S"
    },
    {
      "url": "sample string 1",
      "duration": "PT0.1234567S",
      "carrierId": "sample string 3",
      "webVttSubtitlesUrl": "sample string 4",
      "timedTextSubtitlesUrl": "sample string 5",
      "bufferDuration": "PT0.1234567S"
    }
  ],
  "bitrateInfo": {
    "startIndex": 1,
    "maxIndex": 2
  },
  "playerType": "sample string 7",
  "flashPlayerVersion": "sample string 8",
  "flashPluginVersion": "sample string 9",
  "isAvailable": true,
  "messageType": "sample string 11",
  "mediaAnalytics": {
    "show": "sample string 1",
    "title": "sample string 2",
    "category": "sample string 3",
    "contentLength": "sample string 4",
    "device": "sample string 5",
    "playerId": "sample string 6",
    "deliveryType": "sample string 7",
    "cdnName": "sample string 8",
    "playerInfo": "sample string 9"
  },
  "scoresStatistics": {
    "springStreamSite": "sample string 1",
    "springStreamStream": "sample string 2",
    "springStreamContentType": "sample string 3",
    "springStreamProgramId": "sample string 4"
  },
  "convivaStatistics": {
    "assetName": "sample string 1",
    "cdnName": "sample string 2",
    "deviceType": "sample string 3",
    "playerName": "sample string 4",
    "isLive": true,
    "playerVersion": "sample string 6",
    "contentType": "sample string 7",
    "contentId": "sample string 8",
    "episodeName": "sample string 9",
    "seriesName": "sample string 10",
    "contentLength": 11
  },
  "messageId": "sample string 12",
  "isLive": true,
  "usageRights": {
    "isGeoBlocked": true,
    "availableFrom": "2017-06-26T15:22:35.844+00:00",
    "availableTo": "2017-06-26T15:22:35.844+00:00",
    "hasRightsNow": true
  },
  "akamaiBeacon": "sample string 14",
  "liveBufferStartTime": "2017-06-26T17:22:35.844+00:00",
  "fullTitle": "sample string 15",
  "mainTitle": "sample string 16",
  "legalAge": "sample string 17",
  "relativeOriginUrl": "sample string 18",
  "duration": "PT0.1234567S",
  "shortIndexPoints": [
    {
      "title": "sample string 1",
      "startPoint": "PT0.1234567S",
      "partId": 3
    },
    {
      "title": "sample string 1",
      "startPoint": "PT0.1234567S",
      "partId": 3
    }
  ],
  "hasSubtitles": true,
  "subtitlesDefaultOn": true,
  "subtitlesUrlPath": "sample string 22",
  "seriesId": "sample string 23",
  "seriesTitle": "sample string 24",
  "episodeNumberOrDate": "sample string 25",
  "externalEmbeddingAllowed": true,
  "startNextEpisode": 1,
  "_embedded": {
    "sample string 1": {},
    "sample string 3": {}
  }
}