Skip to content

Get a list of timezone and language

Request

Return the time zones and languages available for browser profiles.

  • Effect: none. Read-only. Safe to retry with bounded backoff.
  • Note: the response is currently independent of the request body — the service does not forward the requested operating system or language downstream, so the same list is returned regardless of input.
Bodyapplication/jsonrequired
osintegerrequired

Operating system type. 1 = Windows, 2 = macOS, 3 = Android, 4 = iOS

Enum:1234
Example:1
curl -i -X POST \
  http://127.0.0.1:40000/api/env/base/list \
  -H 'Content-Type: application/json' \
  -d '{
    "os": 1
  }'

Responses

Success. data is an object with the fields time_zone_list and language_list.

Headers
any
Bodyapplication/json
codeinteger
msgstring or null
dataobject
requestIdstring
Response
{ "code": 0, "msg": null, "data": { "time_zone_list": [ … ], "language_list": [ … ] }, "requestId": "0d8b6f1c-9f4e-4d02-9d1a-7c3f5a1b2c3d" }