API: Language
GET /api/v3/language
Request parameter:
No Request parameter
No filtration available
Response data:
Metadata:Â object.
Parameter | Type | Description |
---|---|---|
count | int | Number of all results marching criteria |
status | int | Response status (same as in http code) |
Data:Â object.data[array]
Parameter | Type | Description |
---|---|---|
id | integer | Contact id |
locale | string(2) | Language locale: eg: de |
system_language | 1|0 | I is this a system language 1-yes,0-no |
name | string | Name in DE language |
name_e | string | Name in EN language |
name_f | string | Name in FR language |
name_i | string | Name in IT language |
Response (Error):
Parameter | Type | Description |
---|---|---|
code | integer | An error code |
error | string | A message containing some information about the error |
errors | array | List of errors devided by field in associative array {field_name:error message} |
/wiki/spaces/BROK/pages/693181 #Authentication defaultsÂ
Request
curl -X GET https://public.brokerstar.biz/api/v3/my-contact --header 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJpYXQiOjE2NTg[...]cm5hbWUiOiJkZW1vLWRlIn0.VTVp[...]cqIg'
Response (Success)
200 OK  { "count": "4", "data": [ { "name_e": "German", "name_f": "allemand", "name_i": "tedesco", "system_language": 1, "id": 1, "name": "Deutsch", "locale": "de" }, { "name_e": "French", "name_f": "français", "name_i": "francese", "system_language": 1, "id": 2, "name": "Französisch", "locale": "fr" }, { "name_e": "Italian", "name_f": "italien", "name_i": "italiano", "system_language": 1, "id": 3, "name": "Italienisch", "locale": "it" }, { "name_e": "English", "name_f": "anglais", "name_i": "inglese", "system_language": 1, "id": 4, "name": "Englisch", "locale": "en" } ], "status": 200 }
Or one ofÂ
- /wiki/spaces/BROK/pages/693181 #Authentication defaultsÂ
- /wiki/spaces/BROK/pages/693181 #List defaults