Infomaniak Core Ressource icon

Infomaniak Core Ressource

Interact with Infomaniak Core Ressource API

Actions73

Countries → List Countries

AI-generated

Summary

List Infomaniak countries with configurable search, filtering, pagination, and sorting.

Inputs

  • authentication (required) — Auth method for Infomaniak API requests. Default: OAuth2.
  • query_search — Search term to filter countries by name.
  • query_only_enabled — If true, only return countries that are enabled. Default: false.
  • query_only_enabled_exception — Exception config for the enabled filter. Default: {}.
  • query_return — Optional. If set to 'total', the response returns the item count instead of the items themselves.
  • query_limit — Optional number parameter (1-500) defining how many items to return. Part of offset capacity. Default: 0 (no limit).
  • query_skip — Optional number parameter defining the index of the first item to return (0 = first item). Part of offset capacity. Default: 0.
  • query_page — Optional number parameter defining the page number. Part of pagination capacity. Default: 0.
  • query_per_page — Optional number parameter defining items per page. Part of pagination capacity. Default: 0.
  • query_order_by — Optional string parameter defining the field used for sorting.
  • query_order — Optional options parameter defining sort order: 'asc' or 'desc'. Default: no order.
  • query_order_for — Optional json parameter defining sorting order for a specific field. Default uses 'order' parameter.
  • returnAll — If true (default), return all available items. When false, the 'limit' parameter is respected.
  • limit — Number of items to return when returnAll is false. Minimum 1, maximum 500. Default: 50.
  • returnFullResponse — If true, return the full API response instead of just the item data. Default: false.

Output shape

Collection of country items from the Infomaniak API. If query_return is 'total', returns a count number. When returnFullResponse is true, returns the complete API response object.

Pagination is handled internally via query_page/query_per_page or query_limit/query_skip. The node's source (infomaniakApiRequestAllItems/infomaniakApiRequestAllPages) manages sequential page fetching when needed.

Examples

Example 1: List all enabled countries

Set query_only_enabled to true, leave other optional parameters at defaults.

Example 2: Get total count of countries

Set query_return to 'total'. All other filtering parameters still apply.

Links

Discussion