Return available locales

This function lists an account's available interface languages.

Authorizations:

Responses

Response Schema: application/json
apiversion
integer

The version of the API.

func
string

The name of the method called.

module
string

The name of the module called.

object

Request samples

uapi --output=jsonpretty \
  --user=username \
  Locale \
  list_locales

Response samples

Content type
application/json
{
  • "apiversion": 3,
  • "func": "list_locales",
  • "module": "Locale",
  • "result": {
    • "data": [
      • {
        • "direction": "ltr",
        • "local_name": "Deutsch",
        • "locale": "de",
        • "name": "German"
        }
      ],
    • "errors": null,
    • "messages": null,
    • "metadata": {
      • "transformed": 1
      },
    • "status": 1,
    • "warnings": null
    }
}