获取干预词典详情。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求头
该接口使用公共请求头,无特殊请求头。请参见公共请求参数文档。
请求语法
GET /v4/openapi/intervention-dictionaries/[name] HTTP/1.1
请求参数
名称 | 类型 | 位置 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|---|
name | String | Path | 是 | my_dict |
干预词典名称 |
返回数据
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
requestId | String | D7CCF454-472A-030E-F254-604520B028AA |
请求ID |
result | Struct |
干预词典详情 |
|
analyzer | String | - |
自定义分词 |
created | String | 1536233287 |
创建时间 |
name | String | test |
名称 |
type | String | category_prediction |
类型
|
updated | String | 1536233287 |
更新时间 |
示例
请求示例
GET /v4/openapi/intervention-dictionaries/test
正常返回示例
XML
格式
<requestId>D7CCF454-472A-030E-F254-604520B028AA</requestId>
<result>
<name>test</name>
<type>category_prediction</type>
<analyzer/>
<created>1536233287</created>
<updated>1536233287</updated>
</result>
JSON
格式
{
"requestId": "D7CCF454-472A-030E-F254-604520B028AA",
"result": {
"name": "test",
"type": "category_prediction",
"analyzer": "",
"created": 1536233287,
"updated": 1536233287
}
}
错误码
访问错误中心查看更多错误码。
在文档使用中是否遇到以下问题
更多建议
匿名提交