语音交互服务 SIS-更新热词表:请求示例

时间:2023-12-15 14:25:07

请求示例

“endpoint”即调用API的请求地址,不同服务不同区域的“endpoint”不同,具体请参见终端节点

  • 更新热词表
    PUT https://{endpoint}/v1/{project_id}/asr/vocabularies/{vocabulary_id}
    
    Request Header:
    Content-Type: application/json
    X-Auth-Token: MIINRwYJKoZIhvcNAQcCoIINODCCDTQCAQExDTALBglghkgBZQMEAgEwgguVBgkqhkiG...   
    
    Request Body:
    { 
      "name": "telepower",
      "description": "telepower 具体描述",
      "language": "chinese_mandarin", 
      "contents": ["示例"]
    } 
    
support.huaweicloud.com/api-sis/sis_03_0072.html