huawei-cloud-api-definitions-CSS 0.1.20240122

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":"/","components":null,"consumes":"[\"application/json\"]","definitions":{"ShowCustomThesaurusStatusResp":{"properties":{"bucket":{"description":"存放词库文件的OBS桶。","type":"string"},"clusterId":{"description":"指定配置自定义词库的集群ID。","type":"string"},"id":{"description":"词库的ID。","type":"string"},"mainObj":{"description":"主词库文件对象。","type":"string"},"operateStatus":{"description":"操作状态。","type":"string"},"status":{"description":"加载状态。\n\n- Loaded表示加载成功。\n- Loading表示正在加载中。\n- Failed表示加载失败。","type":"string"},"stopObj":{"description":"停词词库文件对象。","type":"string"},"synonymObj":{"description":"同义词词库文件对象。","type":"string"},"updateDetails":{"description":"更新详情。","type":"string"},"updateTime":{"description":"词库最近更新时间。","type":"string"}}}},"description":null,"group_id":"c917c7a19aa04328b7e47a1def0e0acd","host":"css.cn-north-4.myhuaweicloud.com","id":"9c0a74d8702c4ed8a490f7e56b568df6","info_version":"v1","method":"get","name":"ShowIkThesaurus","parameters":{},"paths":{"/v1.0/{project_id}/clusters/{cluster_id}/thesaurus":{"get":{"description":"该接口用于查询自定义词库的加载状态。","operationId":"ShowIkThesaurus","parameters":[{"description":"项目ID。获取方法请参见[获取项目ID和名称](css_03_0071.xml)。","in":"path","name":"project_id","required":true,"type":"string","x-example":"6204a5bd270343b5885144cf9c8c158d"},{"description":"指定需查询词库状态的集群ID。","in":"path","name":"cluster_id","required":true,"type":"string","x-example":"ea244205-d641-45d9-9dcb-ab2236bcd07e"}],"responses":{"200":{"description":"请求已成功。","examples":{"application/json":{"bucket":"test-bucket","clusterId":"ea244205-d641-45d9-9dcb-ab2236bcd07e","id":"e766bd5a-79b0-4d1a-8402-fdeb017a36d1","mainObj":"word/main.txt","operateStatus":"success","status":"Loaded","stopObj":"word/stop.txt","synonymObj":"word/synonym.txt","updateDetails":"allinstancesareloadedsuccessfully.","updateTime":1521184757000}},"schema":{"$ref":"#/definitions/ShowCustomThesaurusStatusResp"}},"500":{"description":"表明服务端能被请求访问到,但是不能理解用户的请求。"}},"summary":"查询自定义词库状态","tags":["词库管理接口"],"x-apiexplorer-hide":"N","x-is-registered":"Y","x-open-region-cloud":"only_cn,hc,hk","x-publishpath":"","x-request-examples-url":"GET /v1.0/6204a5bd270343b5885144cf9c8c158d/clusters/ea244205-d641-45d9-9dcb-ab2236bcd07e/thesaurus","x-support-sdk":"Y"}}},"product_short":"CSS","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"查询自定义词库状态","tags":"词库管理接口","uri":null,"version":"2.0"}