Infomaniak Streaming Video icon

Infomaniak Streaming Video

Interact with Infomaniak Streaming Video API

Actions92

Option → Return Option

AI-generated

Summary

Return a selected video option for a given channel and account, optionally fetching the full API response

Inputs

  • authentication — Authentication method to use, either OAuth2 or API Key.
  • path_channel (required) — The unique identifier (ID) of the channel to request.
  • path_video_option (required) — The video option identifier or path.
  • query_account_id (required) — The account identifier.
  • returnFullResponse — If true, the full API response is returned; otherwise only the selected option is returned.

Output shape

a JSON object containing the requested video option details (or full API response when returnFullResponse is true)

The shape may include nested fields depending on the selected authentication; optional full response adds additional data.

Examples

Example 1: Retrieve a specific video option for a channel using OAuth2 and get the full response

Authentication: OAuth2, Channel: 7, Video Option: "captions", Account Id: 101, Return Full Response: true

Example 2: Fetch a channel's video option using API Key without full response

Authentication: API Key, Channel: 0, Video Option: "", Account Id: 0, Return Full Response: false

Example 3: Request full response for a channel using OAuth2 with specific account ID

Authentication: OAuth2, Channel: 3, Video Option: "audio", Account Id: 42, Return Full Response: true

Links

Discussion