查詢熱詞詞庫。
介面說明
請求說明
透過提供詞庫 ID,可以取得該詞庫的詳細資訊,包括但不限於詞庫名稱、描述以及包含的所有熱詞及其屬性。此介面主要用於管理和檢視已建立的熱詞詞庫的具體內容。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
ice:GetHotwordLibrary |
get |
*全部資源。
|
無 | 無 |
請求文法
POST HTTP/1.1
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| HotwordLibraryId |
string |
是 |
熱詞庫 Id。 |
****96e8864746a0b6f3**** |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
****12e8864746a0a398**** |
| HotwordLibraryId |
string |
熱詞庫 Id。 |
****05512043f49f697f7425**** |
| Name |
string |
熱詞庫名稱。 |
Hotword library name |
| Description |
string |
熱詞庫描述。 |
Hotword library description |
| Hotwords |
array |
熱詞清單。 |
|
| Hotword |
熱詞資料。 |
||
| UsageScenario |
string |
熱詞庫使用場景。 |
ASR |
| CreationTime |
string |
熱詞庫建立時間。時間格式為 ISO 8601,使用 UTC 時間(以 Z 結尾)。 |
2020-12-23T13:33:49Z |
樣本
正常返回樣本
JSON格式
{
"RequestId": "****12e8864746a0a398****",
"HotwordLibraryId": "****05512043f49f697f7425****",
"Name": "Hotword library name",
"Description": "热词库描述",
"Hotwords": [
{
"TranspositionResultList": [
{
"TranslatedText": "hello",
"TargetLanguage": "zh"
}
],
"Language": "en",
"Text": "hello",
"Weight": 2
}
],
"UsageScenario": "ASR",
"CreationTime": "2020-12-23T13:33:49Z"
}
錯誤碼
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。