Retrieve the list of all semantic types.
Procedure
Results
200
HTTP code to inform you that the request was
successful. The response includes a list of all semantic types in JSON with their
attributes. For many API calls, you need to include the unique
identifier ("id"
) assigned to the semantic type in
the path. For example, see Editing the semantic type in sandbox status using the API.
For example, the following response returns a list of the two available semantic types with their attributes:
[
{
"id": "5836fbb042b02a698752e679",
"name": "CONTINENT",
"label": "Continent",
"description": "Continent name (multilingual)",
"type": "DICT",
"privacyLevel": "NORMAL",
"creator": "Talend",
"creatorName": "Talend",
"createdAt": 1481207929751,
"completeness": true,
"publishedAt": 1481207929751,
"lastPublisher": "Talend",
"lastPublisherName": "Talend",
"validationMode": "EXACT_IGNORE_CASE_AND_ACCENT",
"state": "PUBLISH"
},
{
"id": "583edc44ec06957a34fa642c",
"name": "WEB_DOMAIN",
"label": "Web Domain",
"description": "Website domain",
"type": "REGEX",
"privacyLevel": "NORMAL",
"creator": "Talend",
"creatorName": "Talend",
"createdAt": 1481207929751,
"regEx": {
"mainCategory": "AlphaNumeric",
"validator": {
"patternString": "^([a-zA-Z0-9]([a-zA-Z0-9\\-]{0,61}[a-zA-Z0-9])?\\.)+[a-zA-Z]{2,24}$",
"caseInsensitive": true,
"re2jCompliant": true,
"generexCompliant": true
}
},
"completeness": true,
"publishedAt": 1481207929751,
"lastPublisher": "Talend",
"lastPublisherName": "Talend",
"state": "PUBLISH"
}
]
For a description of the response, browse Talend Dictionary Service REST API documentation.