Skip to main content

getSupportedCultures

StringArrayWrapper getSupportedCultures()

GET /api/2.0/settings/cultures

Get supported languages

Returns the two- or four-letter language codes of every culture currently enabled on the portal (for example en-US), used to populate a language picker before or after login. No permission is required; anonymous callers can read it too. This is a read-only, idempotent call, and the list is not paginated. The response supports conditional requests: an unchanged result is signaled instead of resending the same list. The set of enabled cultures is a portal-wide configuration value, not a per-user preference.

Parameters​

This endpoint does not need any parameter.

Responses​

Status codeDescriptionTypeResponse headers
200Language codes of every culture currently enabled on the portalStringArrayWrapperX-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset
304The list of enabled cultures has not changed since the ETag sent back in If-None-Match; the body is empty--
429Too Many Requests.ErrorApiResponseRetry-After
500Internal Server Error.ErrorApiResponse-
502Bad Gateway. Returned by the reverse proxy, response body may be HTML and not JSON.--
503Service Unavailable. Returned by the reverse proxy, response body may be HTML and not JSON.--

Return type​

StringArrayWrapper

Authorization​

Basic, OAuth2 (scopes: read, write), ApiKeyBearer, asc_auth_key, Bearer, OpenId

HTTP request headers​

  • Content-Type: Not defined
  • Accept: application/json