The initial status of a semantic type is "sandbox". This status
means that the semantic type has not been save as a draft or published.
In this example, Talend API Tester is used to send requests.
For further information about Talend API Tester, see Talend Cloud API Tester User Guide.
Procedure
-
If you do not have a personal access token yet, generate one. For further
information, see Generating a Personal Access Token.
-
Open Talend API Tester in your browser.
-
From the Repository tab, select Post
in the Method drop-down list.
-
Enter the following URL:
https://tds.{region}.cloud.talend.com/semanticservice/categories/sandbox
-
Click the Add header
button and enter Authorization in the name field and
Bearer
followed by a whitespace and your token in the value field.
-
Click the Add header
button and enter Cookie in the
name field, then leave the
value field empty.
-
Click Send.
Results
The API returns a
201
HTTP code to inform you that the
request was successful. The response includes the identifier of the created semantic
type in sandbox status, for
example:
{
"id": "5f80848e51b6b16703a4318d"
}