ドメインを作成します。
操作説明
ドメインの説明です。
今すぐお試しください
テスト
RAM 認証
リクエスト構文
POST /v2/domain/create HTTP/1.1
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| body |
object |
任意 |
リクエストボディのパラメーターです。 |
|
| parent_domain_id |
string |
任意 |
親ドメインの ID です。子ドメインを作成する場合は、parent_domain_id を指定してください。ほとんどの場合、子ドメインを作成する必要はありません。Drive サービスおよび Photo サービスに基づく二次操作を実行する場合は、カスタマーサポートまでお問い合わせください。 |
bj1 |
| domain_name |
string |
必須 |
ドメインの名前です。 |
cloud drive |
| description |
string |
任意 |
ドメインの説明です。 |
cloud drive dev |
| init_drive_enable |
boolean |
任意 |
デフォルトのドライブ機能を有効化するかどうかを指定します。値が true の場合、すべてのユーザーが初回ログイン時にデフォルトでドライブを割り当てられます。デフォルト値は false です。 |
true |
| init_drive_size |
integer |
任意 |
init_drive_enable を true に設定した場合に必須のパラメーターです。デフォルトドライブのサイズ(単位:バイト)を指定します。デフォルト値は 0 であり、作成されるドライブのサイズが 0 バイトであることを意味し、ファイルのアップロードはできません。ドライブを初期化する必要がある場合は、この値を設定してください。値が -1 の場合、サイズは無制限となります。 |
1073741824 |
| user_count_quota |
integer |
任意 |
ドメイン内で作成可能なユーザー数の上限です。値が 0 の場合、上限は無制限となります。 |
50 |
| size_quota |
integer |
任意 |
ドメイン内のすべてのドライブの合計ストレージクォータです。値が 0 の場合、クォータは無制限となります。 |
1099511627776 |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
Domain |
ドメインの名前です。 |
例
成功レスポンス
JSONJSON
{
"parent_domain_id": "",
"domain_id": "",
"domain_name": "",
"description": "",
"init_drive_enable": true,
"init_drive_size": 0,
"updated_at": "",
"created_at": "",
"size_quota": 0,
"size_quota_used": 0,
"user_count_quota": 0,
"status": 0,
"used_size": 0,
"published_app_access_strategy": {
"effect": "",
"except_app_id_list": [
""
]
},
"watermark_config": {
"enable_doc_preview": true,
"display_access_user_name": true,
"display_shareLink_creator_name": true,
"display_custom_text": ""
},
"auth_config": {
"key": {
"enable": true,
"app_id": "",
"app_secret": "",
"endpoint": "",
"enterprise_id": "",
"white_list_enable": true,
"ldap_config": {
"version": "",
"host": "",
"port": 0,
"uid": "",
"admin_dn": "",
"global_uid": "",
"admin_password": "",
"base_dn": "",
"display_name_key": "",
"type": "",
"sync_config": {
"enabled": true,
"group_object_class": "",
"group_filter": "",
"user_object_class": "",
"user_filter": "",
"cron": ""
}
},
"ding_sync_config": {
"enabled": true,
"cron": "",
"sync_mobile_enabled": true,
"sync_email_enabled": true
},
"we_chat_sync_config": {
"enabled": true,
"tag_id": "",
"cron": ""
},
"lark_sync_config": {
"enabled": true,
"cron": "",
"sync_mobile_enabled": true,
"sync_email_enabled": true
}
}
},
"sharable": true,
"ali_owner_id": "",
"archive_files_config": {
"enabled": true,
"version": ""
},
"uncompress_config": {
"enabled": true,
"version": ""
},
"multi_revision_config": {
"revision_merge_enabled": true,
"revision_count": 0,
"revision_recycle_period": 0
},
"app_config": {
"same_name_file_upload_mode": "",
"web_client_download_mode": "",
"single_file_upload_size_limit": 0,
"allow_upload_file_category_list": [
""
],
"allow_upload_custom_file_ext_list": [
""
]
},
"recycle_bin_config": {
"auto_delete_enabled": true,
"auto_delete_keep_second": 0,
"delete_trash_normal_file_disabled": true
},
"office_preview_config": {
"enabled": true
},
"office_edit_config": {
"enabled": true
},
"share_link_detail": {
"enable_office_editable": true
},
"endpoints": {
"api_endpoint": "",
"api_vpc_endpoint": "",
"app_endpoint": "",
"auth_endpoint": "",
"mgmt_endpoint": "",
"web_office_endpoint_list": "",
"store_list": [
{
"store_id": "",
"type": "",
"bucket": "",
"base_path": "",
"role_arn": "",
"ownership": "",
"location": "",
"public_endpoint": "",
"vpc_endpoint": "",
"acc_endpoint": "",
"acc_oversea_endpoint": "",
"cdn_endpoint": "",
"endpoint": ""
}
],
"va_store_list": [
{
"store_id": "",
"type": "",
"bucket": "",
"base_path": "",
"role_arn": "",
"ownership": "",
"location": "",
"public_endpoint": "",
"vpc_endpoint": "",
"acc_endpoint": "",
"acc_oversea_endpoint": "",
"cdn_endpoint": "",
"endpoint": ""
}
]
},
"data_hash_name": "",
"store_redundancy_type": "LRS"
}
エラーコード
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。