Get the locales supported by text analytics

get/analytics/locales
Internal-Use Only

Returns the name and BCP-47 language tag for each locale supported by text analytics.

Request Samples

1

Response Samples

1{
2 "links": [
3 {
4 "method": "GET",
5 "rel": "getLocales",
6 "href": "/svi-sand/analytics/locales",
7 "uri": "/svi-sand/analytics/locales",
8 "type": "application/vnd.sas.collection",
9 "itemType": "application/vnd.sas.sand.analytics.locale"
10 },
11 {
12 "method": "POST",
13 "rel": "startTextAnalytics",
14 "href": "/svi-sand/analytics",
15 "uri": "/svi-sand/analytics",
16 "type": "application/vnd.sas.sand.analytics.request",
17 "responseType": "application/vnd.sas.sand.analytics.job"
18 }
19 ],
20 "name": "locales",
21 "accept": "application/vnd.sas.sand.analytics.locale",
22 "count": 2,
23 "items": [
24 {
25 "name": "English",
26 "nativeName": "English",
27 "tag": "en"
28 },
29 {
30 "name": "Spanish",
31 "nativeName": "Español",
32 "tag": "es"
33 }
34 ],
35 "version": 2
36}

Responses

StatusMeaningDescription
200OKThe request succeeded.Schema