Get autocomplete history
    • PDF

    Get autocomplete history

    • PDF

    Article summary

    We are preparing a localization service for the content. We will do our best to provide the localization service as soon as possible.

    Gets change history of autocomplete in a domain.
    Response data is displayed only when autocomplete change history exists.

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

    Request

    Request Parameters

    ParameterRequiredTypeLimitationsDescription
    nameYstringDomain nameName of the domain to get autocomplete change history for
    limitYnumberMin: 1 MAX: 30Pagination limit
    offsetYnumberPagination offset
    orderYstringDESC, ASCSorting order of results

    Response

    Response Body

    FieldRequiredTypeDescriptionNote
    [].asIsAutocompleteNAutocompleteSearchSchemaPrevious autocomplete status
    [].toBeAutocompleteNAutocompleteSearchSchemaCurrent (changed) autocomplete status
    [].documentCountNnumberNumber of documents for which autocomplete indexing is complete
    [].createdDateNstringAutocomplete status change time

    Response status

    HTTP statusDescription
    200OK (Successfully completed)
    400Bad Request
    401Unauthorized
    403Forbidden
    404Not Found
    500Internal Server Error

    Examples

    Request Example

    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
    

    Request Example

    [
      {
        "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"
      }
    ]
    

    Was this article helpful?

    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.