Infomaniak Vod icon

Infomaniak Vod

Interact with Infomaniak Vod API

Actions349

V3 > Country → List Countries.

AI-generated

Summary

Retrieve a list of countries from the Infomaniak VOD API, optionally controlling pagination, limiting results, or returning only the total count.

Inputs

  • Authentication (required) — Choose the authentication method: OAuth2 or API Key.
  • Additional Query Parameters — Optionally specify 'Return' as 'total' to get the number of items instead of the items themselves, 'Page' to specify the page number, and 'Per Page' to define the number of items per page.
  • Return All — Choose whether to return all countries by automatically handling pagination (true) or limit the number of results.
  • Limit — Set the maximum number of country items to return; applicable only if 'Return All' is false. Valid range is 1 to 500.
  • Return Full Response — Optionally return the complete API response including metadata, instead of just the data items.

Output shape

a list of country objects or, when requested, a summary total count; optionally the full API response if selected.

If 'Return' parameter is set to 'total', the operation returns the total count of countries instead of the country list. Pagination parameters 'Page' and 'Per Page' affect the subset of results when 'Return All' is false. When 'Return All' is true, all pages are retrieved internally. The structure of each country object is as provided by the Infomaniak VOD API. Errors are returned in standard n8n error format.

Examples

Example 1: List all countries using OAuth2 authentication, returning items in default pages until all are fetched.

Authentication set to OAuth2; Return All set to true; no additional query parameters.

Example 2: Return the total number of countries available.

Set Additional Query Parameters 'Return' to 'total'.

Example 3: Fetch the first 50 countries only using API Key authentication.

Authentication set to API Key; Return All set to false; Limit set to 50; no page parameter or default pagination.

Links

Discussion