Localization
Returns the instance's locale configuration. An instance that has never configured localization gets defaults rather than a 404. enabled_locales is what the OIDC discovery document advertises as ui_locales_supported.
x-pontive-instance-id<token>Instance ID for the request
OK
application/json- response
created_at?stringdefault_locale?stringDefaultLocale is what locale negotiation falls back to, and the locale the widget markup itself is authored in.
enabled_locales?array<string>EnabledLocales excludes the default, which is implicitly enabled.
This is what the OIDC discovery document's ui_locales_supported
advertises — a public conformance claim, so it describes what the project
can actually render rather than a fixed list.
object?stringupdated_at?stringupdated_by?stringcurl -X GET 'https://api.us.pontive.com/v1/branding/localization'{ "created_at": "string", "default_locale": "string", "enabled_locales": [ "string" ], "object": "string", "updated_at": "string", "updated_by": "string"}Partial update of the instance's locale configuration. Omitted fields are unchanged. The default locale is implicitly enabled and is never stored in enabled_locales.
x-pontive-instance-id<token>Instance ID for the request
If-Match?stringThe ETag the document was read with: a stale one is refused 412 precondition_failed (D42)
Update Localization Settings Request
application/json- body
Update Localization Settings Request
default_locale?stringenabled_locales?array<string>A pointer so that an explicit empty array ("disable every extra locale") is distinguishable from omitting the field.
OK
application/json- response
created_at?stringdefault_locale?stringDefaultLocale is what locale negotiation falls back to, and the locale the widget markup itself is authored in.
enabled_locales?array<string>EnabledLocales excludes the default, which is implicitly enabled.
This is what the OIDC discovery document's ui_locales_supported
advertises — a public conformance claim, so it describes what the project
can actually render rather than a fixed list.
object?stringupdated_at?stringupdated_by?stringcurl -X PATCH 'https://api.us.pontive.com/v1/branding/localization' \ -H 'Content-Type: application/json' \ -d '{}'{ "created_at": "string", "default_locale": "string", "enabled_locales": [ "string" ], "object": "string", "updated_at": "string", "updated_by": "string"}