도메인에 설정된 자동 완성의 변경 이력을 조회합니다.
자동 완성 설정 이력이 있을 때에만 데이터가 출력됩니다.
GET https://cloudsearch.apigw.gov-ntruss.com/CloudSearch/real/v1/domain/{name}/autocomplete/history
요청
요청 파라미터
파라미터 명 |
필수 여부 |
타입 |
제약사항 |
설명 |
name |
Yes |
string |
생성되어져 있는 Domain 이름 |
자동 완성 설정 이력을 조회하고자 하는 Domain 이름 |
limit |
Yes |
number |
Min:1 MAX:30 |
Pagination Limit |
offset |
Yes |
number |
|
Pagination Offset |
order |
Yes |
string |
DESC, ASC |
결과 정렬 기준 |
응답
응답 바디
응답 Status
HTTP Status |
Desc |
200 |
OK(조회 완료) |
400 |
Bad Request |
401 |
Unauthorized |
403 |
Forbidden |
404 |
Not Found |
500 |
Internal Server Error |
예시
요청 예시
GET https://cloudsearch.apigw.gov-ntruss.com/CloudSearch/real/v1/domain/eeee/autocomplete/history?limit=10&offset=0&order=DESC
응답 예시
[
{
"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"
}
]