API v2: UAG - Change Language πŸ†•ΒΆ


Data StructuresΒΆ

ChangeLanguageModelΒΆ

Attribute

Type

Required

Description

lang

string

yes

Language code. Possible values: en, pl, ru, ua, kk.

Retrieve Available Attributes of the ChangeLanguageModelΒΆ

Request

Method

GET

Path

/api/v2/objspec/change_language

GET /api/v2/objspec/change_language

Example Request

curl -s -k -X GET \
  -H 'Authorization: sgfeea6jsaz4mum9su8w6' \
  'https://10.0.214.98/api/v2/objspec/change_language'

Change LanguageΒΆ

Request

Method

POST

Path

/api/v2/change_language

Headers

Content-Type: application/json

Body

ChangeLanguageModel

POST /api/v2/change_language

Example Request

curl -s -k -X POST \
  -H 'Authorization: sgfeea6jsaz4mum9su8w6' \
  -H 'Content-Type: application/json' \
  https://10.0.0.1/api/v2/change_language \
  -d '{"lang": "pl"}'

Response

{
    "result": "success"
}