Infomaniak Streaming Video icon

Infomaniak Streaming Video

Interact with Infomaniak Streaming Video API

Actions92

Stats > Channel > Technologies → OS Share

AI-generated

Summary

Fetches OS (Operating System) share statistics for a specific Infomaniak channel over a date range, grouped by day, hour, minute, month, quarter, week, or year.

Inputs

  • authentication (required) — Authentication method: OAuth2 or API Key.
  • path_channel (required) — The unique identifier (ID) of the Pack order.
  • query_from (required) — The start date to retrieve consumption data for.
  • query_to (required) — The end date to retrieve consumption data for.
  • query_per (required) — Time granularity: day, hour, minute, month, quarter, week, or year.
  • query_account_id (required) — The account identifier.
  • returnFullResponse — If true, returns the full API response object; otherwise, returns the parsed data items.

Output shape

A list of items, each containing an object with OS share statistics (consumption, count, and possibly other fields) for the specified time period.

The operation retrieves data based on the specified date range and granularity. The 'returnFullResponse' parameter controls whether the raw API response is returned or the processed items array.

Examples

Example 1: Get daily OS share counts for a channel from January 1st to January 7th, 2024.

path_channel: 123, query_from: '2024-01-01', query_to: '2024-01-07', query_per: 'day', query_account_id: 456

Example 2: Retrieve hourly OS share data for a specific account and channel over a 24-hour period.

path_channel: 789, query_from: '2024-01-01T00:00', query_to: '2024-01-01T23:59', query_per: 'hour', query_account_id: 456

Links

Discussion