Return current locale settings

This function retrieves information about the user's current locale setting.

SecurityBasicAuth
Responses
200

HTTP Request was successful.

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
get/Locale/get_attributes
Request samples
uapi --output=jsonpretty \
  --user=username \
  Locale \
  get_attributes
Response samples
application/json
{
  • "apiversion": 3,
  • "func": "get_attributes",
  • "module": "Locale",
  • "result": {
    • "data": {
      • "direction": "ltr",
      • "encoding": "utf-8",
      • "locale": "en",
      • "name": "English"
      },
    • "errors": null,
    • "messages": null,
    • "metadata": { },
    • "status": 1,
    • "warnings": null
    }
}