Skip to main content

Get languages

GET{{server}}/api/v1/smart/languages

This request returns the list of languages.

Request​

Authorization​

HeaderValue
AuthorizationSmartToken {{smartToken}}

Headers​

KeyValue
Acceptapplication/json

Code snippets​

curl -X GET '{{server}}/api/v1/smart/languages' \
-H 'Accept: application/json' \
-H 'Authorization: SmartToken {{smartToken}}'

Example​

Example request
GET{{server}}/api/v1/smart/languages
Headers (1)
KeyValue
Acceptapplication/json
Example response 200 Ok
Response headers (9)
KeyValue
Access-Control-Expose-Headers*
Cache-Controlno-store, no-cache, must-revalidate
Access-Control-Allow-Origin*
Access-Control-Allow-MethodsPOST, PUT, GET, OPTIONS, DELETE
Access-Control-Allow-Credentialstrue
Content-Length305
Access-Control-Max-Age86400
Access-Control-Allow-HeadersContent-Type, Authorization, X-Requested-With
Content-Typeapplication/json;charset=utf-8
Body
[
{
"key": "00000000-0000-4000-0004-000000000001",
"code": "en-gb",
"name": "English",
"default": true,
"texts": {},
"status": 1
},
{
"key": "00000000-0000-4000-0004-000000000017",
"code": "hu",
"name": "Magyar",
"default": false,
"texts": {
"ticket": {},
"dispenser": {},
"feedback": {},
"smart": {},
"client": {},
"player": {}
},
"status": 1
}
]