メインコンテンツまでスキップ

Batch get playback positions

POST 

/bv/playback/v1/positions:batch-get

The maximum batch size is 1000. Only allow service token.

Request

Body

required
    playback_positions object[]required

    Required. The playback positions.

  • Array [
  • org_id stringrequired

    Required. The unique id of the organization.

    customer_id stringrequired

    Required. The unique id of the user.

    resource_type stringrequired

    Possible values: [RESOURCE_TYPE_LIVE, RESOURCE_TYPE_VOD, RESOURCE_TYPE_LIVE_EVENT, RESOURCE_TYPE_LIVE_EVENT_RECORDING, RESOURCE_TYPE_VOD_EVENT, RESOURCE_TYPE_AUDIO_EVENT, RESOURCE_TYPE_VOD_ENCODING]

    Required. The resource type.

    resource_id stringrequired

    Required. The resource ID.

  • ]

Responses

A successful response.

Schema
    playback_positions object[]

    Output only. The playback positions.

  • Array [
  • org_id stringrequired

    Required. The unique id of the organization.

    customer_id stringrequired

    Required. The unique id of the user.

    resource_type stringrequired

    Possible values: [RESOURCE_TYPE_LIVE, RESOURCE_TYPE_VOD, RESOURCE_TYPE_LIVE_EVENT, RESOURCE_TYPE_LIVE_EVENT_RECORDING, RESOURCE_TYPE_VOD_EVENT, RESOURCE_TYPE_AUDIO_EVENT, RESOURCE_TYPE_VOD_ENCODING]

    Required. The resource type.

    resource_id stringrequired

    Required. The resource ID.

    last_watched_position int64

    Output only. The last watched position, in seconds.

    last_watched_at date-time

    Output only. The last watched time.

  • ]
Loading...