Fetch Language(s) Configured in a Tenant
Return the list of languages configured in a given tenant.
Endpoint
Method: GET
URL: http://localhost:5001/get_lang
curl --location 'http://localhost:5001/get_lang?tenantId={tenant-id}&environment=dev' \
--data ''Query Parameter
Parameter Name | Data Type | Description | Required/ Optional |
|---|---|---|---|
tenantId | String | Id of the tenant {tenant-id}. | Required |
environment | String | dev should be the default value for all environment. | Required |
Example Request
curl --location 'http://localhost:5001/get_lang?tenantId={tenant-id}&environment=dev' \
--data ''Example Response
{
"lang": [
"en",
"hi"
]
}