Infomaniak Core Ressource icon

Infomaniak Core Ressource

Interact with Infomaniak Core Ressource API

Actions73

Timezones → List Timezones

AI-generated

Summary

Lists timezones from the Infomaniak Core Ressource API.

Inputs

  • authentication (required) — Authentication method to use for the request. Choose OAuth2 or API Key.
  • queryParameters — Additional query parameters to filter, sort, and paginate the result set.
  • returnAll — When true, retrieves all matching timezones by automatically handling pagination. When false, uses the 'limit' parameter to control page size.
  • limit — Maximum number of items to return per page when 'returnAll' is false. Ignored when 'returnAll' is true.
  • returnFullResponse — When true, returns the raw HTTP response including headers and status code; otherwise returns only the data payload.

Output shape

conditional

If queryParameters.query_return is set to 'total', the operation returns a single number representing the total count of matching timezones. Otherwise, it returns an array of timezone objects. When returnAll is true, the array contains all matching items; when false, it contains a single page limited by the 'limit' value (default 50). If returnFullResponse is true, the output includes the full response object instead of just the data.

Examples

Example 1: Get first 20 timezones sorted by name ascending.

Set authentication, leave queryParameters empty, set returnAll false, limit 20, queryParameters.query_order_by = 'name', queryParameters.query_order = 'asc'.

Example 2: Retrieve the total number of timezones containing 'Europe'.

Set authentication, queryParameters.query_search = 'Europe', queryParameters.query_return = 'total', returnAll false.

Links

Discussion