Session

Session endpoint

Changed on

An endpoint that allows or denies playback based on concurrency restrictions

post/api/v1/accounts/{{account_id}}/sessions

Request

  • Base URL
    https://edge-gsc.api.brightcove.com
  • URL
    https://edge-gsc.api.brightcove.com/api/v1/accounts/{{account_id}}/sessions
  • Auth
    API key in header Authorization

Path parameters

account_idstring required

Account ID

Request body

videostring

The video id

Response

Playback allowed

currentinteger

Number of current active sessions

heartbeat_intervalinteger

Interval for heartbeats in milliseconds

maxinteger

Maximum number of allowed concurrent sessions

Changes