MENU
      自動完成設定履歴照会

        自動完成設定履歴照会


        記事の要約

        Domainに設定された自動完成の変更履歴を照会します。
        自動完成設定履歴がある場合のみ、データが出力されます。

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

        リクエスト

        リクエストパラメータ

        パラメータ名必須タイプ制約事項説明
        nameYesstring作成されているDomain名自動完成設定履歴を照会しようとするDomain名
        limitYesnumberMin:1 MAX:30Pagination Limit
        offsetYesnumberPagination Offset
        orderYesstringDESC, ASC結果のソート基準

        レスポンス

        レスポンスボディ

        フィールド名必須タイプ説明備考
        [].asIsAutocompleteNoAutocompleteSearchSchema変更前の自動完成設定
        [].toBeAutocompleteNoAutocompleteSearchSchema変更された自動完成設定
        [].documentCountNonumber自動完成インデックスが完了されたDocument数
        [].createdDateNostring自動完成設定変更時間

        レスポンスStatus

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

        例示

        リクエスト例示

        GET /CloudSearch/real/v1/domain/eeee/autocomplete/history?limit=10&offset=0&order=DESC 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
        HTTP

        レスポンス例示

        [
          {
            "asIsAutocomplete": {
              "sectionName": "",
              "indexName": "brand_name"
            },
            "toBeAutocomplete": {
              "sectionName": "name",
              "indexName": "brand_name"
            },
            "documentCount": 3,
            "createdDate": "2019-03-05T08:39:20.738Z"
          },
          {
            "asIsAutocomplete": {
              "sectionName": "",
              "indexName": "brand_name"
            },
            "toBeAutocomplete": {
              "sectionName": "",
              "indexName": "brand_name"
            },
            "documentCount": 3,
            "createdDate": "2019-03-05T08:38:38.379Z"
          },
          {
            "asIsAutocomplete": null,
            "toBeAutocomplete": {
              "sectionName": "",
              "indexName": "brand_name"
            },
            "documentCount": 3,
            "createdDate": "2019-03-05T08:37:08.046Z"
          }
        ]
        JSON

        この記事は役に立ちましたか?

        Changing your password will log you out immediately. Use the new password to log back in.
        First name must have atleast 2 characters. Numbers and special characters are not allowed.
        Last name must have atleast 1 characters. Numbers and special characters are not allowed.
        Enter a valid email
        Enter a valid password
        Your profile has been successfully updated.