Infomaniak Streaming Video icon

Infomaniak Streaming Video

Interact with Infomaniak Streaming Video API

Actions92

Stats > Globals > Geolocation → Clusters

AI-generated

Summary

Retrieve geolocation cluster statistics for a specified account and time range

Inputs

  • authentication — Authentication method (OAuth2 or API Key)
  • query_from (required) — Starting date for consumption statistics
  • query_account_id (required) — Account identifier
  • queryParameters — Additional query parameters
  • query_per — Granularity of time interval (day, hour, minute, etc.)
  • query_to — Ending date for consumption statistics
  • returnFullResponse — Whether to return the full API response

Output shape

a collection of geolocation cluster statistics (e.g., items with metric and value fields)

Result may be paginated; optional fields depend on query parameters; default returns success only when returnFullResponse is false

Examples

Example 1: Fetch hourly geolocation stats for account 98765 from 2024-01-01 to 2024-01-31 using OAuth2

authentication=oauth2&query_from=2024-01-01&query_account_id=98765&query_per=hour&query_to=2024-01-31&returnFullResponse=false

Example 2: Get daily geolocation stats for account 123 with full response

authentication=oauth2&query_from=2023-01-01&query_account_id=123&query_per=day&returnFullResponse=true

Links

Discussion