All Products
Search
Document Center

Drive and Photo Service:Domain

Last Updated:Mar 15, 2024
ParameterTypeDescriptionExample
object

The information about the domain.

parent_domain_idstring

The ID of the parent domain. If the ID of the parent domain exists, the current domain is a child domain. Otherwise, the current domain is a common domain.

bj1
domain_idstring

The ID of the domain.

bj2
domain_namestring

The name of the domain.

pdsdomain
descriptionstring

The description of the domain.

my domain
init_drive_enableboolean

Specifies whether to enable the default drive feature. Vaid values: true and false. true: All users are assigned with a drive for the first logon. false: Users are not assigned with a drive for the first logon. This is the default value.

true
init_drive_sizelong

The size of the default drive. If you set init_drive_enable to true, you must specify init_drive_size. Unit: byte. Default value: 0. A value of 0 indicates that the size of the default drive is 0 byte and you cannot upload files to the drive. To initialize the default drive, set init_drive_size to 0. A value of -1 indicates that the size is unlimited.

1073741824
updated_atstring

The time when the drive was last modified. The time follows the ISO 8601 standards in the yyyy-MM-ddTHH:mm:ssZ format.

2019-08-20T06:51:27.292Z
created_atstring

The time when the drive was created. The time follows the ISO 8601 standards in the yyyy-MM-ddTHH:mm:ssZ format.

2019-08-20T06:51:27.292Z
size_quotalong

The total storage quota for all drives in the domain. A value of 0 indicates that the quota is unlimited.

1099511627776
size_quota_usedlong

The used storage quota for all drives in the domain.

1099511627776
user_count_quotalong

The number of users.

50
statuslong

The status of the domain. Valid values: 1: The domain runs normally. 2: The domain is being created. 6: The domain expires.

1
used_sizelong

The usage of the logic space. Unit: byte.

1099511627776
published_app_access_strategyAppAccessStrategy

The access policy of the application.

sharableboolean

Specifies whether to share files in the drive.

data_hash_namestring

domain hash type