Infomaniak Streaming Radio icon

Infomaniak Streaming Radio

Interact with Infomaniak Streaming Radio API

Actions141

Players → Check Domain Access For Player

AI-generated

Summary

Check whether a specified domain is authorized for a given player.

Inputs

  • authentication — Authentication method to use; either OAuth2 or API Key.
  • path_player_uuid (required) — The UUID of the player to check access for.
  • body_domain (required) — The domain to verify authorization for.
  • returnFullResponse — If true, the full response body is returned; otherwise only a success indicator.

Output shape

An object indicating the result of the access check; typically includes an 'authorized' field or a boolean status.

The exact shape depends on the selected authentication method; errors may be returned with details.

Examples

Example 1: Validate access using API Key

authentication=apiKey; path_player_uuid=123e4567-e89b-12d3-a456-426614174000; body_domain=example.com; returnFullResponse=true

Example 2: Validate access using OAuth2

authentication=oauth2; path_player_uuid=98765432-e78a-12d3-b456-789abcdef012; body_domain=stream.example.com; returnFullResponse=false

Links

Discussion