i18n

Get currently set language. Result is ISO 639-1 two-letter code. Empty result means default language.

Changed on

Deprecated: Use GET /control/profile instead.

get/i18n/current_language

Request

  • Base URL
    /control (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP basic

Response

OK.

languagestring required

The current language or the language to set.

Example response

{
  "language": "language"
}

Changes

    • breaking

      removed the media type text/plain for the response with the status

    • info

      endpoint deprecated

    • info

      added the media type application/json for the response with the status

    • breaking

      removed the media type application/json for the response with the status

    • info

      endpoint reactivated

    • info

      added the media type text/plain for the response with the status