自動完成設定照会

Prev Next

Domainに設定された自動完成設定を照会します。

GET https://cloudsearch.apigw.ntruss.com/CloudSearch/real/v1/domain/{name}/autocomplete

リクエスト

リクエストパラメータ

パラメータ名 必須 タイプ 制約事項 説明
name Yes string 作成されているDomain名

レスポンス

レスポンスボディ

パラメータ名 必須 タイプ 制約事項 説明
indexName Yes string 自動完成検索で設定されたインデックス名
sectionName Yes string 自動完成検索で設定されたセクション名

レスポンスStatus

HTTP Status Desc
200 OK(照会完了)
400 Bad Request
401 Unauthorized
403 Forbidden
404 Not Found
500 Internal Server Error

例示

リクエスト例示

GET /CloudSearch/real/v1/domain/car_beta/autocomplete HTTP/1.1
Host: cloudsearch.apigw.ntruss.com
accept:application/json

x-ncp-apigw-signature-v2: cDwtHuQeGmwWyNmwlN6XIGA66zge4iMXvfoDQNna05g=
x-ncp-apigw-timestamp: 1545817618751
x-ncp-iam-access-key: teGTwtcSEGA7fu28BGGi

レスポンス例示

{
  "indexName": "brand_name",
  "sectionName": ""
}