全体Domainリストを照会します。
GET https://cloudsearch.apigw.ntruss.com/CloudSearch/real/v1/domain
リクエスト
リクエストパラメータ
パラメータ名 |
必須 |
タイプ |
制約事項 |
説明 |
haveContainer |
Yes |
boolean |
|
コンテナ情報照会区分 |
haveUsgae |
Yes |
boolean |
|
Domain使用量情報照会区分 |
レスポンス
フィールド名 |
必須 |
タイプ |
説明 |
備考 |
[].autoCompleteChangeable |
Yes |
string |
自動完成インデックス変更可能区分 |
ENABLE, DISABLE |
[].autocompleteSchema |
Yes |
AutoCompleteSchema |
自動完成設定 |
|
[].containerChangeable |
Yes |
string |
検索用コンテナ変更可能区分 |
ENABLE, DISABLE |
[].containers |
Yes |
List<Container> |
コンテナ情報 |
|
[].createdDate |
Yes |
string |
Domain作成時間 |
|
[].description |
Yes |
string |
Domain説明 |
|
[].domainStatus |
Yes |
string |
サービスステータス |
|
[].domainUsage |
Yes |
DomanUsage |
Domain使用量 |
|
[].indexerCount |
Yes |
number |
インデックス用コンテナ数 |
|
[].name |
Yes |
string |
Domain名 |
|
[].schema.document |
Yes |
Schema |
|
検索設定 |
[].schemaChangeable |
Yes |
string |
スキーマ修正可能区分 |
ENABLE, DISABLE |
[].searcherCount |
Yes |
number |
検索用コンテナ数 |
|
[].type |
Yes |
string |
コンテナタイプ |
small, medium, large, xlarge, xxlarge, xxxlarge |
[].updatedDate |
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
Host: cloudsearch.apigw.ntruss.com
haveContainer: false
haveUsage: false
accept: application/json
x-ncp-iam-access-key: cPMl0CYGgRYvEa8sylCj
x-ncp-apigw-signature-v2: nn6HxvbYlXzuDBLYG8qNdz4Z7Y6qs+l5EX8BmGwI/EI=
x-ncp-apigw-timestamp: 1551436817715
レスポンス例示
[
{
"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"
}
]