Infomaniak Streaming Video icon

Infomaniak Streaming Video

Interact with Infomaniak Streaming Video API

Actions92

Restrictions → Show Restriction

AI-generated

Summary

Retrieve video restriction details for a specified channel and account.

Inputs

  • authentication — Method of authentication to use for the request; either OAuth2 or API Key.
  • path_channel (required) — The unique identifier (ID) of the channel to request.
  • query_account_id (required) — The account identifier.
  • returnFullResponse — If true, the full response body is returned; otherwise only a summary is returned.

Output shape

A single restriction object (JSON) representing the retrieved video restriction details.

The shape is consistent regardless of authentication method; returnFullResponse influences whether the entire API response is included.

Examples

Example 1: Request restrictions for channel 12345 in account 987 using OAuth2

authentication: oauth2, path_channel: 12345, query_account_id: 987, returnFullResponse: false

Example 2: Fetch full restriction details for channel 678 in account 555 using an API Key

authentication: apiKey, path_channel: 678, query_account_id: 555, returnFullResponse: true

Links

Discussion