Domain 목록 조회
    • PDF

    Domain 목록 조회

    • PDF

    Article Summary

    전체 도메인 목록을 조회합니다.

    GET https://cloudsearch.apigw.gov-ntruss.com/CloudSearch/real/v1/domain
    

    요청

    요청 파라미터

    파라미터 명필수 여부타입제약사항설명
    haveContainerYesboolean컨테이너 정보 조회 여부
    haveUsageYesboolean도메인 사용량 정보 조회 여부

    응답

    필드명필수 여부타입설명비고
    [].autoCompleteChangeableYesstring자동 완성 색인 변경 가능 여부ENABLE, DISABLE
    [].autocompleteSchemaYesAutoCompleteSchema자동 완성 설정
    [].containerChangeableYesstring검색용 컨테이너 변경 가능 여부ENABLE, DISABLE
    [].containersYesList<Container>컨테이너 정보
    [].createdDateYesstring도메인 생성 시간
    [].descriptionYesstring도메인 설명
    [].domainStatusYesstring서비스 상태
    [].domainUsageYesDomanUsage도메인 사용량
    [].indexerCountYesnumber색인용 컨테이너 수
    [].nameYesstring도메인 이름
    [].schema.documentYesSchema검색 설정
    [].schemaChangeableYesstring스키마 수정 가능 여부ENABLE, DISABLE
    [].searcherCountYesnumber검색용 컨테이너 수
    [].typeYesstring컨테이너 타입small, medium, large, xlarge, xxlarge, xxxlarge
    [].updatedDateYesstring최종 업데이트 시간

    응답 Status

    HTTP StatusDesc
    200OK(조회 완료)
    400Bad Request
    401Unauthorized
    403Forbidden
    404Not Found
    500Internal Server Error

    예시

    요청 예시

    GET https://cloudsearch.apigw.gov-ntruss.com/CloudSearch/real/v1/domain
    

    응답 예시

    [
    	{
    		"name": "my_service",
    		"description": "description",
    		"domainStatus": "RUNNING",
    		"containerChangeable": "ENABLE",
    		"schemaChangeable": "ENABLE",
    		"autoCompleteChangeable": "ENABLE",
    		"type": "small",
    		"indexerCount": 1,
    		"searcherCount": 1,
    		"schema": {
    			"document": {
    				"primarySectionName": "docid",
    				"sections": [
    					{
    						"name": "docid"
    					},
    					{
    						"name": "brand"
    					},
    					{
    						"name": "name"
    					},
    					{
    						"docProperties": [
    							{
    								"type": "string",
    								"name": "dp_color"
    							}
    						],
    						"name": "color"
    					},
    					{
    						"docProperties": [
    							{
    								"type": "uint32",
    								"name": "dp_price"
    							}
    						],
    						"name": "price"
    					},
    					{
    						"docProperties": [
    							{
    								"type": "string",
    								"name": "dp_type"
    							}
    						],
    						"name": "type"
    					},
    					{
    						"docProperties": [
    							{
    								"type": "uint32",
    								"name": "dp_sell_cnt"
    							}
    						],
    						"name": "sell_cnt"
    					},
    					{
    						"name": "image_url"
    					}
    				],
    				"indexes": [
    					{
    						"documentTermWeight": "sum_wgt",
    						"buildInfos": [
    							{
    								"indexProcessors": [
    									{
    										"type": "hanaterm",
    										"method": "sgmt",
    										"option": "+korea +josacat +eomicat"
    									}
    								],
    								"sectionTermWeight": "1.0 * stw_2p(tf, 0.5, 0.25, 0., length / 128.0)",
    								"sections": ["brand", "name"],
    								"name": "index_build"
    							}
    						],
    						"name": "brand_name"
    					}
    				]
    			}
    		},
    		"autocompleteSchema": null,
    		"createdDate": "2019-02-28T10:28:33.795Z",
    		"updatedDate": "2019-02-28T10:28:39.000Z"
    	}
    ]
    

    이 문서가 도움이 되었습니까?

    What's Next
    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.