全部产品

ListInterventionDictionaryEntries

更新时间:2020-07-15 19:39:16

描述

获取干预词条清单。

方法

GET

URI

/v4/openapi/intervention-dictionaries/[name]/entries

请求参数

路径参数

字段 类型 是否必要 示例值 描述
name String “my_dict” 干预词典名称

查询参数

字段 类型 是否必要 示例值 描述
word String “测试” 词条


返回参数

字段 类型 描述
requestId String 请求ID
result[] Object 干预词条详情
参考:InterventionDictionaryEntry
totalCount Integer 总条数


示例

请求示例

  1. GET /v4/openapi/intervention-dictionaries/test/entries

返回示例

正确返回

  1. {
  2. "requestId": "516A02B7-2167-8D92-12D0-B639A2A0F3C5",
  3. "result": [
  4. {
  5. "cmd": "add",
  6. "word": "\u8fc7\u513f",
  7. "created": 1536690285,
  8. "updated": 1537348987,
  9. "status": "ACTIVE",
  10. "relevance": {
  11. "100": "0",
  12. "200": "2"
  13. }
  14. },
  15. {
  16. "cmd": "add",
  17. "word": "\u8fc7",
  18. "created": 1536690308,
  19. "updated": 1537349055,
  20. "status": "ACTIVE",
  21. "relevance": {
  22. "200": "2"
  23. }
  24. },
  25. {
  26. "cmd": "add",
  27. "word": "\u82f9",
  28. "created": 1536683292,
  29. "updated": 1537220498,
  30. "status": "ACTIVE",
  31. "relevance": {
  32. "12": "1"
  33. }
  34. },
  35. {
  36. "cmd": "add",
  37. "word": "\u5427",
  38. "created": 1536690347,
  39. "updated": 1537220498,
  40. "status": "ACTIVE",
  41. "relevance": {
  42. "100": "2",
  43. "200": "0"
  44. }
  45. },
  46. {
  47. "cmd": "add",
  48. "word": "\u679c",
  49. "created": 1536690184,
  50. "updated": 1537220498,
  51. "status": "ACTIVE",
  52. "relevance": {
  53. "100": "2"
  54. }
  55. },
  56. {
  57. "cmd": "add",
  58. "word": "\u88e4\u5b50",
  59. "created": 1537353071,
  60. "updated": 1537353074,
  61. "status": "ACTIVE",
  62. "relevance": {
  63. "100": "1",
  64. "200": "2"
  65. }
  66. },
  67. {
  68. "cmd": "add",
  69. "word": "adfads",
  70. "created": 1536690258,
  71. "updated": 1537220498,
  72. "status": "ACTIVE",
  73. "relevance": {
  74. "1": "1",
  75. "2": "1",
  76. "3": "1"
  77. }
  78. },
  79. {
  80. "cmd": "add",
  81. "word": "zvzcxv",
  82. "created": 1536690537,
  83. "updated": 1537220498,
  84. "status": "ACTIVE",
  85. "relevance": {
  86. "100": "1"
  87. }
  88. }
  89. ],
  90. "totalCount": 8
  91. }

错误返回
参考:响应结构