API v2: UAG - Change Language πΒΆ
Data StructuresΒΆ
Attribute |
Type |
Required |
Description |
|---|---|---|---|
|
string |
yes |
Language code. Possible values: |
Retrieve Available Attributes of the ChangeLanguageModelΒΆ
Request
Method |
|
Path |
|
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 |
|
Path |
|
Headers |
|
Body |
|
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"
}