Querying the Word Dictionary Status
Function
This API is used to query the loading status of a custom word dictionary.
URI
- URI format
GET /v1.0/{project_id}/clusters/{cluster_id}/poisson_words - Parameter description
Parameter
Mandatory
Type
Description
project_id
Yes
String
Project ID. For details, see Obtaining the Project ID and Account ID.
cluster_id
Yes
String
ID of the cluster where the word dictionary status is queried.
Request
None
Response
| Parameter | Type | Description |
|---|---|---|
| id | String | ID of the word dictionary. |
| clusterId | String | Cluster ID. |
| wordType | String | Type of the word dictionary. Currently, the following three types are supported:
|
| uploadTime | String | Time when the word dictionary is uploaded. |
| name | String | Name of the word dictionary. |
| uploadStatus | String | Uploading status of the word dictionary. Failed indicates that a custom word dictionary fails to be uploaded. Loading indicates that a custom word dictionary is being loaded. Succeed indicates that a custom word dictionary is successfully uploaded. |
Examples
Example request
GET /v1.0/6204a5bd270343b5885144cf9c8c158d/clusters/ea244205-d641-45d9-9dcb-ab2236bcd07e/poisson_words
Example response
"results": [
{
"id": "a8abc4c6-3761-4909-9f85-cf2b0c815b75",
"clusterId": "c3fed09a-58fb-4a60-be63-ba470f7e7b1b",
"wordType": "MainWord",
"uploadTime": "1554870705000",
"name": "main.txt",
"uploadStatus": "Loading"
}
] Status Code
Table 2 describes the status code.
Last Article: Creating a Word Dictionary
Next Article: Deleting a Word Dictionary
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.